Re: [linux-usb-devel] Re: OHCI problems with suspend/resume

From: Alan Stern (stern@rowland.harvard.edu)
Date: Sat Jul 26 2003 - 11:02:33 EST


On Fri, 25 Jul 2003, David Brownell wrote:

> Benjamin Herrenschmidt wrote, responding to Alan Stern:
> >>I think the hub driver's power management code may be at fault. It needs
> >>to cancel the status interrupt URB when suspending and resubmit it when
> >>waking up; right now it probably does neither one.
> >>
> >>Or maybe I'm wrong about that. Perhaps it's okay to leave the URB active.
> >>If that's the case, then the root hub power management code needs to be
> >>changed to restart the status URB timer after a wakeup.
>
> I thought that patch got merged already ...
>
>
> >>I'm not sure how the design is intended to work, but either way something
> >>needs to be fixed.
>
> Yes, it seems like all the HCDs (and the hub driver) need attention.

So far as I can see, there's no USB power management code at all apart
from the HC drivers. That includes the hub driver.

And I know that the UHCI suspend routine could use a little work. There's
a 10-Hz polling timer that it doesn't turn off.

Alan Stern

-
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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:29 EST