Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-29 Thread Greg KH
On Sun, Dec 28, 2003 at 03:14:17PM -0500, Alan Stern wrote: > > Apparently some devices put extra garbage at the end of their > configuration information. For the particular device considered here, > there's a device descriptor followed by an illegal length-1 descriptor. > (Note that configurat

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-28 Thread Alan Stern
Greg: Here's a policy question for you. Apparently some devices put extra garbage at the end of their configuration information. For the particular device considered here, there's a device descriptor followed by an illegal length-1 descriptor. (Note that configuration information should never

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-28 Thread Ashley Reed
On Sun, 2003-12-28 at 10:38, Alan Stern wrote: > It certainly sounds like your device puts some extra garbage in its > descriptors. I think you're right. After the USB_DT_DEVICE descriptor is the descriptor of length 1. Then there is nothing else. > Try this patch. Instead of returning an err

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-28 Thread Alan Stern
On Sat, 27 Dec 2003, Ashley Reed wrote: > If I just commented out "header->bDescriptorType == USB_DT_DEVICE", then > it would fail with the warning "invalid descriptor of length 1". That's > why I removed the check for the descriptor being less than 2 bytes. I > don't know anything about the USB

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-28 Thread Ashley Reed
On Sat, 2003-12-27 at 22:39, Alan Stern wrote: > On Sat, 27 Dec 2003, Johannes Erdfelt wrote: > > Complain to the manufacturer? If the descriptor really is less than 2 > > bytes, then it certainly is invalid. > > The error message complained not about the descriptor length but about its > type. I

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-28 Thread Alan Stern
On Sat, 27 Dec 2003, Johannes Erdfelt wrote: > On Sat, Dec 27, 2003, Ashley Reed <[EMAIL PROTECTED]> wrote: > > I have an AxisPad game controller from WalMart. The USB driver > > identifies it as "USB HID v1.00 Gamepad [ANKO Corp. Gemini Industries > > Inc. ]". The game pad doesn't work in any k

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-27 Thread Ashley Reed
On Sat, 2003-12-27 at 12:11, Johannes Erdfelt wrote: > Complain to the manufacturer? If the descriptor really is less than 2 > bytes, then it certainly is invalid. I really doubt the manufacturer would do anything since I am using Linux. Plus, I can't find an e-mail address or a phone number for

Re: [linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-27 Thread Johannes Erdfelt
On Sat, Dec 27, 2003, Ashley Reed <[EMAIL PROTECTED]> wrote: > I have an AxisPad game controller from WalMart. The USB driver > identifies it as "USB HID v1.00 Gamepad [ANKO Corp. Gemini Industries > Inc. ]". The game pad doesn't work in any kernel after 2.6.0-test5. > Here is the error message:

[linux-usb-devel] Problem with USB in 2.6.0 kernel

2003-12-27 Thread Ashley Reed
I have an AxisPad game controller from WalMart. The USB driver identifies it as "USB HID v1.00 Gamepad [ANKO Corp. Gemini Industries Inc. ]". The game pad doesn't work in any kernel after 2.6.0-test5. Here is the error message: Dec 26 15:23:24 Dawnya kernel: hub 1-0:1.0: new USB device on port