Re: suspend / hibernate nomenclature

From: Matthew Garrett
Date: Mon Mar 09 2009 - 09:29:24 EST


On Mon, Mar 09, 2009 at 11:31:36AM +0300, Andrey Borzenkov wrote:

> What about systems that have clear indication of STR and STD on respective
> keys? Should they continue to return KEY_SLEEP for STR? I think this
> conflicts with definition above. So in the long run those should be changed to
> return KEY_SUSPEND2RAM it seems.

Perhaps, but at present they KEY_SLEEP is probably adequate. KEY_SLEEP
is always going to default to suspend to RAM, so really the only
distinction between it and a dedicated suspend to RAM key is whether a
UI element affects its behaviour or not.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/