[Pkg-xfce-devel] Bug#633875: Bug#633875: Bug#633875: xfce4-power-manager: power button not detected

Yves-Alexis Perez corsac at debian.org
Thu Jul 21 11:13:03 UTC 2011


On jeu., 2011-07-21 at 06:20 -0300, Art O. "utrrrongeeb" wrote:
> On Wed, Jul 20, 2011 at 06:28, Yves-Alexis Perez <corsac at debian.org> wrote:
> 
> > On jeu., 2011-07-14 at 12:42 -0300, Art Ortenburger wrote:
> > > Package: xfce4-power-manager
> > > Version: 1.0.10-4
> > > Severity: normal
> > >
> >
> Can you run upower --monitor and report back if power button press is
> > detected?
> >
> > Regards,
> > --
> > Yves-Alexis
> >
> 
> It is not detected. If I kill xfce4-power-manager, and optionally launch
> gnome-power-manager (set to Shutdown), the system shuts down; in the second
> or so beforehand, upower has not reported any events.
> 
> Transcript (power button was pressed before interrupting upower):
> $ upower --monitor
> Monitoring activity from the power daemon. Press Ctrl+C to cancel.
> ^C

Ok, it's not detected either in upower for me so that's normal.

For reference, when pressing the power button here (I need to wait 1 or
2 sec on my thinkpad before it reacts) I have (using xfce4-power-manager
--debug --no-daemon)

TRACE[xfpm-button.c:114] xfpm_button_filter_x_events(): Key press: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:259] xfpm_manager_button_pressed_cb(): Received button press event: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:287] xfpm_manager_button_pressed_cb(): Shutdown request : : ((XfpmShutdownRequest) XFPM_ASK)

And in evtest:

Event: time 1311244141.940901, type 1 (Key), code 116 (Power), value 1
Event: time 1311244141.940907, -------------- Report Sync ------------
Event: time 1311244141.940915, type 1 (Key), code 116 (Power), value 0
Event: time 1311244141.940917, -------------- Report Sync ------------

Could you check what xfpm reports?

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20110721/d15c4ad3/attachment.pgp>


More information about the Pkg-xfce-devel mailing list