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

2007-05-14 Thread Oliver Neukum
Am Sonntag, 13. Mai 2007 12:24 schrieb Greg KH: I'm not designing it, I just offered up my initial ideas, others are Sorry, I didn't want to offend. trying to run with them and see if they are crap or not.  Most likely, crap, but hopefully they will have figured it out by the time we get it

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

2007-05-14 Thread Oliver Neukum
Am Samstag, 12. Mai 2007 23:40 schrieb Jiri Kosina: Oliver, do you have any update please? Not yet. You can have them tomorrow. Regards Oliver - This SF.net email is sponsored by DB2 Express

[linux-usb-devel] [PATCH] add USB Host support for MCF5329

2007-05-14 Thread Thomas Brinker
Hi everybody! Please find some patches for the MCF5329 Coldfire processor of Freescale to add support for its USB-Host Controller on: http://opensource.emlix.com/mcf5329/download/2007_05_10/usb-host This patch is against 2.6.21. It includes: lots of changes to add support for the fullspeed USB

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

2007-05-14 Thread Marek Brudka
Hi, The problem was that each webcam application reported :no space left on device. After some experiments I found out that camera works when Bus 002 Device 006: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter is unplugged. It seems that this bluetooth adapter reserves

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

2007-05-14 Thread Luca Risolia
Marek, so there are other devices connected to same host controller? I was under the impression that you said you had no devices connected, when I asked. You may try to decrease the alternate setting in sn9c102_config.h: #define SN9C102_ALTERNATE_SETTING 8 Note that the driver has been

[linux-usb-devel] Fingerprint reader with CONFIG_USB_SUSPEND

2007-05-14 Thread Ben Gamari
Hey all, When trying CONFIG_USB_SUSPEND with my Dell Latitude D820, I found that the SGS Thomson Micro fingerprint reader (the same as found in Thinkpads, http://thinkfinger.sourceforge.net/) is rendered inoperable. When I attempt to prove the device (e.g. with lsusb), the device connects to the

Re: [linux-usb-devel] Fingerprint reader with CONFIG_USB_SUSPEND

2007-05-14 Thread Oliver Neukum
Am Montag, 14. Mai 2007 15:33 schrieb Ben Gamari: Anyone have any ideas as to what might cause this failure? Is it the device? The hub? The kernel USB subsystem? If any more information is necessary to diagnose this failure, I'd be more than happy to provide it. Anyways, thanks a ton,

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

2007-05-14 Thread Alan Stern
On Mon, 14 May 2007, Oliver Neukum wrote: I agree. Hibernation with a mounted fs on usb sucks, no matter what you do. Don't forget that persistence applies to network interfaces just as much as to block devices. Yes, but it is not problematic, as you run no additional risk. The

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

2007-05-14 Thread Alan Stern
On Mon, 14 May 2007, Marek Brudka wrote: Hi, The problem was that each webcam application reported :no space left on device. After some experiments I found out that camera works when Bus 002 Device 006: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter is

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

2007-05-14 Thread Laurent Pinchart
Hi everybody, On Sunday 13 May 2007, Greg KH wrote: 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

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

2007-05-14 Thread Oliver Neukum
Am Montag, 14. Mai 2007 16:16 schrieb Alan Stern: Well, we have again a distinction between device and interface persistance. Some drivers and therefore interfaces will be unable to support persistance. It must be possible to resurrect only some interfaces of a device. In other words,

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

2007-05-14 Thread Pete Zaitcev
On Mon, 14 May 2007 17:38:56 +0200, Laurent Pinchart [EMAIL PROTECTED] wrote: Following up on this, would it be possible to know the host timestamp (gettimeofday) associated with the last SOF token ? I'm also working with devices that would benefit from clock synchronisation (device clock,

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

2007-05-14 Thread Alistair John Strachan
On Monday 14 May 2007 06:50:39 Oliver Neukum wrote: 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

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

2007-05-14 Thread Alan Stern
On Mon, 14 May 2007, Oliver Neukum wrote: Am Montag, 14. Mai 2007 16:16 schrieb Alan Stern: Well, we have again a distinction between device and interface persistance. Some drivers and therefore interfaces will be unable to support persistance. It must be possible to resurrect only some

Re: [linux-usb-devel] [PATCH] add USB Host support for MCF5329

2007-05-14 Thread David Brownell
On Monday 14 May 2007, Thomas Brinker wrote: Hi everybody! Please find some patches for the MCF5329 Coldfire processor of Freescale to add support for its USB-Host Controller on: http://opensource.emlix.com/mcf5329/download/2007_05_10/usb-host This patch is against 2.6.21. More useful

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

2007-05-14 Thread David Brownell
On Sunday 13 May 2007, Tzachi Perelstein wrote: 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

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

2007-05-14 Thread Oliver Neukum
Am Montag, 14. Mai 2007 20:14 schrieb Alan Stern: On Mon, 14 May 2007, Oliver Neukum wrote: Worse. A driver may _lack_ a post_reset() method. In which case its resume() method gets called, in lieu of anything better. Drivers like that are in trouble whenever their device gets reset,

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

2007-05-14 Thread Alan Stern
On Mon, 14 May 2007, Oliver Neukum wrote: Am Montag, 14. Mai 2007 20:14 schrieb Alan Stern: On Mon, 14 May 2007, Oliver Neukum wrote: Worse. A driver may _lack_ a post_reset() method. In which case its resume() method gets called, in lieu of anything better. Drivers like that are

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

2007-05-14 Thread Greg KH
On Mon, May 14, 2007 at 08:02:21AM +0200, Oliver Neukum wrote: Am Sonntag, 13. Mai 2007 12:24 schrieb Greg KH: I'm not designing it, I just offered up my initial ideas, others are Sorry, I didn't want to offend. trying to run with them and see if they are crap or not. ?Most likely,

[linux-usb-devel] issue detecting USB at boot

2007-05-14 Thread Kumar Gala
I'm seeing the following error message when I have a wireless usb ethernet adapter plugged into an embedded PPC SoC. If I plug the adapter in after the SoC has booted the device is detected w/o any issue. Which makes me thing that there is some initialization timing issue. Any

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

2007-05-14 Thread Marek Brudka
Hi, Alan Stern wrote: Too much is a subjective term. Maybe the webcam reserves too much bandwidth. Maybe. Rmmod the Bluetooth driver (or shut it down some other way, or unplug the device) when you want to use the camera. Or plug the camera into a different USB controller from the Bluetooth

[linux-usb-devel] [PATCH] USB Serial Kconfig Sierra description update

2007-05-14 Thread Kevin Lloyd
From: Kevin Lloyd [EMAIL PROTECTED] This patch is targeted for the 2.6.21.1 kernel source. It updates the description of the Sierra Wireless modem driver in the USB serial Kconfig file. Signed-off-by: Kevin Lloyd [EMAIL PROTECTED] --- diff -uprN linux-2.6.21.1/drivers/usb/serial/Kconfig

Re: [linux-usb-devel] [PATCH]usblp read race

2007-05-14 Thread Pete Zaitcev
On Fri, 30 Mar 2007 20:34:47 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: What did I tell you about wait_event? It would be far cleaner to open-code the loop. Open code? What exactly are you proposing? Oliver, I've removed wait_event. Please have a look if you have a moment. This also

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

2007-05-14 Thread Oliver Neukum
Am Montag, 14. Mai 2007 22:09 schrieb Alan Stern: On Mon, 14 May 2007, Oliver Neukum wrote: Am Montag, 14. Mai 2007 20:14 schrieb Alan Stern: On Mon, 14 May 2007, Oliver Neukum wrote: Worse. A driver may _lack_ a post_reset() method. In which case its resume() method gets

[linux-usb-devel] [patch 2.6.22-rc1] export linux/usb_gadgetfs as linux/usb/gadgetfs.h

2007-05-14 Thread David Brownell
Make sure gadgetfs userspace interface is properly exported: - Move linux/usb_gadgetfs.h to linux/usb/gadgetfs.h; - Export it using Kbuild; - Add an #include guard; - Correct some internal documentation; - Update struct layout so it's the same on 32/64 bit kernels. Signed-off-by: David

Re: [linux-usb-devel] [PATCH]usblp read race

2007-05-14 Thread Oliver Neukum
Am Dienstag, 15. Mai 2007 00:24 schrieb Pete Zaitcev: Oliver, I've removed wait_event. Please have a look if you have a moment. This also should fix the endless loop upon a write error, which Jochen reported. Unfortunately, the diffstat is unfavourable: +247 -155. This may be the fault of

Re: [linux-usb-devel] [PATCH]usblp read race

2007-05-14 Thread Pete Zaitcev
On Tue, 15 May 2007 05:10:36 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: rv = usblp_rwait_and_lock(usblp, !!(file-f_flags O_NONBLOCK)); if (rv 0) { count = rv; goto done; } If you get a signal, the mutex will _not_ be locked, yet it'll be