From 11be458f2901d4f96b8843b938f73afc242ae5bd Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 1 Aug 2025 12:23:42 +1000 Subject: [PATCH] Add quirks for four Dell pressure pads (RHEL-106932) Resolves: RHEL-106932 --- ...-add-quirk-for-Dell-Haptics-Touchpad.patch | 38 ++++++++++++++++++ ...s-for-Dell-laptop-with-Goodix-Touchp.patch | 39 +++++++++++++++++++ libinput.spec | 7 +++- 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 0003-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch create mode 100644 0004-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch diff --git a/0003-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch b/0003-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch new file mode 100644 index 0000000..13cc985 --- /dev/null +++ b/0003-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch @@ -0,0 +1,38 @@ +From ac3b94975742c06bbe1eb614edb251f2465b2dbb Mon Sep 17 00:00:00 2001 +From: Marge Yang +Date: Tue, 21 Jan 2025 07:26:41 +0000 +Subject: [PATCH] quirks: add quirk for Dell Haptics Touchpad. + +This Touchpad is a pressure pad and needs the pressure +handling disable. + +Part-of: +(cherry picked from commit af0e9a23c32d086fece58a95cb720994ad02d0b4) +Signed-off-by: Peter Hutterer +--- + quirks/50-system-dell.quirks | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks +index f46ab2b3c50e..a3492eb40e75 100644 +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -141,3 +141,15 @@ MatchProduct=0x1063 + MatchUdevType=touchpad + MatchDMIModalias=dmi:*svnDellInc.:pnPrecision5480* + ModelTouchpadVisibleMarker=0 ++ ++[Dell laptop 14 Synaptics touchpad] ++MatchBus=i2c ++MatchVendor=0x06CB ++MatchProduct=0xCFF8 ++ModelPressurePad=1 ++ ++[Dell laptop 16 Synaptics touchpad] ++MatchBus=i2c ++MatchVendor=0x06CB ++MatchProduct=0xCFF9 ++ModelPressurePad=1 +-- +2.50.1 + diff --git a/0004-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch b/0004-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch new file mode 100644 index 0000000..a26f1d1 --- /dev/null +++ b/0004-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch @@ -0,0 +1,39 @@ +From 54bbba8b2e35b6ceefed3ca0fe8c18e5b9a0759b Mon Sep 17 00:00:00 2001 +From: wangyafei +Date: Tue, 21 Jan 2025 17:17:05 +0800 +Subject: [PATCH] quirks: add quirks for Dell laptop with Goodix Touchpad. + +This touchpad is a pressure pad and needs the pressure +handling disable. + +Signed-off-by: Charles Wang +Part-of: +(cherry picked from commit 3cf6c91fff5b84757792810c4016144443581da6) +Signed-off-by: Peter Hutterer +--- + quirks/50-system-dell.quirks | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks +index a3492eb40e75..8110651e466f 100644 +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -153,3 +153,15 @@ MatchBus=i2c + MatchVendor=0x06CB + MatchProduct=0xCFF9 + ModelPressurePad=1 ++ ++[Dell laptop 14 Goodix touchpad] ++MatchBus=i2c ++MatchVendor=0x27C6 ++MatchProduct=0x0F61 ++ModelPressurePad=1 ++ ++[Dell laptop 16 Goodix touchpad] ++MatchBus=i2c ++MatchVendor=0x27C6 ++MatchProduct=0x0F62 ++ModelPressurePad=1 +-- +2.50.1 + diff --git a/libinput.spec b/libinput.spec index 80bbeac..5fcd69b 100644 --- a/libinput.spec +++ b/libinput.spec @@ -5,7 +5,7 @@ Name: libinput Version: 1.26.1 -Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Input device library # SPDX @@ -21,6 +21,8 @@ Source0: https://gitlab.freedesktop.org/libinput/libinput/-/archive/%{ver Patch0001: 0001-tablet-Remove-unnecessary-scale-factor-on-REL_HWHEEL.patch Patch0002: 0002-RHEL-map-dials-to-rings-on-the-Intuos-Pro-3rd-Gen-de.patch +Patch0003: 0003-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch +Patch0004: 0004-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch BuildRequires: git-core BuildRequires: gcc @@ -160,6 +162,9 @@ intended to be run by users. %changelog +* Fri Aug 01 2025 Peter Hutterer - 1.26.1-5 +- Add quirks for four Dell pressure pads (RHEL-106932) + * Fri Jul 25 2025 Peter Hutterer - 1.26.1-4 - Fix negative value range for the dial to ring-mapping (RHEL-104952)