Rog�rio:
This quick patch will add a 1-second delay between powering up the ports
on your internal hub. Try it out on your desktop computer and post the
debugging log so we can see what happens.
Alan Stern
--- 2.6/drivers/usb/core/hub.c.orig Mon Sep 22 12:37:50 2003
+++ 2.6/drivers/usb/core/hub.c Tue Dec 9 12:56:05 2003
@@ -267,8 +267,10 @@
dev_dbg(hubdev(interface_to_usbdev(hub->intf)),
"enabling power on all ports\n");
dev = interface_to_usbdev(hub->intf);
- for (i = 0; i < hub->descriptor->bNbrPorts; i++)
+ for (i = 0; i < hub->descriptor->bNbrPorts; i++) {
set_port_feature(dev, i + 1, USB_PORT_FEAT_POWER);
+ wait_ms(1000);
+ }
/* Wait for power to be enabled */
wait_ms(hub->descriptor->bPwrOn2PwrGood * 2);
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel