Greg:

This patch adds a workaround for host controllers that don't properly
support remote wakeup.  That includes Intel controllers (on certain badly
designed motherboards) and a recent Genesys Logic controller.  Although
the UHCI driver avoids suspending the Intel-based controllers, this 
workaround will handle things about as well.

In the not-too-distant future I will have to revamp most of the root-hub 
suspend/resume code in the UHCI driver.  For now, please apply the patch.

Alan Stern



Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

===== drivers/usb/host/uhci-hub.c 1.13 vs edited =====
--- 1.13/drivers/usb/host/uhci-hub.c    2004-10-20 12:38:10 -04:00
+++ edited/drivers/usb/host/uhci-hub.c  2004-10-25 17:01:10 -04:00
@@ -44,6 +44,8 @@
                                test_bit(port, &uhci->port_c_suspend))
                        *buf |= (1 << (port + 1));
        }
+       if (*buf && uhci->state == UHCI_SUSPENDED)
+               uhci->resume_detect = 1;
        return !!*buf;
 }
 



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to