Re: [linux-usb-devel] Patches still in the queue

2007-05-13 Thread Oliver Neukum
Am Samstag, 12. Mai 2007 21:26 schrieb Alan Stern: It could be controlled by both a Kconfig option and a writable module parameter.  I'm not sure that would satisfy everybody.  But maybe there _is_ no way to satisfy everyone... I agree. Hibernation with a mounted fs on usb sucks, no matter

[linux-usb-devel] Question about EHCI PCI/platform drivers

2007-05-13 Thread Tzachi Perelstein
Hello, I'm working on EHCI HC glue port for Marvell Orion SoC. The Orion has a PCI/PCIE interfaces as well as an integrated USB controller. While looking at ehci-hcd.c it looks like there's some kind of dependency between PCI_DRIVER and PLATFORM_DRIVER. I saw some previous threads about the

Re: [linux-usb-devel] [PATCH 14/16] USB: Add usbfs ioctl to get the frame number

2007-05-13 Thread Alan Stern
On Sat, 12 May 2007, Pete Zaitcev wrote: On Sat, 12 May 2007 15:40:45 -0400 (EDT), Alan Stern [EMAIL PROTECTED] wrote: timestamp, which would not depend on HC implementing SOF number as a monotonously increasing counter (I think, it's not guaranteed). The frame numbers are

Re: [linux-usb-devel] Patches still in the queue

2007-05-13 Thread Alan Stern
On Sun, 13 May 2007, Oliver Neukum wrote: Am Samstag, 12. Mai 2007 21:26 schrieb Alan Stern: It could be controlled by both a Kconfig option and a writable module parameter.  I'm not sure that would satisfy everybody.  But maybe there _is_ no way to satisfy everyone... I agree.

[linux-usb-devel] Error -28 from usb_submit_urb function.

2007-05-13 Thread Marek Brudka
Hi, I have a problem with my sn9c102 webcam. After some debugging with Luca Ricolia (see below), Luca recognized that the problem comes from usb_submit_urb function, and probably was introduced recently in 2.6.20 kernel, maybe in ubuntu only. Can anyone help us with this ? Best regards Marek

[linux-usb-devel] [PATCH] Make appletouch shut up when it has nothing to say

2007-05-13 Thread Matthew Garrett
The appletouch devices found in the Intel Macs (and possibly some later PPC ones?) send a constant stream of packets after the first touch. This results in the kernel waking up around once every couple of milliseconds to process them, making it almost impossible to spend any significant period

Re: [linux-usb-devel] [PATCH] Make appletouch shut up when it has nothing to say

2007-05-13 Thread Pete Zaitcev
On Sun, 13 May 2007 18:20:53 +0100, Matthew Garrett [EMAIL PROTECTED] wrote: +static void atp_reinit(struct work_struct *work) +{ + char data[8]; + size = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), +ATP_GEYSER3_MODE_READ_REQUEST_ID, +

Re: [linux-usb-devel] [PATCH] Make appletouch shut up when it has nothing to say

2007-05-13 Thread Matthew Garrett
Ok, I've tidied this up a little. I've separated the actual mode init code into a separate function in order to avoid code duplication, and no longer creating a new workqueue. The only other change is something that I /think/ is actually a bug in the driver to begin with, but I'd like some

Re: [linux-usb-devel] Error -28 from usb_submit_urb function.

2007-05-13 Thread Alan Stern
On Sun, 13 May 2007, Marek Brudka wrote: Hi, I have a problem with my sn9c102 webcam. After some debugging with Luca Ricolia (see below), Luca recognized that the problem comes from usb_submit_urb function, and probably was introduced recently Um, what was the actual problem? Is it the

[linux-usb-devel] Fwd: sn9c102 vs 2.6.21 problems (-ENOSPC)

2007-05-13 Thread Luca Risolia
Hello, some persons are reporting -ENOSPC errors from usb_submit_urb() in the sn9c102 driver for some unkown reasons. I can't reproduce this bug, although I tested and compiled the driver against the same version of the kernel used by one of the above users (default kubuntu

Re: [linux-usb-devel] Is libusb dead?

2007-05-13 Thread Greg KH
On Tue, Apr 24, 2007 at 07:58:33AM +0200, Oliver Neukum wrote: Am Dienstag, 24. April 2007 01:32 schrieb Greg KH: On Tue, Apr 24, 2007 at 01:24:02AM +0200, Oliver Neukum wrote: Am Dienstag, 24. April 2007 00:35 schrieb Greg KH: This suggests that usbfs2 should have special interface

Re: [linux-usb-devel] [PATCH] Make appletouch shut up when it has nothing to say

2007-05-13 Thread Pete Zaitcev
On Sun, 13 May 2007 20:57:25 +0100, Matthew Garrett [EMAIL PROTECTED] wrote: Ok, I've tidied this up a little. [...] Looks fine here... well, almost. Did you try rmmod (I don't even know if it's applicable, sorry)? Usually, when schedule_work is involved, you want to make sure that a scheduled

[linux-usb-devel] How can I compare the performance between Linux 2.4 and 2.6?

2007-05-13 Thread Pu Jiangbo
Dear All, How can I get the time-length of interrupt handling of the system? many thanks, Brooks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of

Re: [linux-usb-devel] [PATCH] Make appletouch shut up when it has nothing to say

2007-05-13 Thread Soeren Sonnenburg
On Sun, 2007-05-13 at 20:57 +0100, Matthew Garrett wrote: Ok, I've tidied this up a little. I've separated the actual mode init code into a separate function in order to avoid code duplication, and no longer creating a new workqueue. The only other change is something that I /think/ is

Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-13 Thread Soeren Sonnenburg
On Sat, 2007-05-12 at 22:47 +0100, Alistair John Strachan wrote: On Saturday 12 May 2007 19:51:26 Soeren Sonnenburg wrote: Dear all, [...] While we are at it usb related powerhogs on this macbook pro are uhci_hcd (usb keyboard) and usb_hcd_poll_rh_status (rh_timer_func) too... I've

Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-13 Thread Alistair John Strachan
On Monday 14 May 2007 01:46:10 Soeren Sonnenburg wrote: On Sat, 2007-05-12 at 22:47 +0100, Alistair John Strachan wrote: On Saturday 12 May 2007 19:51:26 Soeren Sonnenburg wrote: Dear all, [...] While we are at it usb related powerhogs on this macbook pro are uhci_hcd (usb keyboard)

Re: [linux-usb-devel] Patches still in the queue

2007-05-13 Thread Greg KH
On Sat, May 12, 2007 at 03:26:19PM -0400, Alan Stern wrote: On Fri, 11 May 2007, Greg KH wrote: Can you suggest a better way of packaging it to help support the distros? I'm perfectly willing to change the way USB-persist gets enabled, to insure that people don't turn it on unless

Re: [linux-usb-devel] [PATCH 14/16] USB: Add usbfs ioctl to get the frame number

2007-05-13 Thread Greg KH
On Sat, May 12, 2007 at 12:44:38AM -0700, Pete Zaitcev wrote: On Fri, 11 May 2007 23:23:18 -0700, Greg KH [EMAIL PROTECTED] wrote: I thought that you needed to do something with this value pretty quickly, and that by the time you were able to send something back into the kernel, the value

Re: [linux-usb-devel] Patches still in the queue

2007-05-13 Thread Oliver Neukum
Am Sonntag, 13. Mai 2007 17:15 schrieb Alan Stern: On Sun, 13 May 2007, Oliver Neukum wrote: Am Samstag, 12. Mai 2007 21:26 schrieb Alan Stern: It could be controlled by both a Kconfig option and a writable module parameter.  I'm not sure that would satisfy everybody.  But maybe there

Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-13 Thread Oliver Neukum
Am Montag, 14. Mai 2007 02:53 schrieb Alistair John Strachan: What did you use instead of hci_usb then ? usbkbd ? This won't give you the special keys etc... Sorry, I wasn't clear. hci_usb is actually part of the BlueZ stack, it's got nothing to do with the keyboard. I unloaded both