Messages in this thread | | | Date | Tue, 6 Aug 2002 21:43:48 -0700 | From | Greg KH <> | Subject | Re: [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/
| |