Natty: g15daemon broken support for G510 keyboard
Ted Zlatanov
tzz at lifelogs.com
Tue Apr 12 21:39:46 UTC 2011
(CC to Giacomo since he did the g15daemon package in Debian; I'm not
sure if I should be talking to the Debian or the Ubuntu developers and I
apologize if ubuntu-devel-discuss is the wrong place)
This is with Natty.
I am using the Logitech G510 keyboard. g15daemon supports it, but the
G keys are not mapped like they were with the G15 keyboard. It's as if
there are multiple events issued. For instance, here's xev running:
I switch to the xev window, hit G18, then stop xev. There are multiple
key presses with crazy keycodes, breaking my window manager (I assign G
keys to Xmonad workspaces, but all the extra keypresses go to whatever
application was active at the time).
With my G15 keyboard, only a single keycode is seen, 192 in this case
for the G18 key.
I hope this is sufficient information. Let me know if I need to provide
more.
Thanks
Ted
Outer window is 0x3200001, inner window is 0x3200002
PropertyNotify event, serial 8, synthetic NO, window 0x3200001,
atom 0x27 (WM_NAME), time 446393058, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x3200001,
atom 0x22 (WM_COMMAND), time 446393058, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x3200001,
atom 0x28 (WM_NORMAL_HINTS), time 446393058, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x3200001,
parent 0x3200001, window 0x3200002, (10,10), width 50, height 50
border_width 4, override NO
PropertyNotify event, serial 14, synthetic NO, window 0x3200001,
atom 0x110 (WM_PROTOCOLS), time 446393059, state PropertyNewValue
MapNotify event, serial 15, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200002, override NO
PropertyNotify event, serial 23, synthetic NO, window 0x3200001,
atom 0x139 (WM_STATE), time 446393059, state PropertyNewValue
ConfigureNotify event, serial 24, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200001, (0,55), width 1578, height 1509,
border_width 2, above 0xc072c6, override NO
PropertyNotify event, serial 24, synthetic NO, window 0x3200001,
atom 0x139 (WM_STATE), time 446393068, state PropertyNewValue
MapNotify event, serial 24, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200001, override NO
VisibilityNotify event, serial 24, synthetic NO, window 0x3200001,
state VisibilityUnobscured
Expose event, serial 24, synthetic NO, window 0x3200001,
(0,0), width 1578, height 10, count 3
Expose event, serial 24, synthetic NO, window 0x3200001,
(0,10), width 10, height 58, count 2
Expose event, serial 24, synthetic NO, window 0x3200001,
(68,10), width 1510, height 58, count 1
Expose event, serial 24, synthetic NO, window 0x3200001,
(0,68), width 1578, height 1441, count 0
FocusIn event, serial 24, synthetic NO, window 0x3200001,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 24, 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
PropertyNotify event, serial 24, synthetic NO, window 0x3200001,
atom 0x118 (_NET_WM_DESKTOP), time 446393069, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x3200001,
atom 0x118 (_NET_WM_DESKTOP), time 446393069, state PropertyNewValue
PropertyNotify event, serial 24, synthetic NO, window 0x3200001,
atom 0x15b (_NET_WM_ICON_GEOMETRY), time 446393082, state PropertyNewValue
KeyRelease event, serial 26, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446393094, (1639,1260), root:(1641,1317),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
XLookupString gives 1 bytes: (0d) "."
XFilterEvent returns: False
EnterNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397489, (1579,1264), root:(1581,1321),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 29, synthetic NO, window 0x0,
keys: 24 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 0 0 0 0
MotionNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397489, (1579,1264), root:(1581,1321),
state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397505, (1573,1265), root:(1575,1322),
state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397529, (1570,1265), root:(1572,1322),
state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397545, (1565,1268), root:(1567,1325),
state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397569, (1561,1270), root:(1563,1327),
state 0x0, is_hint 0, same_screen YES
MotionNotify event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446397585, (1560,1270), root:(1562,1327),
state 0x0, is_hint 0, same_screen YES
KeyPress event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446398078, (1560,1270), root:(1562,1327),
state 0x0, keycode 15 (keysym 0x36, 6), same_screen YES,
XLookupString gives 1 bytes: (36) "6"
XmbLookupString gives 1 bytes: (36) "6"
XFilterEvent returns: False
MappingNotify event, serial 29, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 29, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446398078, (1560,1270), root:(1562,1327),
state 0x0, keycode 192 (keysym 0x1008ff45, XF86Launch5), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
MappingNotify event, serial 31, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyRelease event, serial 31, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446398166, (1560,1270), root:(1562,1327),
state 0x0, keycode 15 (keysym 0x36, 6), same_screen YES,
XLookupString gives 1 bytes: (36) "6"
XFilterEvent returns: False
MappingNotify event, serial 32, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyRelease event, serial 32, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446398186, (1560,1270), root:(1562,1327),
state 0x0, keycode 192 (keysym 0x1008ff45, XF86Launch5), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
MotionNotify event, serial 33, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446398769, (1566,1269), root:(1568,1326),
state 0x0, is_hint 0, same_screen YES
LeaveNotify event, serial 33, synthetic NO, window 0x3200001,
root 0x27a, subw 0x0, time 446398785, (1591,1268), root:(1593,1325),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 0
PropertyNotify event, serial 33, synthetic NO, window 0x3200001,
atom 0x139 (WM_STATE), time 446398793, state PropertyNewValue
FocusOut event, serial 33, synthetic NO, window 0x3200001,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 33, synthetic NO, window 0x3200001,
atom 0x118 (_NET_WM_DESKTOP), time 446398793, state PropertyNewValue
MappingNotify event, serial 33, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
More information about the Ubuntu-devel-discuss
mailing list