Re: [PATCH] usb: Add support for runtime power management of the hcd

Oliver Neukum
2009-11-11T17:24:41Z

Am Mittwoch, 11. November 2009 18:08:17 schrieb Alan Stern:
> On Wed, 11 Nov 2009, Oliver Neukum wrote:

> > That seems to be a bit harsh. If you do not specify that a device be
> > able to wake the whole system, why would it be good for a request
> > coming from it to abort a system sleep transition?
>
> The way you specify that a device be able to wake the whole system is
> by enabling its remote wakeup attribute. If this attribute is not
> enabled then the device will not send remote wakeup requests, so the
> scenario described above will not occur -- no IRQ will be generated.

But what happens if a driver has requested remote wakeup requests
to do runtime power management?

Regards
Oliver