quirks: add quirks for Dell Precision5680 Touchpad
authorCharles Wang <charles.goodix@gmail.com>
Wed, 11 Jan 2023 09:16:13 +0000 (17:16 +0800)
committerCharles Wang <charles.goodix@gmail.com>
Thu, 12 Jan 2023 02:02:35 +0000 (10:02 +0800)
This touchpad is a pressure pad and needs the pressure
handling disable.

Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/849

Signed-off-by: Charles Wang <charles.goodix@gmail.com>
quirks/50-system-dell.quirks

index 70605b9710c4464573961ea1425c1ce489c10d44..b4605c76cecc06b26a0ccdb0bd4f642773403ecc 100644 (file)
@@ -113,3 +113,11 @@ ModelDellCanvasTotem=1
 MatchName=AT Translated Set 2 keyboard
 MatchDMIModalias=dmi:*:svnDellInc.:pnLatitude52902-in-1:*
 ModelTabletModeNoSuspend=1
+
+# This is a true pressurepad so disable pressure for contact size
+# https://gitlab.freedesktop.org/libinput/libinput/-/issues/849
+[Dell Precision5680 Touchpad]
+MatchBus=i2c
+MatchVendor=0x27C6
+MatchProduct=0x0F60
+AttrEventCode=-ABS_MT_PRESSURE;-ABS_PRESSURE;