Hello Group, I am involved in porting linux on an ADI's VOX based board, from linux 2.4.16 to 2.4.28, and have been facing problems trying to get USB part to work. Can you please look at the description, to see if there is a known bug or if someone has faced a similar problem before? The board has an on-board VIA 6212 USB controller, on the PCI bus. (The VIA6212 has two 1.1 controllers and one 2.0 controller implemented inside it as three PCI functions.) The PCI functions are detected fine on boot up and I am able to insert the USB 1.1(usb-uhci.c) and 2.0 modules(ehci-hcd.c) along with the other support modules(usbcore.o, input.o, evdev.o, usbkbd.o, usb-storage.o) into the kernel. But the device detection is failing with the following symptoms. 1.)USB 1.1: Not able to get configuration from the keyboard. Before usb_get_configuration() in usb_new_device(), usb_get_device_descriptor() is returning the bNumConfigurations as 0. hub.c: new USB device 00:02.0-1, assigned address 2 usb.c: not enough configurations usb.c: unable to get device 2 configuration (error=-22) hub.c: new USB device 00:02.0-1, assigned address 3 usb.c: not enough configurations usb.c: unable to get device 3 configuration (error=-22) If I force the bNumConfigurations to 1 and proceed with the detection, we are able to get the configurations and the device is detected. But the key press and release messages from the keyboard are not being transferred from the USB to the usbkbd.c driver properly, sometimes key releases are missing, etc. 2.)USB 2.0: USB flash sticks detection happens normally, but the mount of the memory device is taking more than 5 minutes, consuming 1 million interrupts!
Are there any known issues in the 2.4.28 release that could be having an affect here? I have tested PCI configuration reads and I/O reads, they are ok. PCI config is ok for the device too. There is no other difference in the code that we are using from the official 2.4.28 release, apart from adding board specific PCI I/O read/write instructions for usb-uhci.c. The UHCI and EHCI ISRs are installed ok. Can you please let me know if there is a known bug that could be affecting, or some one had faced similar problem before? Any suggestions on what could be having an affect here? Many thanks in advance. Regards Kiran ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
