Thread (40 messages) 40 messages, 11 authors, 2009-08-28

Re: [PATCH] thinkpad-acpi: use correct key names for sleep states in driver

From: Ali Abdallah <hidden>
Date: 2009-08-19 09:18:30
Also in: linux-acpi

Yves-Alexis Perez wrote:
On mar, 2009-08-18 at 21:10 +0100, Matthew Garrett wrote:
  
quoted
quoted
It seems that this patch is still not in master?
      
Correct. We can't change the existing semantics without breaking 
existing userspace applications.
    
Hmh ok, but is it planned?
  
quoted
quoted
Currently (on debian unstable), input-events reports on my T61:

KEY_SLEEP for Fn+F4
KEY_SUSPEND for Fn+F12

which kind-of breaks xfce4-power-manager, where SLEEP and SUSPEND
      
both
    
quoted
suspend to ram, so I don't have any way to hibernate. Changing xfpm
doesn't seem like a good idea if the way to go is to use SUSPEND for
STR, HIBERNATE for STD and SLEEP for either.

So what's the status for this?
      
KEY_SLEEP is suspend to RAM, KEY_SUSPEND is suspend to disk. xfpm should 
be changed to match.

    
Ok, I'm CC:ing the developer to let him know.

Cheers,

  
Dunno if i should ask the question here, now gpm relies completely on X 
to map these buttons, in X there is:

HAVE_XF86XK_SLEEP  (Suspend).

HAVE_XF86XK_HIBERNATE
HAVE_XF86XK_SUSPEND

As i understood These two buttons are suspend two disk, okay, so they 
should have the same keycode right?, or can they be two different keys?

Cheers And thanks,
Ali.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help