[Pkg-xfce-devel] Bug#542238: Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

Matthew Foulkes wmc.foulkes at imperial.ac.uk
Wed Aug 19 15:37:13 UTC 2009


On Wed, Aug 19, 2009 at 05:05:42PM +0200, Yves-Alexis Perez wrote:
> On mer, 2009-08-19 at 15:55 +0100, Matthew Foulkes wrote:
> > Running "input-events 7" as root, I obtain:
> > 
> > # on pressing the sleep key
> > 15:49:00.986062: EV_KEY KEY_SLEEP pressed
> > 15:49:00.986073: EV_SYN code=0 value=0
> > 15:49:00.986077: EV_KEY KEY_SLEEP released
> > 15:49:00.986081: EV_SYN code=0 value=0
> > 
> > # on pressing the hibernate key
> > 15:49:05.190784: EV_KEY KEY_SUSPEND pressed
> > 15:49:05.190794: EV_SYN code=0 value=0
> > 15:49:05.190799: EV_KEY KEY_SUSPEND released
> > 15:49:05.190802: EV_SYN code=0 value=0
> > 
> > Surprisingly, pressing the sleep key within input-events *does* cause
> > the system to sleep, even though it has no effect normally. Pressing the
> > hibernate key has no effect either way.
> 
> Yeah, the hibernate stuff is known (fixed upstream). The sleep one is
> weird. I don't know why it'd work only if you listen to it :/ Are you
> sure it was configured correctly in the preferences? (I'm not on the box
> right now but maybe it changes depending on if you're on AC or battery).

This is no longer happening. I have rebooted and the "ThinkPad Extra
Buttons" have moved to /dev/input/event6 (perhaps because I disconnected
an external USB mouse). Typing Fn-F4 when running "input-events 6" now
does nothing. This is weird.

-- 
******************************************************************
                   Matthew Foulkes

 Department of Physics    phone: (020) 7594 7607
 Imperial College London  fax:   (020) 7594 7604
 South Kensington Campus  email: wmc.foulkes at imperial.ac.uk
 London SW7 2AZ           www:   www.imperial.ac.uk/research/cmth
******************************************************************





More information about the Pkg-xfce-devel mailing list