On Sun, 26 Jun 2005 [EMAIL PROTECTED] wrote: > You are right, the patch doesn't match the code.
Okay, here's a patch that does apply to vanilla 2.6.12. This will prevent the driver from suspending the controller. Alan Stern Index: linux-2.6.12/drivers/usb/host/uhci-hcd.c =================================================================== --- linux-2.6.12.orig/drivers/usb/host/uhci-hcd.c +++ linux-2.6.12/drivers/usb/host/uhci-hcd.c @@ -282,6 +282,7 @@ static int ports_active(struct uhci_hcd int connection = 0; int i; + return 1; for (i = 0; i < uhci->rh_numports; i++) connection |= (inw(io_addr + USBPORTSC1 + i * 2) & USBPORTSC_CCS); ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users