diff -Nru libinput-1.22.0/debian/changelog libinput-1.22.0/debian/changelog --- libinput-1.22.0/debian/changelog 2022-11-22 20:10:13.000000000 +0800 +++ libinput-1.22.0/debian/changelog 2023-01-12 16:20:42.000000000 +0800 @@ -1,3 +1,11 @@ +libinput (1.22.0-1ubuntu1) lunar; 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 16:20:42 +0800 + libinput (1.22.0-1) unstable; urgency=medium * New upstream release. diff -Nru libinput-1.22.0/debian/control libinput-1.22.0/debian/control --- libinput-1.22.0/debian/control 2022-11-21 23:43:10.000000000 +0800 +++ libinput-1.22.0/debian/control 2023-01-12 16:20:42.000000000 +0800 @@ -1,7 +1,8 @@ Source: libinput Section: libs Priority: optional -Maintainer: Debian X Strike Force +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian X Strike Force Uploaders: Emilio Pozuelo Monfort , Héctor Orón Martínez Build-Depends: debhelper-compat (= 12), diff -Nru libinput-1.22.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch libinput-1.22.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch --- libinput-1.22.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch 1970-01-01 08:00:00.000000000 +0800 +++ libinput-1.22.0/debian/patches/0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch 2023-01-12 16:20:17.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.22.0/debian/patches/series libinput-1.22.0/debian/patches/series --- libinput-1.22.0/debian/patches/series 2022-11-21 23:43:10.000000000 +0800 +++ libinput-1.22.0/debian/patches/series 2023-01-12 16:20:42.000000000 +0800 @@ -1 +1,2 @@ #placeholder +0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch