From: lzwind <100665065+lzwind@users.noreply.github.com> Date: Mon, 3 Aug 2026 04:43:45 +0000 (+0800) Subject: hwdb: fix Lenovo B570e touchpad ABS ranges for edge scrolling (#43264) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=855285b07e8f4868da9870f9053033477df74e9c;p=thirdparty%2Fsystemd.git hwdb: fix Lenovo B570e touchpad ABS ranges for edge scrolling (#43264) 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 --- diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb index e1e30700c44..7730bdc76b7 100644 --- a/hwdb.d/60-evdev.hwdb +++ b/hwdb.d/60-evdev.hwdb @@ -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