Hi,
when using hub.c's usb_reset_device() on somthing connected to the
virtual root hub, the device 'dissapears' from the bus, instead of getting
reset.
With the device in question, the 'Connection' bit breaks away for a few ms.
As the uhci / usb-uhci virtual root hub signals all changes, hub.c detects
the 'connection gone' first, and disables the port, while the virtual root
hub's reset sequence is still going on.
Now what I did, is setting uhci->rh.send = 0; for the duration of the
RH_PORT_RESET sequence, which helps (hub.c doesn't see the connection
changes until the sequence is done), but is obviously not the right thing
to do.
Change hub.c to ignore lost connections during reset sequences ?
btw. uhci guys: what's this loop supposed to do in rh_submit_urb() ??
for (i = 0; i < 8;
i++)
uhci->rh.c_p_r[i] = 0;
Isn't the c_p_r supposed to show the reset sequence in progress (change)
when get_status (RH_GET_STATUS | RH_OTHER | RH_CLASS) is being called
recursively ?
- sda
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel