I have bluetooth headset with multimedia keys - prev, next, play/stop (one key, events rotate). All keys fine work, but not play/stop. After stop playing, button cant start play. I run unity-settings-daemon with gdb, and program dont recive XEvent if headset generate plаy event, but recive others events. Not only unity affected, gnome to. Event "play" filtered in xorg/xkb or more anywhere.
Out xev: """ KeyRelease event, serial 38, synthetic NO, window 0x5000001, root 0x28f, subw 0x0, time 1857845, (1073,512), root:(1073,564), state 0x0, keycode 209 (keysym 0x1008ff31, XF86AudioPause), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 38, synthetic NO, window 0x5000001, root 0x28f, subw 0x0, time 1870079, (88,93), root:(88,145), state 0x0, keycode 208 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES, XKeysymToKeycode returns keycode: 172 XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 38, synthetic NO, window 0x5000001, root 0x28f, subw 0x0, time 1870087, (88,93), root:(88,145), state 0x0, keycode 208 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES, XKeysymToKeycode returns keycode: 172 XLookupString gives 0 bytes: XFilterEvent returns: False "" For play key generate KeyPress and KeyRelease events. For others only KeyRelease event. evtest out: """ Event: time 1448926844.966315, type 1 (EV_KEY), code 201 (KEY_PAUSECD), value 1 Event: time 1448926844.966315, -------------- SYN_REPORT ------------ Event: time 1448926844.982340, type 1 (EV_KEY), code 201 (KEY_PAUSECD), value 0 Event: time 1448926844.982340, -------------- SYN_REPORT ------------ Event: time 1448926846.181324, type 1 (EV_KEY), code 200 (KEY_PLAYCD), value 1 Event: time 1448926846.181324, -------------- SYN_REPORT ------------ Event: time 1448926846.187562, type 1 (EV_KEY), code 200 (KEY_PLAYCD), value 0 Event: time 1448926846.187562, -------------- SYN_REPORT ------------ """ Here for all buttons generate 2 events. That headset work fine. I was trying to figure out the source code, but it is very confusing. Please specify at least where to look for the error. There is described in more detail and normal English. https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1397142
_______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
