| Date | Mon, 16 Nov 2009 14:39:03 -0500 (EST) | From | Alan Stern <> | Subject | Re: [RFC][PATCH 1/10] PM: Add flag for devices capable of generating run-time wake-up events |
| |
On Mon, 16 Nov 2009, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@sisk.pl> > > Apparently, there are devices that can wake up the system from sleep > states and yet are incapable of generating wake-up events at run > time. Thus, introduce a flag indicating if given device is capable > of generating run-time wake-up events.
This raises the question: Who is responsible for setting the new flag? The code that registers the device?
What if the kernel can't tell whether or not the device can generate runtime wake-up events?
What if the user wants to override the kernel's setting? Should there be a sysfs attribute controlling the flag?
Alan Stern
|