This is my first post on this list, so tell me if I'm off topic.
The background : I'm a student in programmation, and have to perform a project to be graduated. The purpose of my project is to boot Linux on a test board from a Memory Key. That means that I code on BIOS side and have no Linux running. The board has a 82801 Intel Chipset, which is seen as an UHCI Controler. The Linux code is from 2.4 kernel tree.
For the moment, the controler seems to be well initialized by the following sequence :
uhci_init() -> start_uhci() -> alloc_uhci() till usb_alloc_dev() -> usb_connect() and usb_new_device().
By polling the bit USBPORTSC_CCS on USBPORTSC0, I'm able to detect a peripheral plugging.
I tried to perform almost the same sequence after detecting the presence of the peripheral.
I used the usb_alloc_dev function with the same s->bus value, but pointing to another usb_device pointer, because I thought that peripheral and controler shared the same USB bus.
Am I right ?
As you can imagine, it doesn't work well, because the next Get_descriptor request returns the same Device Class value as for the Controler ( 0x09 ) and not 0x00.
The addresses on the USB bus for both Controler and Peripheral are different.
What could be wrong in my analyze ?
Thank you in advance for your help. Sincerelly Yours, Patrick Agrain
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
