On Mon, Feb 16, 2009 at 12:31 PM, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote: > On Mon, 16 Feb 2009 17:48:06 +0100 Oliver Neukum <oliver@xxxxxxxxxx> wrote: >> 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! Userspace may not have a useful decision-making capability regarding functionality versus power-saving, but the user it's talking to might! I think it would be very useful to have a mechanism for userspace to find out "Link detection on this NIC costs ~50mW" and "No link has been detected for the last 15 minutes", so that it can compile all that sort of information and prompt the user what devices they would like to disable. Perhaps an "airline mode" sort of thing? Cheers, Kyle Moffett _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm