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: > > Dec 26 15:23:24 Dawnya kernel: hub 1-0:1.0: new USB device on port 2, > assigned address 5 > Dec 26 15:23:24 Dawnya kernel: drivers/usb/core/config.c: unexpected > descriptor type 0x1 > Dec 26 15:23:24 Dawnya kernel: usb 1-2: can't read configurations, error > -22 > > I determined that the problem is a result of the config.c patch 5 of 9 > that appeared in 2.6.0-test6. I commented out some parts of the code to > allow my game pad to work. I'm not saying what I did is correct, but it > works for me. Below is a patch for the 2.6.0 kernel that shows my > changes. Could anyone tell me a better way of fixing the problem?
Complain to the manufacturer? If the descriptor really is less than 2 bytes, then it certainly is invalid. Was that portion of the patch you attached necessary? Or do you only need the patch to check for the descriptor type? JE ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
