Package: libinput10
Version: 1.2.4-1
Severity: normal

        This looks like an upstream bug.  I have the following devices
on my Dell Latitude E6540:
---
$ xinput list | grep Alps
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=13   [slave  pointer (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick             id=14   [slave  pointer (2)]

X is using libinput:
---
$ grep Alps /var/log/Xorg.0.log | grep 'Using input driver'
[    37.977] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS DualPoint 
TouchPad'
[    38.000] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS DualPoint 
Stick'

The problem started after upgrading yesterday from libinput 1.2.3 to
1.2.4.

        I checked out the upstream repo from:
---
git://anongit.freedesktop.org/git/wayland/libinput

and see quite a lot of recent work by Peter Hutterer around middle mouse
button emulation:
---
115c51224116c9017f72f863fb07f43976f5a275
c61dfc80bd0e80b926bef8b972ea80a7d195bb53
aeb0c21b1c8dcf1dd8b6be7dc453b47eb907c4f7
d76263a00fc0b82906043c276d93b7081f6ab81e

I have a feeling those commits may have broken or changed something.  As
far as I can tell, it should be working:
---
$ xinput get-button-map 13                                    
1 2 3 4 5 6 7 

But using either xev or "xinput query-state 13", I can never get button
2 to show up, only buttons 1 and 3.  It's worth noting that button 2
works fine for my Stick device (it has a separate row of three buttons
directly above my trackpad).  However, I'm so accustom to using the
emulated middle mouse by using the left and right buttons of my
trackpad, I seemed to have completely forgotten about the still
functioning buttons above the trackpad.  It's a decent workaround for
the time being anyway.

        Here is a list of properties from my trackpad.  I would expect
to have seen something about middle mouse button emulation here, but I'm
not entirely sure what it looked like before:
---
$ xinput list-props 13                                        
Device 'AlpsPS/2 ALPS DualPoint TouchPad':
        Device Enabled (150):   1
        Coordinate Transformation Matrix (152): 1.000000, 0.000000, 0.000000, 
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (286): 0
        libinput Tapping Enabled Default (287): 0
        libinput Tapping Drag Enabled (288):    1
        libinput Tapping Drag Enabled Default (289):    1
        libinput Tapping Drag Lock Enabled (290):       0
        libinput Tapping Drag Lock Enabled Default (291):       0
        libinput Accel Speed (292):     0.000000
        libinput Accel Speed Default (293):     0.000000
        libinput Natural Scrolling Enabled (294):       0
        libinput Natural Scrolling Enabled Default (295):       0
        libinput Send Events Modes Available (270):     1, 1
        libinput Send Events Mode Enabled (271):        0, 0
        libinput Send Events Mode Enabled Default (272):        0, 0
        libinput Left Handed Enabled (296):     0
        libinput Left Handed Enabled Default (297):     0
        libinput Scroll Methods Available (298):        1, 1, 0
        libinput Scroll Method Enabled (299):   1, 0, 0
        libinput Scroll Method Enabled Default (300):   1, 0, 0
        libinput Disable While Typing Enabled (301):    1
        libinput Disable While Typing Enabled Default (302):    1
        Device Node (273):      "/dev/input/event2"
        Device Product ID (274):        2, 8
        libinput Drag Lock Buttons (303):       <no items>
        libinput Horizonal Scroll Enabled (275):        1
---

        I think that's all the relevant stuff.  Let me know if anything
else is required.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages libinput10 depends on:
ii  libc6      2.22-7
ii  libevdev2  1.4.6+dfsg-1
ii  libmtdev1  1.1.5-1
ii  libudev1   229-5
ii  libwacom2  0.18-1

libinput10 recommends no packages.

libinput10 suggests no packages.

-- no debconf information

Reply via email to