Comment 5 for bug 1247584

Revision history for this message
Dmitry Pashkevich (dipish) wrote : Re: [keymap] Since upgrade to Ubuntu 13.10, udev doesn't map middle mouse button.

I'm not sure if this is the same issue, but my middle click also stopped working after 13.10 upgrade.
I'm using Lenovo X1 Carbon and it has a hardware middle mouse button. Here's the xev output when I press that button:

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys: 4294967198 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

ButtonPress event, serial 37, synthetic NO, window 0x5c00001,
    root 0x9e, subw 0x0, time 4160630, (19,6), root:(127,1108),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x5c00001,
    root 0x9e, subw 0x0, time 4160630, (19,6), root:(127,1108),
    state 0x200, button 2, same_screen YES

So it gets recognized as "button 2" but for some reason the middle click action never happens.
However if I connect a USB mouse with a scroll wheel, the middle click action works. Here's xev output for USB mouse middle click:

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys: 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 0

ButtonPress event, serial 37, synthetic NO, window 0x5c00001,
    root 0x9e, subw 0x0, time 4248704, (146,11), root:(254,1113),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x5c00001,
    root 0x9e, subw 0x0, time 4248959, (146,11), root:(254,1113),
    state 0x200, button 2, same_screen YES

The only difference that I see is the weird value in the KeymapNotify event but it doesn't make any sense to me. Somebody please help, I'm so used to my middle button!