Re: [ltp] Head's up: KEY_SLEEP/SUSPEND/HIBERNATE changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Henrique de Moraes Holschuh wrote:
> It has been defined by the core userspace UI people (X.org, HAL,
> desktop.org, etc) that:
> 
> KEY_SLEEP - Maps to any of the sleep modes, by asking the user what
> should be done.  Used when the platform doesn't have a preference for
> that key (e.g. moon icon on normal keyboards).
> 
> KEY_SUSPEND - Sleep to RAM  (thinkpad fn+f4)

The ThinkPad F4 button has a moon on it, as I'm sure you know. Would 
anything on a ThinkPad then generate KEY_SLEEP?

> KEY_HIBERNATE (new) - Sleep to disk, or RediSafe (disk+ram).
> (thinkpad fn+f12).

ThinkPad configuration puts their version of RediSafe under suspend. 
Hibernate to me means the machine should shut off. I haven't followed 
the story so far, but this seems like a big change.

> And thinkpad-acpi, as well as the rest of the kernel laptop drivers
> are going to change their default mappings to implement it, probably
> for 2.6.30.  In thinkpad-acpi's case, I will change it on the next
> development/backport version as well.
> 
> This is just a head's up, so that you know what is happening if
> suddenly your keys start doing something different.
> 
> There are NO CHANGES to the ACPI events.
> 
> You can, of course, restore the old key mappings using any of the
> possible ways to reprogram an input device's keymap (such as HAL .fdi
> files).

Thanks for the update,
Chris

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux