From: Jérémy Nouhaud Date: Thu, 27 Aug 2020 19:59:23 +0000 (+0200) Subject: hwdb: fix size lenovo x240 touchpad (#16871) X-Git-Tag: v247-rc1~347 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fc51a82235526f4c4a91c626f7ac53881a0ec3e;p=thirdparty%2Fsystemd.git hwdb: fix size lenovo x240 touchpad (#16871) As discussed in https://gitlab.freedesktop.org/libinput/libinput/-/issues/521, it adds a narrower match that only applies to X240. Other laptops that match `pvrThinkPad??40` are not affected: $ systemd-hwdb query 'evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX240:*' EVDEV_ABS_00=1232:5711:51 EVDEV_ABS_01=1159:4700:53 EVDEV_ABS_35=1232:5711:51 EVDEV_ABS_36=1159:4700:53 $ systemd-hwdb query 'evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX140:*' EVDEV_ABS_00=::41 EVDEV_ABS_01=::37 EVDEV_ABS_35=::41 EVDEV_ABS_36=::37 --- diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb index 6d760b2be07..bf9f68a858f 100644 --- a/hwdb.d/60-evdev.hwdb +++ b/hwdb.d/60-evdev.hwdb @@ -399,6 +399,14 @@ evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPad??40?:* EVDEV_ABS_35=::41 EVDEV_ABS_36=::37 +# Lenovo X240 series +evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX240:* +evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX240?:* + EVDEV_ABS_00=1232:5711:51 + EVDEV_ABS_01=1159:4700:53 + EVDEV_ABS_35=1232:5711:51 + EVDEV_ABS_36=1159:4700:53 + # Lenovo ThinkPad X140e evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX140e* EVDEV_ABS_00=1176:5767:62