too fast two-finger scrolling on Xiaomi mi notebook pro
I did not find ways to adjust the speed of scrolling. e.g., in google chrome, one full page is scrolled by moving fingers only ~ 2 centimeters. 3-4 times slower speed would be more comfortable.
$ libinput --version
1.10.7
$libinput list-devices
.....
Device: ETD2303:00 04F3:3083 Touchpad
Kernel: /dev/input/event6
Group: 7
Seat: seat0, default
Size: 129x81mm
Capabilities: pointer gesture
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
.....
$ cat /etc/udev/hwdb.d/99-touchpad.hwdb:
evdev:name:ETD2303:00 04F3:3083 Touchpad:dmi:bvnINSYDECorp.:bvrXMAKB5R0P0502:bd10/13/2017:svnTimi:pnTM1701:pvr:rvnTimi:rnTM1701:rvrMP:cvnTimi:ct10:cvrChassisVersion:*
EVDEV_ABS_00=0:3864:30
EVDEV_ABS_01=0:2499:31
EVDEV_ABS_35=0:3864:30
EVDEV_ABS_36=0:2499:31
ID_INPUT_HEIGHT_MM=80
ID_INPUT_WIDTH_MM=128
$ touchpad-edge-detector 128x80 /dev/input/event6
Touchpad ETD2303:00 04F3:3083 Touchpad on /dev/input/event6
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..3864], y [0..2499]
Touchpad sends: x [0..3864], y [0..2499] -^C\/
Touchpad size as listed by the kernel: 128x80mm
User-specified touchpad size: 128x80mm
Calculated ranges: 3864/2499
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ETD2303:00 04F3:3083 Touchpad:dmi:bvnINSYDECorp.:bvrXMAKB5R0P0502:bd10/13/2017:svnTimi:pnTM1701:pvr:rvnTimi:rnTM1701:rvrMP:cvnTimi:ct10:cvrChassisVersion:*
EVDEV_ABS_00=0:3864:30
EVDEV_ABS_01=0:2499:31
EVDEV_ABS_35=0:3864:30
EVDEV_ABS_36=0:2499:31
$cat /sys/class/dmi/id/modalias
dmi:bvnINSYDECorp.:bvrXMAKB5R0P0502:bd10/13/2017:svnTimi:pnTM1701:pvr:rvnTimi:rnTM1701:rvrMP:cvnTimi:ct10:cvrChassisVersion:
$ udevadm info /dev/input/event6
P: /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ETD2303:00/0018:04F3:3083.0001/input/input11/event6
N: input/event6
S: input/by-path/pci-0000:00:15.0-platform-i2c_designware.0-event-mouse
E: DEVLINKS=/dev/input/by-path/pci-0000:00:15.0-platform-i2c_designware.0-event-mouse
E: DEVNAME=/dev/input/event6
E: DEVPATH=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ETD2303:00/0018:04F3:3083.0001/input/input11/event6
E: EVDEV_ABS_00=0:3864:30
E: EVDEV_ABS_01=0:2499:31
E: EVDEV_ABS_35=0:3864:30
E: EVDEV_ABS_36=0:2499:31
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=80
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=128
E: ID_PATH=pci-0000:00:15.0-platform-i2c_designware.0
E: ID_PATH_TAG=pci-0000_00_15_0-platform-i2c_designware_0
E: ID_SERIAL=noserial
E: LIBINPUT_DEVICE_GROUP=18/4f3/3083:i2c-ETD2303:00
E: MAJOR=13
E: MINOR=70
E: SUBSYSTEM=input
E: USEC_INITIALIZED=1990141