On Tue, 8 Nov 2005, Charles Shannon Hendrix wrote: > Regarding a pause after hub_port_reset() to allow a device some time to > get ready, I applied the following patch suggested by Alan Stern: > > --- drivers/usb/core/hub.c.orig 2005-10-27 20:02:08.000000000 -0400 > +++ drivers/usb/core/hub.c 2005-11-08 17:49:56.000000000 -0500 > @@ -2189,6 +2189,7 @@ hub_port_init (struct usb_hub *hub, stru > > /* Reset the device; full speed may morph to high speed */ > retval = hub_port_reset(hub, port1, udev, delay); > + msleep(1000); > if (retval < 0) /* error or disconnect */ > goto fail; > /* success, speed is known */ > > This makes my iPod work with USB2 on Linux 2.6.14 (vanilla).
A 1-second delay is kind of long. Does the iPod continue to work if you decrease the delay length? How low can you go? Just as interesting: Does the iPod work if you move the msleep call to just _before_ the hub_port_reset call? Alan Stern ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel