From 8c237aa824090968ee269a4de53a604f59a10426 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 24 Feb 2025 14:50:25 +1000 Subject: [PATCH] Add quirks for four more dell touchpads (RHEL-69798) Resolves: RHEL-69798 --- ...-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 0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch create mode 100644 0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch diff --git a/0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch b/0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch new file mode 100644 index 0000000..788501c --- /dev/null +++ b/0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch @@ -0,0 +1,38 @@ +From 74c88061868466c446a8de797ebe392eeabc7ccb 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 0fb43aacd08b..141d279e3769 100644 +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -122,3 +122,15 @@ MatchBus=i2c + MatchVendor=0x06CB + MatchProduct=0xCFA0 + AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; ++ ++[Dell laptop 14 Synaptics touchpad] ++MatchBus=i2c ++MatchVendor=0x06CB ++MatchProduct=0xCFF8 ++AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; ++ ++[Dell laptop 16 Synaptics touchpad] ++MatchBus=i2c ++MatchVendor=0x06CB ++MatchProduct=0xCFF9 ++AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; +-- +2.48.1 + diff --git a/0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch b/0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch new file mode 100644 index 0000000..c4f779d --- /dev/null +++ b/0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch @@ -0,0 +1,39 @@ +From 8c48f459ba0922e5b550ca8933ee26ff17f9cdc7 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 141d279e3769..df657eb61b97 100644 +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -134,3 +134,15 @@ MatchBus=i2c + MatchVendor=0x06CB + MatchProduct=0xCFF9 + AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; ++ ++[Dell laptop 14 Goodix touchpad] ++MatchBus=i2c ++MatchVendor=0x27C6 ++MatchProduct=0x0F61 ++AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; ++ ++[Dell laptop 16 Goodix touchpad] ++MatchBus=i2c ++MatchVendor=0x27C6 ++MatchProduct=0x0F62 ++AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; +-- +2.48.1 + diff --git a/libinput.spec b/libinput.spec index 54026f3..dbac415 100644 --- a/libinput.spec +++ b/libinput.spec @@ -5,7 +5,7 @@ Name: libinput Version: 1.19.3 -Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Input device library License: MIT @@ -21,6 +21,8 @@ Source0: http://www.freedesktop.org/software/libinput/libinput-%{version} Patch0001: 0001-evdev-strip-the-device-name-of-format-directives.patch Patch0002: 0001-quirks-add-quirks-for-Dell-Precision5680-Touchpad.patch Patch0003: 0001-quirks-Dell-Mayabay-Pressure-Pad.patch +Patch0004: 0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch +Patch0005: 0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch BuildRequires: git-core BuildRequires: gcc @@ -150,6 +152,9 @@ pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python3') %{_mandir}/man1/libinput-test-suite.1* %changelog +* Mon Feb 24 2025 Peter Hutterer - 1.19.3-5 +- Add quirks for four more dell touchpads (RHEL-69798) + * Thu Jul 06 2023 Peter Hutterer - 1.19.3-4 - Add quirk for the Mayabay pressurepad (#2219245, #2219812)