Re: [ibm-acpi-devel] thinkpad-acpi: fn-f4 issues

From: Dominik Kopp
Date: Wed Jan 26 2011 - 16:58:49 EST


Am 26.01.2011 00:16, schrieb Henrique de Moraes Holschuh:
The driver IS asking for Fn+F4 events. Please send me the output of
acpidump, gzipped.
acpidump attached.
In the meanwhile, check if the input device is producing events when
you're pressing Fn+f4. It could well be sending KEY_SUSPEND, but if
there's nobody listening...

do you mean xev?
if yes: they are producing KeyPress and KeyRelease events (but nothing else)

see logs full (attached)

-----------
KeyPress event, serial 34, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8303278, (-91,518), root:(1094,541),
state 0x0, keycode 150 (keysym 0x1008ff2f, XF86Sleep), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8303278, (-91,518), root:(1094,541),
state 0x0, keycode 150 (keysym 0x1008ff2f, XF86Sleep), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8305536, (-91,518), root:(1094,541),
state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8305536, (-91,518), root:(1094,541),
state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
---------

Attachment: acpidump_x100e.tar.gz
Description: GNU Zip compressed data

hitting Fn+F4 (no action)
hitting Fn+F12 (no action)
hitting Fn+F1 (Audio lower works)
------------
linux-ypl4:/home/dom # xev
Outer window is 0x4800001, inner window is 0x4800002

PropertyNotify event, serial 8, synthetic NO, window 0x4800001,
atom 0x27 (WM_NAME), time 8298125, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x4800001,
atom 0x22 (WM_COMMAND), time 8298125, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x4800001,
atom 0x28 (WM_NORMAL_HINTS), time 8298125, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x4800001,
parent 0x4800001, window 0x4800002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 12, synthetic NO, window 0x4800001,
atom 0x1c4 (_KDE_NET_WM_USER_CREATION_TIME), time 8298126, state PropertyNewValue

PropertyNotify event, serial 14, synthetic NO, window 0x4800001,
atom 0x14f (WM_PROTOCOLS), time 8298127, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x4800001,
event 0x4800001, window 0x4800002, override NO

ConfigureNotify event, serial 18, synthetic NO, window 0x4800001,
event 0x4800001, window 0x4800001, (0,0), width 178, height 178,
border_width 0, above 0x2270580, override NO

ReparentNotify event, serial 18, synthetic NO, window 0x4800001,
event 0x4800001, window 0x4800001, parent 0x1e0c561,
(0,0), override NO

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x178 (_NET_WM_STATE), time 8298135, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x1d8 (_NET_WM_DESKTOP), time 8298140, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x1c9 (_NET_FRAME_EXTENTS), time 8298153, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x194 (_KDE_NET_WM_FRAME_STRUT), time 8298153, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x1de (_NET_WM_ALLOWED_ACTIONS), time 8298153, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x178 (_NET_WM_STATE), time 8298154, state PropertyNewValue

MapNotify event, serial 18, synthetic NO, window 0x4800001,
event 0x4800001, window 0x4800001, override NO

VisibilityNotify event, serial 18, synthetic NO, window 0x4800001,
state VisibilityFullyObscured

PropertyNotify event, serial 18, synthetic NO, window 0x4800001,
atom 0x156 (WM_STATE), time 8298155, state PropertyNewValue

FocusIn event, serial 18, synthetic NO, window 0x4800001,
mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 18, synthetic NO, window 0x0,
keys: 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ConfigureNotify event, serial 18, synthetic YES, window 0x4800001,
event 0x4800001, window 0x4800001, (1185,23), width 178, height 178,
border_width 0, above 0x0, override NO

VisibilityNotify event, serial 18, synthetic NO, window 0x4800001,
state VisibilityUnobscured

Expose event, serial 18, synthetic NO, window 0x4800001,
(0,0), width 178, height 10, count 3

Expose event, serial 18, synthetic NO, window 0x4800001,
(0,10), width 10, height 58, count 2

Expose event, serial 18, synthetic NO, window 0x4800001,
(68,10), width 110, height 58, count 1

Expose event, serial 18, synthetic NO, window 0x4800001,
(0,68), width 178, height 110, count 0

KeyRelease event, serial 20, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8298201, (-91,518), root:(1094,541),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False

PropertyNotify event, serial 33, synthetic NO, window 0x4800001,
atom 0x1db (_NET_WM_ICON_GEOMETRY), time 8298886, state PropertyNewValue

MappingNotify event, serial 34, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 34, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8303278, (-91,518), root:(1094,541),
state 0x0, keycode 150 (keysym 0x1008ff2f, XF86Sleep), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8303278, (-91,518), root:(1094,541),
state 0x0, keycode 150 (keysym 0x1008ff2f, XF86Sleep), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8305536, (-91,518), root:(1094,541),
state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8305536, (-91,518), root:(1094,541),
state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

MappingNotify event, serial 35, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

FocusOut event, serial 35, synthetic NO, window 0x4800001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 36, synthetic NO, window 0x4800001,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

KeyRelease event, serial 36, synthetic NO, window 0x4800001,
root 0xa5, subw 0x0, time 8309738, (-91,518), root:(1094,541),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 36, synthetic NO, window 0x4800001,
mode NotifyNormal, detail NotifyNonlinear

VisibilityNotify event, serial 36, synthetic NO, window 0x4800001,
state VisibilityPartiallyObscured
^C
linux-ypl4:/home/dom #