No pointer motion for small touchpad movements less than a threshold distance.
Summary
Small movements on the touchpad are not reflected in cursor movement until a certain continuous motion distance is reached. Seems to act like a vector such that continuous motion in a circle (with a different motion vector at every moment) doesn't move the cursor at all.
Attached is a recording of: sudo libinput record /dev/input/event11 --autorestart=1 --with-libinput -o rec.yaml
where I'm moving my finger in a tight circle. Between 2-7mm in diameter. When replayed you'll note that only three cursor movements happen, instead of a cursor following the circular motion I'm making. sudo libinput debug-gui
shows such small motions on the blue trackpad indicator, but for some reason the cursor doesn't register such small motions. I don't know if this is related to this laptop's HiDPI, hysteresis, the acceleration curve, the dead zone, or what? But I'd love to have it working normally. Let me know what I can do to help debug this!
Steps to reproduce
Move your finger in a circular motion with a diameter between 1-5mm. Observe the cursor not moving, except occasionally.
libinput version you encountered the bug on
$ dpkg -l |grep libinput |awk '{print $2,$3}'
libinput-bin 1.12.6-1
libinput-tools 1.12.6-1
libinput10:amd64 1.12.6-1
xserver-xorg-input-libinput 0.28.2-2
Hardware information:
Razer Stealth 2018 (sometimes referred to as late 2017), 3200 x 1800 screen, standard trackpad, UbuntuStudio 19.04, Xorg Using input driver 'libinput'
Other log output:
-
libinput record
output: rec-short.yaml -
libinput debug-events --verbose
output: debug-events.txt (different session but same movement attempted, but the time debug-events gets it it doesn't register POINTER_MOTION except when the cursor moves)
P: /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-1A586757:00/0018:06CB:8323.0001/input/input22/event11
N: input/event11
L: 0
S: input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-1A586757:00/0018:06CB:8323.0001/input/input22/event11
E: DEVNAME=/dev/input/event11
E: MAJOR=13
E: MINOR=75
E: SUBSYSTEM=input
E: USEC_INITIALIZED=4162314
E: EVDEV_ABS_00=::12:8
E: EVDEV_ABS_01=::11:8
E: EVDEV_ABS_35=::12:8
E: EVDEV_ABS_36=::11:8
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=101
E: ID_INPUT_HEIGHT_MM=60
E: ID_SERIAL=noserial
E: ID_PATH=pci-0000:00:15.1-platform-i2c_designware.1
E: ID_PATH_TAG=pci-0000_00_15_1-platform-i2c_designware_1
E: LIBINPUT_DEVICE_GROUP=18/6cb/8323:i2c-1A586757:00
E: DEVLINKS=/dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
dmi:bvnRazer:bvr3.03:bd05/22/2018:svnRazer:pnBladeStealth:pvr4.06:rvnRazer:rnBladeStealth:rvr:cvnRazer:ct9:cvr:
got out my nice ruler for this one:
Touchpad 1A586757:00 06CB:8323 Touchpad on /dev/input/event11
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..1220], y [0..721]
Touchpad sends: x [3..1217], y [1..718] -^C.-2147483648] -
Touchpad size as listed by the kernel: 101x65mm
User-specified touchpad size: 105x65mm
Calculated ranges: 1214/717
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:1A586757:00 06CB:8323 Touchpad:dmi:bvnRazer:bvr3.03:bd05/22/2018:svnRazer:pnBladeStealth:pvr4.06:rvnRazer:rnBladeStealth:rvr:cvnRazer:ct9:cvr:*
EVDEV_ABS_00=3:1217:12
EVDEV_ABS_01=1:718:11
EVDEV_ABS_35=3:1217:12
EVDEV_ABS_36=1:718:11
/label bug needs triage