From 6854614511704271e1b5699b8265bda645fabdca Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 31 Mar 2025 09:47:24 +0000 Subject: [PATCH] import CS libinput-1.19.3-5.el9_6 --- ...001-quirks-Dell-Mayabay-Pressure-Pad.patch | 28 +++++++++++++ ...-add-quirk-for-Dell-Haptics-Touchpad.patch | 38 ++++++++++++++++++ ...s-for-Dell-laptop-with-Goodix-Touchp.patch | 39 +++++++++++++++++++ SPECS/libinput.spec | 11 +++++- 4 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-quirks-Dell-Mayabay-Pressure-Pad.patch create mode 100644 SOURCES/0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch create mode 100644 SOURCES/0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch diff --git a/SOURCES/0001-quirks-Dell-Mayabay-Pressure-Pad.patch b/SOURCES/0001-quirks-Dell-Mayabay-Pressure-Pad.patch new file mode 100644 index 0000000..d2f06c0 --- /dev/null +++ b/SOURCES/0001-quirks-Dell-Mayabay-Pressure-Pad.patch @@ -0,0 +1,28 @@ +From 6dc3b6ace421ab7862a30074a5842cc99637b171 Mon Sep 17 00:00:00 2001 +From: Marge Yang +Date: Wed, 8 Feb 2023 01:24:53 -0500 +Subject: [PATCH] quirks: Dell Mayabay (Pressure Pad). + +Signed-off-by: Marge Yang +(cherry picked from commit 74415b13fb72c457e5439c974f59e1b0d08a27ed) +Signed-off-by: Peter Hutterer +--- + quirks/50-system-dell.quirks | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks +index cbd1fbcb..0fb43aac 100644 +--- a/quirks/50-system-dell.quirks ++++ b/quirks/50-system-dell.quirks +@@ -116,3 +116,9 @@ MatchBus=i2c + MatchVendor=0x27C6 + MatchProduct=0x0F60 + AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; ++ ++[Dell Mayabay Touchpad] ++MatchBus=i2c ++MatchVendor=0x06CB ++MatchProduct=0xCFA0 ++AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE; +-- +2.41.0 diff --git a/SOURCES/0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch b/SOURCES/0001-quirks-add-quirk-for-Dell-Haptics-Touchpad.patch new file mode 100644 index 0000000..788501c --- /dev/null +++ b/SOURCES/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/SOURCES/0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch b/SOURCES/0001-quirks-add-quirks-for-Dell-laptop-with-Goodix-Touchp.patch new file mode 100644 index 0000000..c4f779d --- /dev/null +++ b/SOURCES/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/SPECS/libinput.spec b/SPECS/libinput.spec index ef828c2..dbac415 100644 --- a/SPECS/libinput.spec +++ b/SPECS/libinput.spec @@ -5,7 +5,7 @@ Name: libinput Version: 1.19.3 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Input device library License: MIT @@ -20,6 +20,9 @@ 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 @@ -149,6 +152,12 @@ 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) + * Thu Jan 19 2023 Peter Hutterer - 1.19.3-3 - Add a quirk for the Dell Precision 5680 pressurepad (#2158075)