Add quirks for four more dell touchpads (RHEL-69798)

Resolves: RHEL-69798
This commit is contained in:
Peter Hutterer 2025-02-24 14:50:25 +10:00
parent e74ca92b29
commit 8c237aa824
3 changed files with 83 additions and 1 deletions

View File

@ -0,0 +1,38 @@
From 74c88061868466c446a8de797ebe392eeabc7ccb Mon Sep 17 00:00:00 2001
From: Marge Yang <marge.yang@synaptics.corp-partner.google.com>
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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1127>
(cherry picked from commit af0e9a23c32d086fece58a95cb720994ad02d0b4)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
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

View File

@ -0,0 +1,39 @@
From 8c48f459ba0922e5b550ca8933ee26ff17f9cdc7 Mon Sep 17 00:00:00 2001
From: wangyafei <wangyafei@goodix.com>
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 <charles.goodix@gmail.com>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1130>
(cherry picked from commit 3cf6c91fff5b84757792810c4016144443581da6)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
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

View File

@ -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 <peter.hutterer@redhat.com> - 1.19.3-5
- Add quirks for four more dell touchpads (RHEL-69798)
* Thu Jul 06 2023 Peter Hutterer <peter.hutterer@redhat.com> - 1.19.3-4
- Add quirk for the Mayabay pressurepad (#2219245, #2219812)