On Tue, 18 Jan 2005, Marcel Koopman wrote: > Thanks for your reply, but my usb.c looks completely different. > I have kernel version 2.6.9, what kernel version should I take to apply > this?
The patch I sent was meant for 2.6.10 or later. Here's a version suitable for 2.6.9. Alan Stern --- a/drivers/usb/core/hub.c Wed Oct 20 11:46:41 2004 +++ b/drivers/usb/core/hub.c Tue Jan 18 13:09:03 2005 @@ -1357,6 +1357,8 @@ /* return on disconnect or reset */ if (status == -ENOTCONN || status == 0) { + if (status == 0) + msleep(20); clear_port_feature(hdev, port + 1, USB_PORT_FEAT_C_RESET); /* FIXME need disconnect() for NOTATTACHED device */ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users