On Tue 2009-02-17 00:20:12, Oliver Neukum wrote: > Am Monday 16 February 2009 18:31:08 schrieb Arjan van de Ven: > > On Mon, 16 Feb 2009 17:48:06 +0100 > > Oliver Neukum <oliver@xxxxxxxxxx> wrote: > > > > > > Userspace should just be the part that says "I'm interested in link > > > > notifications". The driver then just goes to the lowest power state > > > > for its device that still gives those notifications. > > > > > > Should there be a channel through which drivers can tell user space > > > what the consequences in terms of reaching a sleep state are if a > > > service is requested? > > > > Personally, I don't think so. > > Think about it: what would userspace do? > > Not ask for the functionality if it means no sleep state? > > Maybe it should just never ask for it then as a required functionality! > > 1. You may have a human being using the information to make the tradeoff. > 2. User space may be able to select among several devices the one cheapest > to use Well, that sounds complex/fragile... and it is really exporting hardware impormation driver does not even neccessarily know. If this is for user, perhaps it should be in documentation and/or hardware user manual? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm