On jeu., 2011-07-21 at 06:20 -0300, Art O. "utrrrongeeb" wrote:
> On Wed, Jul 20, 2011 at 06:28, Yves-Alexis Perez <cor...@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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to