lkml.org 
[lkml]   [2002]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] USB root hub polling and suspend
On Wed, Aug 07, 2002 at 08:51:14AM +1000, Paul Mackerras wrote:
> Currently with 2.5, when I suspend and resume my powerbook, I find
> that the USB subsystem no longer sees root hub events, i.e. it doesn't
> notice when I plug in a new USB device (it doesn't notice when I
> unplug a device either but of course the driver for the device sees
> that it is no longer responding).
>
> It turns out that what happens is that the root hub timer goes off
> after the OHCI driver has done its suspend stuff. The timer routine
> sees that the HCD is not running at the moment and doesn't schedule
> another timeout. Hence the series of timeouts stops.
>
> The patch below fixes the problem for me. Comments welcome.

Thanks, I've added it to my tree and will send it on to Linus.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.257 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site