Bug 98837

Summary: Swipe and Pinch gestures not recognized on AlpsPS/2 touchpad
Product: Wayland Reporter: Marc <marc.durand1>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer, st.schwarz42
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: evemu recording while swiping and piching on the touchpad.

Description Marc 2016-11-23 23:09:57 UTC
Created attachment 128173 [details]
evemu recording while swiping and piching on the touchpad.

Hi,

I am running Wayland with gnome-shell 3.22 and Archlinux on my Dell Latitude e7440. Everything is up to date, including Bios. I also checked that I'm using libinput driver for my AlpsPS/2 dualpoint touchpad (libinput-list-devices --version: 1.5.0).
However, swipe (3 or 4 fingers) and pinch events seem to be interpreted as two-finger gestures: using `libinput-debug-events`, only "POINTER_AXIS" events are reported while swiping or pinching with 2, 3 or 4 fingers.

When I boot on the Windows partition, 3 finger swipes are correctly interpeted, so I know the touchpad is technically able to handle such gestures.

Content of /sys/class/dmi/id/modalias: dmi:bvnDellInc.:bvrA18:bd04/28/2016:svnDellInc.:pnLatitudeE7440:pvr00:rvnDellInc.:rn07F3F4:rvrA00:cvnDellInc.:ct9:cvr:

Approximate physical dimensions of the touchpad: 9.0 x 4.7 centimeters.


Here is the the result of `libinput-list-devices`:

Device:           Power Button
Kernel:           /dev/input/event4
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event12
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event2
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event3
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Laptop_Integrated_Webcam_HD
Kernel:           /dev/input/event6
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event0
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AlpsPS/2 ALPS DualPoint Stick
Kernel:           /dev/input/event16
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           AlpsPS/2 ALPS DualPoint TouchPad
Kernel:           /dev/input/event17
Group:            7
Seat:             seat0, default
Size:             95.24x43.75mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: enabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

Device:           Dell WMI hotkeys
Kernel:           /dev/input/event7
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a
Comment 1 Peter Hutterer 2016-11-24 05:54:25 UTC
see commit 342bc510164e89d7c9a742406fb98f9deabf5c8f and e.g. bug 93583.

Your device is a semi-mt device and we disable gestures on them by default because the data we get is largely garbage. I'll have a more detailed look at your recording later but right now all I can say is this is, unfortunately, intended behaviour
Comment 2 Marc 2016-11-24 13:54:47 UTC
I hope this will be fixed soon, I think a large part of laptops are equiped with such touchpads unfortunately !
Comment 3 Peter Hutterer 2016-11-24 21:47:27 UTC
you can try reverting that commit and testing libinput to see how reliable the various gestures are with it. If it works, it may be possible to put a device-specific quirk in for your device
Comment 4 Peter Hutterer 2017-02-20 23:42:35 UTC
needinfo for several months, closing. please re-open when the requested information is available.
Comment 5 Stefan Schwarz 2017-04-14 10:24:36 UTC
Hello Peter,

I'm having the same problem.
Everything is working fine in windows, in Antergos with libinput 1.7.0 only two finger scrolling.
With my last notebook (elantech) it was exactly the opposite way :D

I've read all the bug reports regarding this problem but i wasn't able to find out which additional information is needed.


Could you please tell me how i could contribute to solve the problem?

A lot of the new Notebooks are using "Windows precision touch pads" so i guess we'll see a lot more of those semi-mt touch pads...


BR,
Stefan
Comment 6 Peter Hutterer 2017-05-02 06:25:22 UTC
windows precision touchpads aren't semi-mt IIRC. semi-mt is mostly the opposite of "precision" :)

I'll need an evemu-record of your touchpad first to check if it's the same issue, thanks.
Comment 7 Peter Hutterer 2017-05-23 05:45:15 UTC
ping?
Comment 8 Peter Hutterer 2017-09-06 09:21:16 UTC
Closing after 3+ months of needinfo

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.