Re: [PATCH] USB root hub polling and suspend

From: Greg KH (
Date: Tue Aug 06 2002 - 23:43:48 EST

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:34 EST