diff -Nru libinput-1.20.0/debian/changelog libinput-1.20.0/debian/changelog --- libinput-1.20.0/debian/changelog 2022-04-21 07:48:57.000000000 +0800 +++ libinput-1.20.0/debian/changelog 2023-01-12 14:58:22.000000000 +0800 @@ -1,3 +1,11 @@ +libinput (1.20.0-1ubuntu0.2) jammy; urgency=medium + + * Disable pressure for not detecting contact size (LP: #2002609) + - d/p/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch + Disable the pressure handling for the touchpad. + + -- Kai-Chuan Hsieh Thu, 12 Jan 2023 14:58:22 +0800 + libinput (1.20.0-1ubuntu0.1) jammy-security; urgency=medium * SECURITY UPDATE: Format string vulnerability diff -Nru libinput-1.20.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch libinput-1.20.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch --- libinput-1.20.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch 1970-01-01 08:00:00.000000000 +0800 +++ libinput-1.20.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch 2023-01-12 14:58:12.000000000 +0800 @@ -0,0 +1,29 @@ +From 29a49e968e67eb7bf6d63c9f93b06ee983772018 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 +--- + quirks/50-system-dell.quirks | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -108,3 +108,11 @@ + 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; diff -Nru libinput-1.20.0/debian/patches/series libinput-1.20.0/debian/patches/series --- libinput-1.20.0/debian/patches/series 2022-04-13 10:51:24.000000000 +0800 +++ libinput-1.20.0/debian/patches/series 2023-01-12 14:53:50.000000000 +0800 @@ -1,2 +1,3 @@ #placeholder 0001-evdev-strip-the-device-name-of-format-directives.patch +0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch