Re: [RFD] Automatic suspend
From: Kyle Moffett
Date: Mon Feb 16 2009 - 15:08:23 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/