[Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys
Matthew Foulkes
m.foulkes at blueyonder.co.uk
Tue Aug 18 15:38:08 UTC 2009
Package: xfce4-power-manager
Version: 0.8.2-1
Severity: normal
Suspend and hibernate work on my Thinkpad R61 using pm-utils and using
the xfce4-power-manager GUI in xfce4, but the sleep (Fn-F4) and
hibernate (Fn-F12) buttons on the keyboard do not work.
When the sleep and hibernate keys are pressed, "acpi_listen" reports the
following acpi events
button/sleep SBTN 00000080 00000000
button/suspend SUSP 00000080 00000000
"lshal -m" reports
09:15:11.876: computer_logicaldev_input_6 condition ButtonPressed = sleep
09:15:14.277: computer_logicaldev_input_6 condition ButtonPressed = hibernate
and "xev" reports
KeyPress event, serial 31, synthetic NO, window 0x3000001,
root 0x6b, subw 0x0, time 975061, (164,3), root:(1121,523),
state 0x0, keycode 223 (keysym 0x1008ff10, XF86Standby), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x6b, subw 0x0, time 975061, (164,3), root:(1121,523),
state 0x0, keycode 223 (keysym 0x1008ff10, XF86Standby), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 34, synthetic NO, window 0x3000001,
root 0x6b, subw 0x0, time 980721, (164,3), root:(1121,523),
state 0x0, keycode 165 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x3000001,
root 0x6b, subw 0x0, time 980721, (164,3), root:(1121,523),
state 0x0, keycode 165 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
dbus-monitor --session "type='signal',interface='org.freedesktop.PowerManagement'"
reports no dbus events.
I do not understand how xfce4-power-manager learns about acpi events and
do not know how to investigate the problem further, but would be happy
to provide additional information if asked.
I see the same symptoms when using powerdevil in kde4, so the problem
may lie at a lower level of the system. If this bug should have been
filed against a different package, please let me know which one.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xfce4-power-manager depends on:
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii libc6 2.9-23 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libdbus-glib 0.82-1 simple interprocess messaging syst
ii libglib2.0-0 2.20.4-1 The GLib library of C routines
ii libgtk2.0-0 2.16.1-2 The GTK+ graphical user interface
ii libnotify1 [ 0.4.5-1 sends desktop notifications to a n
ii libpango1.0- 1.24.5-1 Layout and rendering of internatio
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxfce4util 4.6.1-1 Utility functions library for Xfce
ii libxfcegui4- 4.6.1-1 Basic GUI C functions for Xfce4
ii libxfconf-0- 4.6.1-1 Client library for Xfce4 configure
ii xfce4-power- 0.8.2-1 power manager for Xfce desktop, ar
xfce4-power-manager recommends no packages.
Versions of packages xfce4-power-manager suggests:
ii xfce4-power-manager-plugins 0.8.2-1 power manager plugins for Xfce pan
-- no debconf information
More information about the Pkg-xfce-devel
mailing list