Comment 6 for bug 410829

Revision history for this message
Janne Hyötylä (janne-hyotyla) wrote : Re: Pressing Suspend key turns off display instead of suspending

The suspend key is recognized correctly. Here the xev output:

KeyPress event, serial 34, synthetic NO, window 0x1400001,
    root 0xff, subw 0x0, time 21205448, (100,89), root:(1302,142),
    state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x1400001,
    root 0xff, subw 0x0, time 21205448, (100,89), root:(1302,142),
    state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Then I looked in gconf, XF86Suspend is only found in this key:
/apps/gnome_settings_daemon/keybindings/sleep
so this should be correct.

I was unable to debug GPM. When running
$ gnome-power-manager --verbose --no-daemon
(after killing running instances)
I get no output to the console whatsoever..?

When no instance gnome-power-manager is running, Fn-F1 still blanks the screen. Other buttons like the power button do not work anymore.