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

Vincent Bernat bernat at debian.org
Wed Oct 26 22:27:42 UTC 2011


Package: xfce4-power-manager
Version: 1.0.10-4+b1
Followup-For: Bug #633875

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I have the same problem. When running xfpm in debug mode, I get:

TRACE[xfpm-polkit.c:369] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:456] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:456] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.upower.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1152] xfpm_power_refresh_adaptor_visible(): Tray icon configuration: : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-power.c:1117] xfpm_power_hide_adapter_icon(): Hide adaptor icon
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)

(xfce4-power-manager:5073): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode

TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:179] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)

With evtest:

/dev/input/event0:	Power Button
/dev/input/event1:	Power Button
/dev/input/event2:	HID 046a:0011
/dev/input/event3:	Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
/dev/input/event4:	PC Speaker
/dev/input/event5:	HD-Audio Generic HDMI/DP
/dev/input/event6:	ACPI Virtual Keyboard Device
Select the device event number [0-6]: 1
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x1 version 0x0
Input device name: "Power Button"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 116 (KEY_POWER)
Testing ... (interrupt to exit)
Event: time 1319667999.359808, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1319667999.359810, -------------- SYN_REPORT ------------
Event: time 1319667999.359819, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 1319667999.359820, -------------- SYN_REPORT ------------

Nothing happens if I select event0 instead of event1.
- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-power-manager depends on:
ii  libc6                     2.13-21   
ii  libcairo2                 1.10.2-6.1
ii  libdbus-1-3               1.4.16-1  
ii  libdbus-glib-1-2          0.98-1    
ii  libgdk-pixbuf2.0-0        2.24.0-1  
ii  libglib2.0-0              2.28.8-1  
ii  libgtk2.0-0               2.24.7-1  
ii  libnotify4                0.7.4-1   
ii  libx11-6                  2:1.4.4-2 
ii  libxext6                  2:1.3.0-3 
ii  libxfce4ui-1-0            4.8.0-3   
ii  libxfce4util4             4.8.2-1   
ii  libxfconf-0-2             4.8.0-3   
ii  libxrandr2                2:1.3.2-2 
ii  upower                    0.9.14-1  
ii  xfce4-power-manager-data  1.0.10-4  

Versions of packages xfce4-power-manager recommends:
ii  consolekit  0.4.5-1

Versions of packages xfce4-power-manager suggests:
ii  udisks                       1.0.4-2    
ii  xfce4-power-manager-plugins  1.0.10-4+b1

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk6oiVsACgkQKFvXofIqeU6a1gCfeiy7oM8MgZT9WNDnR6Rc/Huw
VrYAnR/TSnEbQjGkcRleUnHgBGKS/xR+
=RJOo
-----END PGP SIGNATURE-----





More information about the Pkg-xfce-devel mailing list