]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: fix Lenovo B570e touchpad ABS ranges for edge scrolling (#43264)
authorlzwind <100665065+lzwind@users.noreply.github.com>
Mon, 3 Aug 2026 04:43:45 +0000 (12:43 +0800)
committerGitHub <noreply@github.com>
Mon, 3 Aug 2026 04:43:45 +0000 (13:43 +0900)
The Lenovo B570e touchpad (ETPS/2 Elantech) reports ABS ranges that
are too wide by default, which makes edge scrolling trigger across
roughly the right half of the touchpad instead of only at the right
edge. Add an evdev hwdb entry in `60-evdev.hwdb` that overrides the
ABS_X/ABS_Y (and the matching MT position) ranges with the calibrated
values, following the same pattern already used for the Lenovo B590
and L430 entries.

Fixes #29666

hwdb.d/60-evdev.hwdb

index e1e30700c4470bdaa822e819a1b2cb7a5ad6e5b0..7730bdc76b76898555d632cf5bb0aa6b35a09b2a 100644 (file)
@@ -566,6 +566,16 @@ evdev:name:SYNA3602:00 093A:35ED Touchpad:dmi:*svnInfinix:*pnY3Max**
 # Lenovo
 #########################################
 
+# Lenovo B570e
+# Fixes wrong touchpad edge-scroll area: without this override the
+# kernel reports wider ABS ranges, making edge scrolling trigger across the
+# right half of the touchpad.
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnLENOVO*:pvrLenovoB570e:*
+ EVDEV_ABS_00=0:2934:29
+ EVDEV_ABS_01=-652:652:26
+ EVDEV_ABS_35=0:2934:29
+ EVDEV_ABS_36=-652:652:26
+
 # Lenovo B590
 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrLenovoB590:*
  EVDEV_ABS_00=1243:5759:48