Bug 98644

Summary: 4-finger scrolling not recognized by libinput
Product: Wayland Reporter: hoboprimate
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: 1.5.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description hoboprimate 2016-11-08 19:13:31 UTC
Pinch to zoom and two-finger scrolling works, but 4-finger scrolling is not recognized by libinput.

Running in Gnome 3.22 Wayland.

libinput-list-devices output:

Device:           SYN1B7E:01 06CB:2970 Touchpad
Kernel:           /dev/input/event13
Group:            6
Seat:             seat0, default
Size:             103.00x74.83mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

libinput-debug-events output:

[The line "gesture state: GESTURE_STATE_NONE → GESTURE_STATE_UNKNOW" appears when I 4-finger swipe.]

Here's the full log:

input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
input device 'Power Button', /dev/input/event3 is a keyboard
input device 'Video Bus', /dev/input/event6 is tagged by udev as: Keyboard
input device 'Video Bus', /dev/input/event6 is a keyboard
input device 'Power Button', /dev/input/event1 is tagged by udev as: Keyboard
input device 'Power Button', /dev/input/event1 is a keyboard
input device 'Lid Switch', /dev/input/event0 not tagged as input device
not using input device '/dev/input/event0'.
input device 'Sleep Button', /dev/input/event2 is tagged by udev as: Keyboard
input device 'Sleep Button', /dev/input/event2 is a keyboard
input device 'Video Bus', /dev/input/event5 is tagged by udev as: Keyboard
input device 'Video Bus', /dev/input/event5 is a keyboard
input device 'HDA Intel HDMI HDMI/DP,pcm=3', /dev/input/event7 not tagged as input device
not using input device '/dev/input/event7'.
input device 'HDA Intel HDMI HDMI/DP,pcm=7', /dev/input/event8 not tagged as input device
not using input device '/dev/input/event8'.
input device 'HDA Intel HDMI HDMI/DP,pcm=8', /dev/input/event9 not tagged as input device
not using input device '/dev/input/event9'.
input device 'HD WebCam', /dev/input/event14 is tagged by udev as: Keyboard
input device 'HD WebCam', /dev/input/event14 is a keyboard
input device 'HDA Intel PCH Headphone', /dev/input/event10 not tagged as input device
not using input device '/dev/input/event10'.
input device 'SYN1B7E:01 06CB:2970 Touchpad', /dev/input/event13 is tagged by udev as: Touchpad
thumb: enabled thumb detection on 'SYN1B7E:01 06CB:2970 Touchpad'
input device 'SYN1B7E:01 06CB:2970 Touchpad', /dev/input/event13 is a touchpad
input device 'AT Translated Set 2 keyboard', /dev/input/event4 is tagged by udev as: Keyboard
input device 'AT Translated Set 2 keyboard', /dev/input/event4 is a keyboard
palm: dwt activated with SYN1B7E:01 06CB:2970 Touchpad<->AT Translated Set 2 keyboard
input device 'Acer WMI hotkeys', /dev/input/event11 is tagged by udev as: Keyboard
input device 'Acer WMI hotkeys', /dev/input/event11 is a keyboard
Failed to open /dev/input/event12 (Operation not permitted)
opening input device '/dev/input/event12' failed (Operation not permitted).
failed to create input device '/dev/input/event12'.
-event3 	DEVICE_ADDED     Power Button                      seat0 default group1 cap:k
-event6 	DEVICE_ADDED     Video Bus                         seat0 default group2 cap:k
-event1 	DEVICE_ADDED     Power Button                      seat0 default group3 cap:k
-event2 	DEVICE_ADDED     Sleep Button                      seat0 default group4 cap:k
-event5 	DEVICE_ADDED     Video Bus                         seat0 default group2 cap:k
-event14	DEVICE_ADDED     HD WebCam                         seat0 default group5 cap:k
-event13	DEVICE_ADDED     SYN1B7E:01 06CB:2970 Touchpad     seat0 default group6 cap:pg	size 103.00/74.83mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event4 	DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group7 cap:k
-event11	DEVICE_ADDED     Acer WMI hotkeys                  seat0 default group8 cap:k
thumb state: THUMB_STATE_MAYBE → THUMB_STATE_NO
button state: from BUTTON_STATE_NONE, event BUTTON_EVENT_IN_AREA to BUTTON_STATE_AREA
thumb state: THUMB_STATE_MAYBE → THUMB_STATE_NO
thumb state: THUMB_STATE_MAYBE → THUMB_STATE_NO
button state: from BUTTON_STATE_NONE, event BUTTON_EVENT_IN_AREA to BUTTON_STATE_AREA
button state: from BUTTON_STATE_NONE, event BUTTON_EVENT_IN_AREA to BUTTON_STATE_AREA
gesture state: GESTURE_STATE_NONE → GESTURE_STATE_UNKNOWN
button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to BUTTON_STATE_NONE
button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to BUTTON_STATE_NONE
button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to BUTTON_STATE_NONE
place-event4 	KEYBOARD_KEY      +1.84s	KEY_LEFTCTRL (29) pressed
 event4 	KEYBOARD_KEY      +2.02s	KEY_C (46) pressed
Comment 1 hoboprimate 2016-11-08 19:14:16 UTC
Forgot to mention that 3-finger swipe is also recognized.
Comment 2 hoboprimate 2016-11-08 21:12:22 UTC
Was asked at #Wayland:

"does your touchpad have BTN_TOOL_QUADTAP in the evemu-record output?"

It doesn't, which means it doesn't support 4-fingers, so closing this.

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.