Comment 7 for bug 410829

Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 410829] Re: Pressing Suspend key turns off display instead of suspending

Thanks for the info, it does look like ubuntu recognizes the suspend
key being pressed.
Could you try:
killall gnome-power-manager
gnome-power-manager --verbose

(I could get the --verbose to work that way)
There should be a lot of messages in the terminal at first and more
once you hit the suspend key.

That's interesting that with GPM killed, the screen is blanked - it
may be something in the kernel (or xserver) after all. Let's try the
gnome-power-manager --verbose first and see if that works.

2009/8/12 Janne Hyötylä <email address hidden>:
> 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.
>
> ** Changed in: gnome-power-manager (Ubuntu)
>       Status: Incomplete => New
>
> --
> Pressing Suspend key turns off display instead of suspending
> https://bugs.launchpad.net/bugs/410829
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “gnome-power-manager” package in Ubuntu: New
>
> Bug description:
> Binary package hint: gnome-power-manager
>
> Laptop: Dell Latitude D630.
>
> When pressing the suspend key (Fn-F1), only the display gets turned off, instead of suspending the laptop.
>
> In the settings, I have the following:
> When the suspend button is pressed: Suspend.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sat Aug  8 22:05:24 2009
> DistroRelease: Ubuntu 9.10
> Package: gnome-power-manager 2.27.5-0ubuntu1
> ProcEnviron:
>  PATH=(custom, user)
>  LANG=en_US.UTF-8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
> SourcePackage: gnome-power-manager
> Uname: Linux 2.6.31-5-generic i686
>