Debian Bug report logs -
#542238
xfce4-power-manager: ignores suspend and hibernate keys
Reported by: Matthew Foulkes <m.foulkes@blueyonder.co.uk>
Date: Tue, 18 Aug 2009 15:39:06 UTC
Severity: normal
Found in versions xfce4-power-manager/0.8.4-1, xfce4-power-manager/0.8.2-1
Done: Yves-Alexis Perez <corsac@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to
debian-bugs-dist@lists.debian.org, m.foulkes@blueyonder.co.uk, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 15:39:08 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthew Foulkes <m.foulkes@blueyonder.co.uk>:
New Bug report received and forwarded. Copy sent to
m.foulkes@blueyonder.co.uk, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 15:39:09 GMT)
Full text and
rfc822 format available.
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 15:57:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 15:57:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 542238@bugs.debian.org (full text, mbox, reply):
On mar, 2009-08-18 at 16:38 +0100, Matthew Foulkes wrote:
> 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.
I have a T61 so a very similar setup. Suspend key (Fn+F4) does work
fine, hibernate doesn't. I mean, it's not detected, so I can select the
action in the preferences. You can see upstream bug about this at
http://bugzilla.xfce.org/show_bug.cgi?id=5230
Basically, it doesn't appear in lshal, that's why it's not taken by
xfpm. You might want to check if same thing happens for you for the Fn
+F4 key.
> "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
Same here, lshal -m correctly reports the event, but the (hibernate)
button doesn't appear in lshal.
> 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.
Basically, it seems to lie in hal. Before reassigning, could you attach
the result of lshal so we can check?
Cheers,
--
Yves-Alexis
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 17:15:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
wmc.foulkes@imperial.ac.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 17:15:07 GMT)
Full text and
rfc822 format available.
Message #15 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Thanks for your quick response.
The output from lshal is attached. Looks similar to yours, although the
suspend and hibernate keys *both* fail on by R61 machine.
The name confusion, with the hibernate button called "suspend" and the
suspend button called "sleep", is a "feature" of acpi, I think.
One thing I forgot to add is that the suspend and hibernate buttons both
used to work (in KDE; I have never before tried them in XFCE) but
stopped working a few months ago. Unfortunately, I cannot remember
exactly when.
Matthew
[lshal.out (text/plain, attachment)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 17:24:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 17:24:05 GMT)
Full text and
rfc822 format available.
Message #20 received at 542238@bugs.debian.org (full text, mbox, reply):
On mar, 2009-08-18 at 18:12 +0100, Matthew Foulkes wrote:
> The output from lshal is attached. Looks similar to yours, although the
> suspend and hibernate keys *both* fail on by R61 machine.
Yeah, that's weird. In the xfpm preferences, do you see actions for
suspend and hibernate, besides the power one?
Cheers,
--
Yves-Alexis
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 17:33:12 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
wmc.foulkes@imperial.ac.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 17:33:12 GMT)
Full text and
rfc822 format available.
Message #25 received at 542238@bugs.debian.org (full text, mbox, reply):
On Tue, Aug 18, 2009 at 06:15:19PM +0100, Yves-Alexis Perez wrote:
> On mar, 2009-08-18 at 18:12 +0100, Matthew Foulkes wrote:
> > The output from lshal is attached. Looks similar to yours, although the
> > suspend and hibernate keys *both* fail on by R61 machine.
>
> Yeah, that's weird. In the xfpm preferences, do you see actions for
> suspend and hibernate, besides the power one?
Only actions for the suspend button are shown in the preferences; the
hibernate button is not mentioned. The preferences allows me to
associate various actions with the suspend button, including
hibernation, but in fact nothing happens when I press the suspend
button.
Both suspend and hibernate work when I select them from the right-click
menu of the xfce4-power-manager panel icon.
Cheers, Matthew
--
******************************************************************
Matthew Foulkes
Department of Physics phone: (020) 7594 7607
Imperial College London fax: (020) 7594 7604
South Kensington Campus email: wmc.foulkes@imperial.ac.uk
London SW7 2AZ www: www.imperial.ac.uk/research/cmth
******************************************************************
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 17:36:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthew Foulkes <wmc.foulkes@imperial.ac.uk>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 17:36:05 GMT)
Full text and
rfc822 format available.
Message #30 received at 542238@bugs.debian.org (full text, mbox, reply):
On Tue, Aug 18, 2009 at 06:31:28PM +0100, Matthew Foulkes wrote:
> On Tue, Aug 18, 2009 at 06:15:19PM +0100, Yves-Alexis Perez wrote:
> > On mar, 2009-08-18 at 18:12 +0100, Matthew Foulkes wrote:
> > > The output from lshal is attached. Looks similar to yours, although the
> > > suspend and hibernate keys *both* fail on by R61 machine.
> >
> > Yeah, that's weird. In the xfpm preferences, do you see actions for
> > suspend and hibernate, besides the power one?
>
> Only actions for the suspend button are shown in the preferences; the
> hibernate button is not mentioned. The preferences allows me to
> associate various actions with the suspend button, including
> hibernation, but in fact nothing happens when I press the suspend
> button.
It's actually called the "sleep button" in the preferences, not the
"suspend button". Sorry for adding to the naming confusion.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Tue, 18 Aug 2009 18:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Tue, 18 Aug 2009 18:24:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On mar, 2009-08-18 at 18:34 +0100, Matthew Foulkes wrote:
> > Only actions for the suspend button are shown in the preferences;
> the
> > hibernate button is not mentioned. The preferences allows me to
> > associate various actions with the suspend button, including
> > hibernation, but in fact nothing happens when I press the suspend
> > button.
>
> It's actually called the "sleep button" in the preferences, not the
> "suspend button". Sorry for adding to the naming confusion.
>
Ok, so it's not the same thing as me.
Try to run xfpm with debug stuff, to see if it correctly receives the
events.
Cheers,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 14:18:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
m.foulkes@blueyonder.co.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 14:18:03 GMT)
Full text and
rfc822 format available.
Message #40 received at 542238@bugs.debian.org (full text, mbox, reply):
I have no more spare time to devote to this but did make a little
progress before my time ran out. First, I built the src package using
export CFLAGS_APPEND="-DDEBUG -DG_HAVE_ISO_VARARGS"
dpkg-buildpackage -rfakeroot -uc -us -b
If I understand correctly, this should cause a message to be printed
every time a button press event is received. Running this version from
the command line using "xfce4-power-manager --nodaemon" first produces
the output
> xfce4-power-manager --no-daemon
>
> ** (xfce4-power-manager:15603): WARNING **: Metadata for error domain "xfpm-error-quark" already registered
>
> TRACE[xfpm-battery.c:418] xfpm_battery_refresh_primary(): battery state : ((XfpmBatteryState) BATTERY_FULLY_CHARGED)
> TRACE[xfpm-battery.c:343] xfpm_battery_refresh_common(): battery state change : ((XfpmBatteryState) BATTERY_FULLY_CHARGED)
> TRACE[xfpm-supply.c:223] xfpm_supply_refresh_tray_icon(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
> TRACE[xfpm-supply.c:223] xfpm_supply_refresh_tray_icon(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
> TRACE[xfpm-button-xf86.c:164] xfpm_button_xf86_xevent_key(): Grabbed key 222 : ((XfpmButtonKey) BUTTON_POWER_OFF)
>
> (xfce4-power-manager:15603): xfce4-power-manager-CRITICAL **: could not map keysym 1008ffa8 to keycode
>
>
> (xfce4-power-manager:15603): xfce4-power-manager-CRITICAL **: could not map keysym 1008ffa7 to keycode
>
> TRACE[xfpm-button-xf86.c:164] xfpm_button_xf86_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
>
> (xfce4-power-manager:15603): xfce4-power-manager-CRITICAL **: could not map keysym 1008ff02 to keycode
but nothing is added when I press the sleep or hibernate buttons. It
looks as if xfpm is unaware of the button presses, even though hal
notices them.
FWIW, I also tried building xfpm without optimisation, only to see it
crash with a SIGSEGV. By rebuilding without stripping the debugging
symbols
export CFLAGS="-g -O0 -DDEBUG -DG_HAVE_ISO_VARARGS"
export DEB_BUILD_OPTIONS=nostrip
dpkg-buildpackage -rfakeroot -uc -us -b
and running "xfce4-power-manager --no-daemon" through gdb, I obtained
the following information about the crash:
> gdb xfce4-power-manager
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu"...
> (gdb) run --no-daemon
> Starting program: /usr/bin/xfce4-power-manager --no-daemon
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7f6cc9d6c7b0 (LWP 7086)]
>
> ** (xfce4-power-manager:7086): WARNING **: Metadata for error domain "xfpm-error-quark" already registered
>
> TRACE[xfpm-battery.c:418] xfpm_battery_refresh_primary(): battery state : ((XfpmBatteryState) BATTERY_FULLY_CHARGED)
> TRACE[xfpm-battery.c:343] xfpm_battery_refresh_common(): battery state change : ((XfpmBatteryState) BATTERY_FULLY_CHARGED)
> TRACE[xfpm-supply.c:223] xfpm_supply_refresh_tray_icon(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
> TRACE[xfpm-supply.c:223] xfpm_supply_refresh_tray_icon(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
> TRACE[xfpm-button-xf86.c:164] xfpm_button_xf86_xevent_key(): Grabbed key 222 : ((XfpmButtonKey) BUTTON_POWER_OFF)
>
> (xfce4-power-manager:7086): xfce4-power-manager-CRITICAL **: could not map keysym 1008ffa8 to keycode
>
>
> (xfce4-power-manager:7086): xfce4-power-manager-CRITICAL **: could not map keysym 1008ffa7 to keycode
>
> TRACE[xfpm-button-xf86.c:164] xfpm_button_xf86_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
>
> (xfce4-power-manager:7086): xfce4-power-manager-CRITICAL **: could not map keysym 1008ff02 to keycode
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f6cc9d6c7b0 (LWP 7086)]
> 0x0000000000412fdf in xfpm_brightness_hal_init (brg=Cannot access memory at address 0x6e696c2d656b6f62
> ) at xfpm-brightness-hal.c:518
> 518 }
> (gdb) backtrace
> #0 0x0000000000412fdf in xfpm_brightness_hal_init (brg=Cannot access memory at address 0x6e696c2d656b6f62
> ) at xfpm-brightness-hal.c:518
> Cannot access memory at address 0x6e696c2d656b6f7a
It looks to be an unrelated problem, but I'm reporting it here just in
case.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 14:42:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 14:42:05 GMT)
Full text and
rfc822 format available.
Message #45 received at 542238@bugs.debian.org (full text, mbox, reply):
On mer, 2009-08-19 at 15:16 +0100, Matthew Foulkes wrote:
> > xfce4-power-manager --no-daemon
> >
> > ** (xfce4-power-manager:15603): WARNING **: Metadata for error domain "xfpm-error-quark" already registered
> >
> > TRACE[xfpm-battery.c:418] xfpm_battery_refresh_primary(): battery state : ((XfpmBatteryState) BATTERY_FULLY_CHARGED)
> > TRACE[xfpm-battery.c:343] xfpm_battery_refresh_common(): battery state change : ((XfpmBatteryState) BATTERY_FULLY_CHARGED)
> > TRACE[xfpm-supply.c:223] xfpm_supply_refresh_tray_icon(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
> > TRACE[xfpm-supply.c:223] xfpm_supply_refresh_tray_icon(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
> > TRACE[xfpm-button-xf86.c:164] xfpm_button_xf86_xevent_key(): Grabbed key 222 : ((XfpmButtonKey) BUTTON_POWER_OFF)
> >
> > (xfce4-power-manager:15603): xfce4-power-manager-CRITICAL **: could not map keysym 1008ffa8 to keycode
> >
> >
> > (xfce4-power-manager:15603): xfce4-power-manager-CRITICAL **: could not map keysym 1008ffa7 to keycode
> >
> > TRACE[xfpm-button-xf86.c:164] xfpm_button_xf86_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
> >
> > (xfce4-power-manager:15603): xfce4-power-manager-CRITICAL **: could not map keysym 1008ff02 to keycode
>
> but nothing is added when I press the sleep or hibernate buttons. It
> looks as if xfpm is unaware of the button presses, even though hal
> notices them.
xfpm uses X keys, not hal ones, so that may very well be the problem,
especially since it only detect BUTTON_SLEEP. BUTTON_HIBERNATE is not
detected for me (on the current version, should be fixed upstream) but
BUTTON_SUSPEND and BUTTON_SLEEP are.
Do you use thinkpad-acpi?
Could you use lsinput to find out which input event is the “ThinkPad
Extra Buttons” one (here it's the 3) and run:
sudo input-events 3 (or your number)
Press Fn+F4 and Fn+F12 and tell me what is reported by that.
Which kernel version do you use, btw?
Cheers,
--
Yves-Alexis
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 15:03:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
m.foulkes@blueyonder.co.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 15:03:04 GMT)
Full text and
rfc822 format available.
Message #50 received at 542238@bugs.debian.org (full text, mbox, reply):
On Wed, Aug 19, 2009 at 04:33:52PM +0200, Yves-Alexis Perez wrote:
> > but nothing is added when I press the sleep or hibernate buttons. It
> > looks as if xfpm is unaware of the button presses, even though hal
> > notices them.
>
> xfpm uses X keys, not hal ones, so that may very well be the problem,
> especially since it only detect BUTTON_SLEEP. BUTTON_HIBERNATE is not
> detected for me (on the current version, should be fixed upstream) but
> BUTTON_SUSPEND and BUTTON_SLEEP are.
>
> Do you use thinkpad-acpi?
Yes.
> Could you use lsinput to find out which input event is the “ThinkPad
> Extra Buttons” one (here it's the 3) and run:
It's 7.
> sudo input-events 3 (or your number)
> Press Fn+F4 and Fn+F12 and tell me what is reported by that.
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.
> Which kernel version do you use, btw?
The standard Debian testing kernel:
Linux version 2.6.30-1-amd64 (Debian 2.6.30-5) (maks@debian.org) (gcc version 4.3.3 (Debian 4.3.3-5) ) #1 SMP Mon Aug 3 12:28:22 UTC 2009
Best wishes, Matthew
--
******************************************************************
Matthew Foulkes
Department of Physics phone: (020) 7594 7607
Imperial College London fax: (020) 7594 7604
South Kensington Campus email: wmc.foulkes@imperial.ac.uk
London SW7 2AZ www: www.imperial.ac.uk/research/cmth
******************************************************************
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 15:12:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 15:12:03 GMT)
Full text and
rfc822 format available.
Message #55 received at 542238@bugs.debian.org (full text, mbox, reply):
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).
Cheers,
--
Yves-Alexis
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 15:27:09 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 15:27:09 GMT)
Full text and
rfc822 format available.
Message #60 received at 542238@bugs.debian.org (full text, mbox, reply):
On mer, 2009-08-19 at 16:19 +0100, Matthew Foulkes wrote:
> Pulling out the power cable makes no difference. xfpm notices that the
> computer is on battery, but Fn-F4 still does nothing. Mystifying. One
> possible difference is that "input-events" is running as root. Could it
> be a permissions issue? I am a member of the powerdev group and have
> just added myself to the polkituser group, but with no effect.
I don't think so. I mean, in that case if wouldn't work when you select
“Suspend” in xfpm tray icon menu. Make sure that, when running
input-events, it's xfpm which receive the event and put the laptop in
suspend to ram (it should be noted in the debug log).
Maybe check with polkit-auth and ck-list-sessions just to be sure you
have the rights to do what you want but I don't think it's the problem.
I really think xfpm is not receiving the key press in the general case,
and fail to understand why it does when input-events is running (unless,
maybe something else usualy grabs the input device and prevents that? Do
you use something else like tpb?)
Cheers,
--
Yves-Alexis
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 15:54:16 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
wmc.foulkes@imperial.ac.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 15:54:16 GMT)
Full text and
rfc822 format available.
Message #65 received at 542238@bugs.debian.org (full text, mbox, reply):
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@imperial.ac.uk
London SW7 2AZ www: www.imperial.ac.uk/research/cmth
******************************************************************
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 15:54:19 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
wmc.foulkes@imperial.ac.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 15:54:19 GMT)
Full text and
rfc822 format available.
Message #70 received at 542238@bugs.debian.org (full text, mbox, reply):
On Wed, Aug 19, 2009 at 04:19:05PM +0100, Yves-Alexis Perez wrote:
> On mer, 2009-08-19 at 16:19 +0100, Matthew Foulkes wrote:
> > Pulling out the power cable makes no difference. xfpm notices that the
> > computer is on battery, but Fn-F4 still does nothing. Mystifying. One
> > possible difference is that "input-events" is running as root. Could it
> > be a permissions issue? I am a member of the powerdev group and have
> > just added myself to the polkituser group, but with no effect.
>
> I don't think so. I mean, in that case if wouldn't work when you select
> “Suspend” in xfpm tray icon menu. Make sure that, when running
> input-events, it's xfpm which receive the event and put the laptop in
> suspend to ram (it should be noted in the debug log).
>
> Maybe check with polkit-auth and ck-list-sessions just to be sure you
> have the rights to do what you want but I don't think it's the problem.
>
> I really think xfpm is not receiving the key press in the general case,
> and fail to understand why it does when input-events is running (unless,
> maybe something else usualy grabs the input device and prevents that? Do
> you use something else like tpb?)
I don't use tpb. Since running input-events no longer makes any
difference, I cannot test whether it was really xfpm that put the laptop
to sleep those two times. Sorry.
--
******************************************************************
Matthew Foulkes
Department of Physics phone: (020) 7594 7607
Imperial College London fax: (020) 7594 7604
South Kensington Campus email: wmc.foulkes@imperial.ac.uk
London SW7 2AZ www: www.imperial.ac.uk/research/cmth
******************************************************************
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 19 Aug 2009 15:57:20 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
m.foulkes@blueyonder.co.uk:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 19 Aug 2009 15:57:20 GMT)
Full text and
rfc822 format available.
Message #75 received at 542238@bugs.debian.org (full text, mbox, reply):
> I don't use tpb. Since running input-events no longer makes any
> difference, I cannot test whether it was really xfpm that put the laptop
> to sleep those two times. Sorry.
I guess that xfpm had crashed or stopped working, and that the
/etc/acpi/sleep.sh script was responsible for putting the laptop to
sleep. I have tested that script before: when it detects a running power
manager it exits without doing anything; when it fails to detect a
running power manager it puts the laptop to sleep.
--
******************************************************************
Matthew Foulkes
Department of Physics phone: (020) 7594 7607
Imperial College London fax: (020) 7594 7604
South Kensington Campus email: wmc.foulkes@imperial.ac.uk
London SW7 2AZ www: www.imperial.ac.uk/research/cmth
******************************************************************
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Sun, 30 Aug 2009 02:21:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Sun, 30 Aug 2009 02:21:03 GMT)
Full text and
rfc822 format available.
Message #80 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi
I seem to be having the same problem on a hp mini 5101, when i have
xfce4-power-manager started I can't get into sleep mode, although it
does lock the screen - via xscreensaver
i placed some code in /etc/acpi/sleep.sh and found it was being called
but because it xfpm is running it doesn't handle the sleep.
I also noticed when i ran xfpm in no deamon mode it couldn't tell what
the cpu freq are !
when i kill xfpm sleep button works
Alex
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Sun, 30 Aug 2009 15:15:09 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Sun, 30 Aug 2009 15:15:10 GMT)
Full text and
rfc822 format available.
Message #85 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On dim, 2009-08-30 at 12:19 +1000, Alex Samad wrote:
> I seem to be having the same problem on a hp mini 5101, when i have
> xfce4-power-manager started I can't get into sleep mode, although it
> does lock the screen - via xscreensaver
Those are the symptoms, not sure the problem is the same.
>
> i placed some code in /etc/acpi/sleep.sh and found it was being called
> but because it xfpm is running it doesn't handle the sleep.
Yes, on purpose.
> when i kill xfpm sleep button works
And does it work when you do that from xfce4-session logout screen? Does
it work when you use the right clic on xfpm icon?
It might be related to consolekit/policykit problems, so you might want
to check if they are correctly installed/configured. Take a look at
README.Debian in xfce4 and xfce4-session packages.
Cheers,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Sun, 30 Aug 2009 20:36:08 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Trevor Chart <trevor.chart@gmail.com>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Sun, 30 Aug 2009 20:36:08 GMT)
Full text and
rfc822 format available.
Message #90 received at 542238@bugs.debian.org (full text, mbox, reply):
I've been having the same issue with xfpm. It's definitely not a
permanent fix, but commenting out the section of sleep.sh (wherever it
may be on your system) that checks for a running power manager restores
the expected functionality. Again, this is just an (_very_) ugly
hack-around, and YMMV, but it seems to work for me. I'm not precisely
sure what to expect should xfpm begin handling sleep events, but I'd
guess that you'd get a "double suspend" where waking the computer up
from suspend lets the second event put it back to sleep.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Sun, 30 Aug 2009 21:36:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Sun, 30 Aug 2009 21:36:06 GMT)
Full text and
rfc822 format available.
Message #95 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sun, Aug 30, 2009 at 05:08:39PM +0200, Yves-Alexis Perez wrote:
> On dim, 2009-08-30 at 12:19 +1000, Alex Samad wrote:
> > I seem to be having the same problem on a hp mini 5101, when i have
> > xfce4-power-manager started I can't get into sleep mode, although it
> > does lock the screen - via xscreensaver
>
> Those are the symptoms, not sure the problem is the same.
> >
> > i placed some code in /etc/acpi/sleep.sh and found it was being called
> > but because it xfpm is running it doesn't handle the sleep.
>
> Yes, on purpose.
>
> > when i kill xfpm sleep button works
>
> And does it work when you do that from xfce4-session logout screen? Does
> it work when you use the right clic on xfpm icon?
haven't tried from the logout screen, couldn't try from xfpm when I had
killed it, but when it is running it does the right thing when it is
running. it is just sleep button - which seems to lock the xscreen saver
but not goto sleep mode
>
> It might be related to consolekit/policykit problems, so you might want
> to check if they are correctly installed/configured. Take a look at
> README.Debian in xfce4 and xfce4-session packages.
I will double check I thought I had looked at this
>
> Cheers,
thanks
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Sun, 30 Aug 2009 23:06:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Sun, 30 Aug 2009 23:06:05 GMT)
Full text and
rfc822 format available.
Message #100 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On lun, 2009-08-31 at 07:21 +1000, Alex Samad wrote:
> > And does it work when you do that from xfce4-session logout screen? Does
> > it work when you use the right clic on xfpm icon?
>
> haven't tried from the logout screen, couldn't try from xfpm when I had
> killed it, but when it is running it does the right thing when it is
> running. it is just sleep button - which seems to lock the xscreen saver
> but not goto sleep mode
Well, it won't do anything when not running, obviously. Did you
configure it to do what you want, and does it detects when you press the
sleep button?
Basically, do the same tests as the other reporter.
Cheers,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 00:48:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 00:48:03 GMT)
Full text and
rfc822 format available.
Message #105 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2009 at 12:59:23AM +0200, Yves-Alexis Perez wrote:
> On lun, 2009-08-31 at 07:21 +1000, Alex Samad wrote:
> > > And does it work when you do that from xfce4-session logout screen? Does
> > > it work when you use the right clic on xfpm icon?
> >
> > haven't tried from the logout screen, couldn't try from xfpm when I had
> > killed it, but when it is running it does the right thing when it is
> > running. it is just sleep button - which seems to lock the xscreen saver
> > but not goto sleep mode
>
> Well, it won't do anything when not running, obviously. Did you
:)
> configure it to do what you want, and does it detects when you press the
> sleep button?
Okay I re tested just know, when I have xfpm started (and I have policy
kit installed - the readme.debian don't actually give any explicit info,
just that policykit should be installed and login happen from GDM -
which I have and I do)
I pressed my sleep key and nothing happened (i have xfpm started)
>
> Basically, do the same tests as the other reporter.
>
> Cheers,
>
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 04:00:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 04:00:04 GMT)
Full text and
rfc822 format available.
Message #110 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2009 at 10:41:16AM +1000, Alex Samad wrote:
> On Mon, Aug 31, 2009 at 12:59:23AM +0200, Yves-Alexis Perez wrote:
> > On lun, 2009-08-31 at 07:21 +1000, Alex Samad wrote:
[snip]
> > configure it to do what you want, and does it detects when you press the
> > sleep button?
>
> Okay I re tested just know, when I have xfpm started (and I have policy
> kit installed - the readme.debian don't actually give any explicit info,
> just that policykit should be installed and login happen from GDM -
> which I have and I do)
>
> I pressed my sleep key and nothing happened (i have xfpm started)
done some more testing, rebooting. now using the icon to suspend doesn't
suspend the machine, it does lock the screen.
>
[snip]
> > Cheers,
> >
>
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 06:06:11 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 06:06:11 GMT)
Full text and
rfc822 format available.
Message #115 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On lun, 2009-08-31 at 13:50 +1000, Alex Samad wrote:
> done some more testing, rebooting. now using the icon to suspend doesn't
> suspend the machine, it does lock the screen.
Ok so first you have a permissions problem, which is unrelated to this
bug (which is about sleep/hibernate buttons not detected by xfpm).
Check ck-list-session and polkit-auth. Make sure root isn't logged in.
Cheers,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 07:45:26 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 07:45:26 GMT)
Full text and
rfc822 format available.
Message #120 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2009 at 08:02:18AM +0200, Yves-Alexis Perez wrote:
> On lun, 2009-08-31 at 13:50 +1000, Alex Samad wrote:
> > done some more testing, rebooting. now using the icon to suspend doesn't
> > suspend the machine, it does lock the screen.
>
> Ok so first you have a permissions problem, which is unrelated to this
> bug (which is about sleep/hibernate buttons not detected by xfpm).
>
> Check ck-list-session and polkit-auth. Make sure root isn't logged in.
>
> Cheers,
okay looks like your on to something
ls -l /usr/lib/policykit/polkit-read-auth-helper
-rwxr-xr-x 1 root polkituser 9.9k 2009-06-18 18:01
/usr/lib/policykit/polkit-read-auth-helper
alex@alex-mini:~$ ck-list-sessions
** (ck-list-sessions:15961): WARNING **: Failed to get list of seats:
The permission of the setuid helper is not correct
seems like some permissions are missing, this is a fresh install !
alex
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 07:54:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 07:54:04 GMT)
Full text and
rfc822 format available.
Message #125 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On lun, 2009-08-31 at 17:34 +1000, Alex Samad wrote:
> okay looks like your on to something
>
> ls -l /usr/lib/policykit/polkit-read-auth-helper
> -rwxr-xr-x 1 root polkituser 9.9k 2009-06-18 18:01
> /usr/lib/policykit/polkit-read-auth-helper
>
> alex@alex-mini:~$ ck-list-sessions
>
> ** (ck-list-sessions:15961): WARNING **: Failed to get list of seats:
> The permission of the setuid helper is not correct
>
> seems like some permissions are missing, this is a fresh install !
-rwxr-sr-x 1 root polkituser 12K jun 18 11:45 /usr/lib/policykit/polkit-read-auth-helper
Looks like a permission problem indeed.
Cheers,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 08:00:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 08:00:06 GMT)
Full text and
rfc822 format available.
Message #130 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2009 at 09:42:00AM +0200, Yves-Alexis Perez wrote:
> On lun, 2009-08-31 at 17:34 +1000, Alex Samad wrote:
> > okay looks like your on to something
> >
> > ls -l /usr/lib/policykit/polkit-read-auth-helper
> > -rwxr-xr-x 1 root polkituser 9.9k 2009-06-18 18:01
> > /usr/lib/policykit/polkit-read-auth-helper
> >
> > alex@alex-mini:~$ ck-list-sessions
> >
> > ** (ck-list-sessions:15961): WARNING **: Failed to get list of seats:
> > The permission of the setuid helper is not correct
> >
> > seems like some permissions are missing, this is a fresh install !
>
>
> -rwxr-sr-x 1 root polkituser 12K jun 18 11:45 /usr/lib/policykit/polkit-read-auth-helper
>
> Looks like a permission problem indeed.
any idea about the ck-list-sessions
not sure what its looking for ?
>
> Cheers,
>
--
In America, it's not how much an item costs, it's how much you save.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 08:03:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 08:03:04 GMT)
Full text and
rfc822 format available.
Message #135 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2009 at 05:44:56PM +1000, Alex Samad wrote:
> On Mon, Aug 31, 2009 at 09:42:00AM +0200, Yves-Alexis Perez wrote:
> > On lun, 2009-08-31 at 17:34 +1000, Alex Samad wrote:
> > > okay looks like your on to something
> > >
> > > ls -l /usr/lib/policykit/polkit-read-auth-helper
> > > -rwxr-xr-x 1 root polkituser 9.9k 2009-06-18 18:01
> > > /usr/lib/policykit/polkit-read-auth-helper
> > >
> > > alex@alex-mini:~$ ck-list-sessions
> > >
> > > ** (ck-list-sessions:15961): WARNING **: Failed to get list of seats:
> > > The permission of the setuid helper is not correct
> > >
> > > seems like some permissions are missing, this is a fresh install !
> >
> >
> > -rwxr-sr-x 1 root polkituser 12K jun 18 11:45 /usr/lib/policykit/polkit-read-auth-helper
> >
> > Looks like a permission problem indeed.
>
> any idea about the ck-list-sessions
>
> not sure what its looking for ?
found this
/usr/lib/dbus-1.0/dbus-daemon-launch-helper
>
> >
> > Cheers,
> >
>
>
>
--
"So I don't know where [Bin Laden] is. You know, I just don't spend that much time on him."
- George W. Bush
03/13/2002
Washington, DC
White House Press Conference
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 31 Aug 2009 11:54:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Samad <alex@samad.com.au>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 31 Aug 2009 11:54:06 GMT)
Full text and
rfc822 format available.
Message #140 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2009 at 06:07:55PM +1000, Alex Samad wrote:
> On Mon, Aug 31, 2009 at 09:47:58AM +0200, Yves-Alexis Perez wrote:
> > On lun, 2009-08-31 at 17:44 +1000, Alex Samad wrote:
[snip]
> > For the correct permissions on the helper I guess? Correct that and it
> > should fix your problem, imho. Dropping the bug as it has nothing to do
> > with that.
> well i have the permissions set correctly now (I hope), both commands
> return valid info ?
>
> alex@alex-mini:~$ ck-list-sessions
> Session1:
> unix-user = '1000'
> realname = 'Alex Samad'
> seat = 'Seat1'
> session-type = ''
> active = TRUE
> x11-display = ':0'
> x11-display-device
> = '/dev/tty7'
> display-device
> = ''
> remote-host-name
> =
> ''
> is-local
> =
> TRUE
> on-since
> =
> '2009-08-31T07:59:01.403740Z'
> login-session-id
> =
> ''
>
> and polkit-auth returns
> org.freedesktop.hal.power-management.shutdown
> org.freedesktop.hal.power-management.reboot
> org.freedesktop.hal.power-management.set-powersave
> org.freedesktop.hal.power-management.suspend
> org.freedesktop.hal.power-management.hibernate
> org.freedesktop.hal.power-management.cpufreq
> org.freedesktop.hal.power-management.lcd-panel
> org.freedesktop.hal.power-management.light-sensor
> org.freedesktop.hal.power-management.keyboard-backlight
>
>
> and still no joy on suspending :)
fixed up some more permission in the helper directory, I can successfully suspend by right clicking on xfpm, but still no joy with suspend key.
alex
>
> >
> > Cheers,
> >
>
>
>
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Mon, 02 Nov 2009 09:27:09 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Mon, 02 Nov 2009 09:27:09 GMT)
Full text and
rfc822 format available.
Message #145 received at 542238@bugs.debian.org (full text, mbox, reply):
Matthew Foulkes a écrit :
> 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.
Ok, what's the status on this one. I've been a bit lost due to other
people replying with I guess different issues. So what about the initial
complain? Are you still not able to suspend using hardware key (even
when configured correctly in xfpm) while you can using the right click
on the systray icon and select suspend or hibernate?
Cheers,
--
Yves-Alexis
Reply sent
to
Yves-Alexis Perez <corsac@debian.org>:
You have taken responsibility.
(Mon, 02 Nov 2009 21:09:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Matthew Foulkes <m.foulkes@blueyonder.co.uk>:
Bug acknowledged by developer.
(Mon, 02 Nov 2009 21:09:06 GMT)
Full text and
rfc822 format available.
Message #150 received at 542238-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 0.8.4-1
On lun., 2009-11-02 at 15:21 +0000, Matthew Foulkes wrote:
> Sorry. I spoke too soon. The sleep and hibernate buttons are now working
> correctly under XFCE on my Thinkpad R61! (They are still broken in KDE.)
>
> I do not know which update fixed the problem, but it must have been a
> recent one since they were still broken quite recently.
>
> Thanks for your help and for fixing this annoying bug.
Thanks, closing,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
debian-bugs-dist@lists.debian.org, eusou15@yahoo.com, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 11 Nov 2009 00:24:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Pedro Ribeiro <eusou15@yahoo.com>:
Extra info received and forwarded to list. Copy sent to
eusou15@yahoo.com, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 11 Nov 2009 00:24:04 GMT)
Full text and
rfc822 format available.
Message #155 received at 542238@bugs.debian.org (full text, mbox, reply):
Package: xfce4-power-manager
Version: 0.8.4-1
Severity: normal
Hello all,
I have the exact same issue on a Lenovo T400 (which is merely an update of the original poster's computer, the T61).
xfce4-power-manager simply ignores both the suspend and hibernate keys. They work perfectly with gnome-power-manager and selecting suspend or hibernate from the click menu on the tray icon for xfpm also works perfectly.
hal reports:
00:14:15.587: computer_logicaldev_input_2 condition ButtonPressed = hibernate
00:14:17.310: computer_logicaldev_input_2 condition ButtonPressed = sleep
acpi_listen reports:
button/suspend SUSP 00000080 00000000
button/sleep SBTN 00000080 00000000
-- System Information:
Debian Release: squeeze/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xfce4-power-manager depends on:
ii hal 0.5.13-3 Hardware Abstraction Layer
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.82-2 simple interprocess messaging syst
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libnotify1 [libnotify1-gtk2.1 0.4.5-1 sends desktop notifications to a n
ii libpango1.0-0 1.26.0-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 libxfce4util4 4.6.1-1 Utility functions library for Xfce
ii libxfcegui4-4 4.6.1-1+b1 Basic GUI C functions for Xfce4
ii libxfconf-0-2 4.6.1-1 Client library for Xfce4 configure
ii xfce4-power-manager-data 0.8.4-1 power manager for Xfce desktop, ar
xfce4-power-manager recommends no packages.
Versions of packages xfce4-power-manager suggests:
pn xfce4-power-manager-plugins <none> (no description available)
-- no debconf information
Did not alter found versions and reopened.
Request was from
Pedro R <eusou15@yahoo.com>
to
control@bugs.debian.org.
(Wed, 11 Nov 2009 01:12:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>:
Bug#542238; Package
xfce4-power-manager.
(Wed, 11 Nov 2009 10:27:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Yves-Alexis Perez <corsac@debian.org>:
Extra info received and forwarded to list. Copy sent to
Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>.
(Wed, 11 Nov 2009 10:27:03 GMT)
Full text and
rfc822 format available.
Message #162 received at 542238@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On mer., 2009-11-11 at 00:16 +0000, Pedro Ribeiro wrote:
> Package: xfce4-power-manager
> Version: 0.8.4-1
> Severity: normal
>
> Hello all,
> I have the exact same issue on a Lenovo T400 (which is merely an
> update of the original poster's computer, the T61).
Not exactly (if it was, it would work for you :) )
> xfce4-power-manager simply ignores both the suspend and hibernate
> keys. They work perfectly with gnome-power-manager and selecting
> suspend or hibernate from the click menu on the tray icon for xfpm
> also works perfectly.
>
> hal reports:
> 00:14:15.587: computer_logicaldev_input_2 condition ButtonPressed =
> hibernate
> 00:14:17.310: computer_logicaldev_input_2 condition ButtonPressed =
> sleep
>
> acpi_listen reports:
> button/suspend SUSP 00000080 00000000
> button/sleep SBTN 00000080 00000000
Could you first test on 0.8.4.1-1 (latest available version) and report
back? It might be related to how keys are mapped too, so it could depend
on X, kernel version etc.
Cheers,
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Yves-Alexis Perez <corsac@debian.org>:
You have taken responsibility.
(Thu, 31 Mar 2011 14:39:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Matthew Foulkes <m.foulkes@blueyonder.co.uk>:
Bug acknowledged by developer.
(Thu, 31 Mar 2011 14:39:06 GMT)
Full text and
rfc822 format available.
Message #167 received at 542238-done@bugs.debian.org (full text, mbox, reply):
On mer., 2009-11-11 at 11:24 +0100, Yves-Alexis Perez wrote:
> On mer., 2009-11-11 at 00:16 +0000, Pedro Ribeiro wrote:
> > Package: xfce4-power-manager
> > Version: 0.8.4-1
> > Severity: normal
> >
> > Hello all,
> > I have the exact same issue on a Lenovo T400 (which is merely an
> > update of the original poster's computer, the T61).
>
> Not exactly (if it was, it would work for you :) )
>
> > xfce4-power-manager simply ignores both the suspend and hibernate
> > keys. They work perfectly with gnome-power-manager and selecting
> > suspend or hibernate from the click menu on the tray icon for xfpm
> > also works perfectly.
> >
> > hal reports:
> > 00:14:15.587: computer_logicaldev_input_2 condition ButtonPressed =
> > hibernate
> > 00:14:17.310: computer_logicaldev_input_2 condition ButtonPressed =
> > sleep
> >
> > acpi_listen reports:
> > button/suspend SUSP 00000080 00000000
> > button/sleep SBTN 00000080 00000000
>
> Could you first test on 0.8.4.1-1 (latest available version) and report
> back? It might be related to how keys are mapped too, so it could depend
> on X, kernel version etc.
>
Re-closing since no new information was provided.
--
Yves-Alexis
Bug archived.
Request was from
Debbugs Internal Request <owner@bugs.debian.org>
to
internal_control@bugs.debian.org.
(Fri, 29 Apr 2011 07:30:46 GMT)
Full text and
rfc822 format available.
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jun 28 18:43:13 2017;
Machine Name:
beach
Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.