From f60bce8d08e3f94364f8a5f3c9d0c37615a3fbda Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 6 Aug 2024 02:27:05 +0000 Subject: automatic import of libinput --- ...dd-quirks-for-Dell-Precision5680-Touchpad.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch (limited to '0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch') diff --git a/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch b/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch new file mode 100644 index 0000000..244a6e1 --- /dev/null +++ b/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch @@ -0,0 +1,39 @@ +From 5414d1395dec138d3daa39db886cc40bc3eae736 Mon Sep 17 00:00:00 2001 +From: Charles Wang +Date: Wed, 11 Jan 2023 17:16:13 +0800 +Subject: [PATCH] quirks: add quirks for Dell Precision5680 Touchpad + +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 + +Cherry-pick adjusted to work with the AttrEventCodeDisable quirk +(cherry picked from commit 29a49e968e67eb7bf6d63c9f93b06ee983772018) +(cherry picked from commit 6420178b5fdb5f9c5f353556703ae151891297fd) +Signed-off-by: Peter Hutterer +--- + quirks/50-system-dell.quirks | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks +index 9bc3e357..cbd1fbcb 100644 +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -108,3 +108,11 @@ MatchBus=usb + MatchVendor=0x2575 + MatchProduct=0x0204 + ModelDellCanvasTotem=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 ++AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; +-- +2.39.0 + -- cgit v1.2.3