ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #15027
[Bug 410829] [NEW] Pressing Suspend key turns off display instead of suspending
You have been subscribed to a public bug:
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.
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.
Output of
$ gnome-power-manager --verbose | tee gpm.debug.log.txt
attached.
You can see keycode 213 (XF86Suspend) being "grabbed" during
initialisation (first few rows).
I pressed the button at time 18:24:00, nothing was generated in the log
as you can see.
Compared to that, I pressed the power button at 18:25:00, selected
suspend from the menu, and then resumed at 18:25:20.
So looks to me that the suspend key is intercepted before GPM gets it
(?).
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
** Affects: xorg (Ubuntu)
Importance: Low
Status: Confirmed
** Tags: apport-bug i386
--
Pressing Suspend key turns off display instead of suspending
https://bugs.launchpad.net/bugs/410829
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in ubuntu.