[linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Daniel Drake
When connected over USB2, this device reports a nonsense bInterfaceProtocol value 6 and doesn't work with usb-storage. When connected over USB1, the device reports the correct bInterfaceProtocol value 0x50 (bulk) and works with no problems. This patch fixes it up so that it also works on USB2.

[linux-usb-devel] Re: CDC-ACM class driver/driver development

2005-08-31 Thread Petr Pisar
Oliver Neukum neukum.org> writes: > > > Do you happen to have an URL? > > > I'd like to include it in 2.6.14. > > > > > informed. The latest version is at > > [http://dave.ok.cz/cdc-acm_release/linux-2.6.12-rc5_stable-cdc-acm.patch]. > > It should run in 2.6.12-rc5 but I'm not sure, I have not

Re: [linux-usb-devel] Re: keyspan usbserial adapter does not send after a while

2005-08-31 Thread Olaf Hering
On Thu, Aug 18, Greg KH wrote: > On Mon, Aug 15, 2005 at 01:20:42PM +0200, Olaf Hering wrote: > > On Mon, Aug 15, Olaf Hering wrote: > > > > > > > > I have a keyspan serial adapter and use it to connect to serial console > > > on other sytems, with speed 9600. > > > After a while no chars are

Re: [linux-usb-devel] Re: CDC-ACM class driver/driver development

2005-08-31 Thread Oliver Neukum
On Wed, 31 Aug 2005, Petr Pisar wrote: > Oliver Neukum neukum.org> writes: > > > > Do you happen to have an URL? > > > > I'd like to include it in 2.6.14. > > > > > > > > informed. The latest version is at > > > [http://dave.ok.cz/cdc-acm_release/linux-2.6.12-rc5_stable-cdc-acm.patch]. > > >

Re: [linux-usb-devel] multiple /dev/ entries for one driver?

2005-08-31 Thread Jouni Rynö
I'm replying to myself, just that someone else could propably find (by googling) the issue interesting Anyway, I solved my problem by using a new char device and class for my USB device. alloc_chrdev_region(&x2s_dev, 0, X2S_NR_OF_DEVICES*X2S_MINORS, "x2s_usb"); x2s_class = class_simple_create(TH

Re: [linux-usb-devel] MP3 player iAudio G3 doesn't work on 2.6.12.3

2005-08-31 Thread Alan Stern
On Tue, 30 Aug 2005, Andy Stewart wrote: > > Could it be because the device is running behind a hub? What happens if > > you remove the hub and plug the device directly into the server? > > I've tried this previously and found that plugging the device directly > into the server's USB port (no hu

[linux-usb-devel] Re: Hub power source

2005-08-31 Thread Alan Stern
On Tue, 30 Aug 2005, David Brownell wrote: > > > Consider a device that needs 250mA of power to do more than just > > > enumeration ... which has a small battery and these configurations: > > > > > > #1 "Self powered" and bMaxPower is 100mA. The remaining > > > 150 mA comes from the batter

Re: [linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Alan Stern
On Wed, 31 Aug 2005, Daniel Drake wrote: > When connected over USB2, this device reports a nonsense bInterfaceProtocol > value 6 and doesn't work with usb-storage. > When connected over USB1, the device reports the correct bInterfaceProtocol > value 0x50 (bulk) and works with no problems. > > T

[linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Daniel Drake
Alan Stern wrote: If the device sometimes reports the correct values, then you should include NEED_OVERRIDE flag to prevent messages about unnecessary overrides showing up in the system log. Also, if bInterfaceSubclass is correct and only bInterfaceProtocol is wrong, then the entry should say

Re: [linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Phil Dibowitz
Alan Stern wrote: > On Wed, 31 Aug 2005, Daniel Drake wrote: > > >>When connected over USB2, this device reports a nonsense bInterfaceProtocol >>value 6 and doesn't work with usb-storage. >>When connected over USB1, the device reports the correct bInterfaceProtocol >>value 0x50 (bulk) and works

[linux-usb-devel] Document Migration and e-Book Development

2005-08-31 Thread e-BookServices, India
Hi, I apologize for intruding into your busy schedule. Please allow me to introduce ourselves to you. We are engaged in providing book-related services to international clientele (http://www.e-BookServices.com). Located in India, we cater to both organizations as well as individuals. Our rang

[linux-usb-devel] Re: [patch 2.6.14] usbnet (1/9) clean up framing

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:25 am, David Brownell wrote: > On Saturday 13 August 2005 2:04 pm, David Brownell wrote: > > Among other things, this will speed up the TX path for minidrivers > > that need extra headers. > > This has a few other minor cleanups now too. > This starts to prepare the

[linux-usb-devel] Re: [patch 2.6.14] usbnet (5/9) module for genesys gl620a cables

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:33 am, David Brownell wrote: > On Saturday 13 August 2005 2:10 pm, David Brownell wrote: > > Another host-to-host cable using custom framing to interop with Win32. > > > > I threw in the obviously missing byteswaps needed for big-endian interop. > This moves the Ge

[linux-usb-devel] Re: [patch 2.6.14] usbnet (6/9) module for Zaurii and compatibles

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:34 am, David Brownell wrote: > On Saturday 13 August 2005 2:12 pm, David Brownell wrote: > > These run Linux inside, but rather gratuitously they all > > break the CDC standards they claim to conform to. > > > > This moves usbnet support for Zaurus and compatibles

[linux-usb-devel] Re: [patch 2.6.14] usbnet (7/9) module for CDC Ethernet

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:34 am, David Brownell wrote: > On Saturday 13 August 2005 2:13 pm, David Brownell wrote: > > This supports various cable modems and Linux-USB gadgets, > > and exports functions used by some proprietary protocols. > > > Makes the CDC Ethernet support live in a separa

[linux-usb-devel] [patch 2.6.14] get rid of minor log spamming

2005-08-31 Thread David Brownell
Routine cases like handoff-to-companion shouldn't trigger diagnostics. This gets rid of some recently added log spamming. It's routine for hub_port_wait_reset() to return -ENOTCONN to indicate handoff from highspeed hubs to companions, so an error message is incorrect. Signed-off-by: David Browne

[linux-usb-devel] [patch 2.6.14] EHCI port tweaks

2005-08-31 Thread David Brownell
One change may improve some S1 or S3 resume cases, and the other seems mostly to explain some strange state "lsusb" would show. Two fixes: - On resume, don't think about resuming any unpowered port, or resetting any port with OWNER set to the OHCI/UHCI companion. This will make some S1 a

[linux-usb-devel] [patch 2.6.14] OHCI, pxa27x OHCI port power tweaks

2005-08-31 Thread David Brownell
Now that it's in use on other boards, a bug in the original code needs fixing. There is no need for the PXA27x OHCI to set usb power during init, since the hub driver in usbcore handles that. Those platform-specific power control functions are also incorrect, and should therefore be removed. Add

[linux-usb-devel] Re: [patch 2.6.14] usbnet (2/9) module for simple network links

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:30 am, David Brownell wrote: > On Saturday 13 August 2005 2:07 pm, David Brownell wrote: > > Sometimes it's almost trivial to write a driver ... so in a feat of > > apalling lack-of-originality they go into "simple.c". > > The more appropriate name, this time around,

[linux-usb-devel] Re: [patch 2.6.14] usbnet (8/9) module for RNDIS devices

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:35 am, David Brownell wrote: > On Saturday 13 August 2005 2:18 pm, David Brownell wrote: > > This driver is EXPERIMENTAL, new, and only lightly tested. > > But it ought to be useful. :) > > > > Renamed from "rndis.c" to "rndis_host.c"; that's clearer, > even if the

[linux-usb-devel] Re: [patch 2.6.14] usbnet (9/9) module for pl2301/2302 cables

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:36 am, David Brownell wrote: > On Saturday 13 August 2005 2:19 pm, David Brownell wrote: > > This should still be bug-compatible with the Linux 2.2 code, but > > it'd be nice if someone finally sorted out the handshaking issues. > > > This wraps up the conversion of

[linux-usb-devel] Re: [patch 2.6.14] usbnet (4/9) module for net1080 cables

2005-08-31 Thread David Brownell
On Wednesday 24 August 2005 11:33 am, David Brownell wrote: > On Saturday 13 August 2005 2:09 pm, David Brownell wrote: > > The most significant of these being some LapLink products. > > > > This version fixes some problems in the earlier version, > and notes that the chip's EOL notice seems to h

[linux-usb-devel] [patch 2.6.14] OHCI irq tweak

2005-08-31 Thread David Brownell
Evidently there are some boards which care a lot about this, but as a rule it's been hard to notice. OHCI_INTR_RD wasn't always cleared in the ohci irq handler. On some systems this means certain remote wakeup scenarios could seem to hang (in an interrupt storm, RD never clearing). From: "Willia

[linux-usb-devel] Re: [patch 2.6.14] usbnet modularization patches (0/9)

2005-08-31 Thread David Brownell
Third time's the charm, right? :) The patches I sent last week were the wrong snapshot, and wouldn't build (referred to some macros that weren't fully available in that particular snapshot). This batch has been tested against 2.6.13-final. :) - Dave On Wednesday 24 August 2005 11:24 am, Dav

[linux-usb-devel] [patch 2.6.14] relax usbcore reset timings

2005-08-31 Thread David Brownell
This appears to help some folk, please merge. This patch relaxes reset timings. There are some reports that it helps make enumeration work better on some high speed devices. Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- g26.orig/drivers/usb/core/hub.c 2005-08-31 10:33:34.0 -0700

[linux-usb-devel] [patch 2.6.14] OHCI relies less on NDP register

2005-08-31 Thread David Brownell
This helps OHCI work better on some embedded implementations (pxa27x, at91). - Dave Some OHCI implementations have differences in the way the NDP register (in roothub_a) reports the number of ports present. This patch allows the platform specific code to optionally supply the number of ports. Th

[linux-usb-devel] Fw: [Bugme-new] [Bug 5164] New: pl2303 when unplugged while device is open leaks semaphore

2005-08-31 Thread Andrew Morton
Begin forwarded message: Date: Wed, 31 Aug 2005 13:12:11 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5164] New: pl2303 when unplugged while device is open leaks semaphore http://bugzilla.kernel.org/show_bug.cgi?id=5164 Summary: pl2303 when unplugg

Re: [linux-usb-devel] multiple /dev/ entries for one driver?

2005-08-31 Thread Greg KH
On Wed, Aug 31, 2005 at 03:00:13PM +0300, Jouni Ryn? wrote: > I'm replying to myself, just that someone else could propably find (by > googling) the issue interesting > > Anyway, I solved my problem by using a new char device and class for my > USB device. > > alloc_chrdev_region(&x2s_dev, 0, X2S

Re: [linux-usb-devel] Re: keyspan usbserial adapter does not send after a while

2005-08-31 Thread Greg KH
On Wed, Aug 31, 2005 at 01:37:03PM +0200, Olaf Hering wrote: > On Thu, Aug 18, Greg KH wrote: > > > On Mon, Aug 15, 2005 at 01:20:42PM +0200, Olaf Hering wrote: > > > On Mon, Aug 15, Olaf Hering wrote: > > > > > > > > > > > I have a keyspan serial adapter and use it to connect to serial consol

Re: [linux-usb-devel] MP3 player iAudio G3 doesn't work on 2.6.12.3

2005-08-31 Thread Andy Stewart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Alan et al, I believe that I have solved the problem (at least for USB 1.x) while using the 2.6.12.3 kernel. In summary, I changed two things at once (yeah, I know I shouldn't do that): 1) I added a pci-usb controller with a different chi