uhci port reset
Posted: Fri Mar 29, 2013 6:39 am
HI,
I have a strange problem with a usb device
These days I was writing a driver for the full/low speed devices. (UHCI)
I own 10 devices, all work fine except for one device, which shows problems when I do a port reset. I use the classic sequence:
Wait the device is connected
Wait 400ms (Debounce for my USB Bluetooth device)
Port Reset 10ms
Recovery 10ms
Enable port.
Get Descriptor and so on ...
Ok, this sequence is perfect with all the devices, but one in particular (USB Mass Storage) only works if I do not do a Port Reset.
If I do a port reset, the device dies and I do not know how to resurrect
This device has a red LED, which turns off after a port reset and the device no longer works.
Without a port reset, the device works perfectly.
Any ideas ?
Note:
Before answering, some prefaces.
I tried different timings, the ones I posted are only general.
I have already searched this forum other similar post, followed the suggestions and so on .., without any appreciable result.
I suspect that there is another way to reset the ports ( or not reset the port at all),
seems that the BIOS and Windows knows very well how to do it
I have a strange problem with a usb device
These days I was writing a driver for the full/low speed devices. (UHCI)
I own 10 devices, all work fine except for one device, which shows problems when I do a port reset. I use the classic sequence:
Wait the device is connected
Wait 400ms (Debounce for my USB Bluetooth device)
Port Reset 10ms
Recovery 10ms
Enable port.
Get Descriptor and so on ...
Ok, this sequence is perfect with all the devices, but one in particular (USB Mass Storage) only works if I do not do a Port Reset.
If I do a port reset, the device dies and I do not know how to resurrect
This device has a red LED, which turns off after a port reset and the device no longer works.
Without a port reset, the device works perfectly.
Any ideas ?
Note:
Before answering, some prefaces.
I tried different timings, the ones I posted are only general.
I have already searched this forum other similar post, followed the suggestions and so on .., without any appreciable result.
I suspect that there is another way to reset the ports ( or not reset the port at all),
seems that the BIOS and Windows knows very well how to do it