Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-11-02 Thread Yves-Alexis Perez
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.

Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-30 Thread Trevor Chart
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,

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Matthew Foulkes
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

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Matthew Foulkes
> 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 l

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Matthew Foulkes
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=

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Yves-Alexis Perez
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 iss

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Yves-Alexis Perez
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

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Matthew Foulkes
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 prob

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Yves-Alexis Perez
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 :

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-19 Thread Matthew Foulkes
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 prin

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-18 Thread Yves-Alexis Perez
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 not

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-18 Thread Matthew Foulkes
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 hiberna

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-18 Thread Matthew Foulkes
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 xf

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-18 Thread Yves-Alexis Perez
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 pow

Bug#542238: [Pkg-xfce-devel] Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-18 Thread Yves-Alexis Perez
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) button

Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

2009-08-18 Thread Matthew Foulkes
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 pres