Comment 22 for bug 1581626

Revision history for this message
Stian Soiland-Reyes (soiland-reyes) wrote :

I have the same device (Jabra Evolve 40) and can reproduce in Ubuntu Gnome 16.04.

The bug seems to be that the mouse button 12 (aka BTN_7) remains pressed whenever the headset jack is connected to the hub with the volume buttons. If you disconnect the headset then a ButtonRelease appears and regular mouse click behaviour is restored.

xev, connecting jack:

ButtonPress event, serial 36, synthetic NO, window 0x400001,
    root 0x2e4, subw 0x0, time 186231, (162,86), root:(3309,349),
    state 0x0, button 12, same_screen YES

Disconnecting jack from hub:

ButtonRelease event, serial 36, synthetic NO, window 0x400001,
    root 0x2e4, subw 0x0, time 190327, (162,86), root:(3309,349),
    state 0x0, button 12, same_screen YES

evtest reports plugging in event as:

Event: time 1526305450.981481, type 4 (EV_MSC), code 4 (MSC_SCAN), value ff600002
Event: time 1526305450.981481, type 1 (EV_KEY), code 263 (BTN_7), value 1
Event: time 1526305450.981481, -------------- SYN_REPORT ------------