Add a quirk for a Goodix touchpad in current lenovos (#2437977)
This commit is contained in:
parent
d46f71c744
commit
40cced780f
2 changed files with 50 additions and 1 deletions
44
0001-quirks-add-quirk-support-for-Goodix-touchpad.patch
Normal file
44
0001-quirks-add-quirk-support-for-Goodix-touchpad.patch
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
From 76e304764de1f9268efd792543544528904017c7 Mon Sep 17 00:00:00 2001
|
||||
From: Richie Roy Jayme <rjayme.jp@gmail.com>
|
||||
Date: Fri, 6 Feb 2026 21:01:00 +0900
|
||||
Subject: [PATCH] quirks: add quirk support for Goodix touchpad
|
||||
|
||||
This commit adds a specific vendor HWID for Goodix Haptic Touchpad to
|
||||
improve detection and handling.
|
||||
|
||||
Signed-off-by: Richie Roy Jayme <rjayme.jp@gmail.com>
|
||||
Signed-off-by: Richie Roy Jayme <rjayme2@lenovo.com>
|
||||
Reviewed-by: Vishnu Sankar <vishnuocv@gmail.com>
|
||||
Reviewed-by: Vishnu Sankar <vsankar@lenovo.com>
|
||||
Reported-by: Ameer Ivan Julkarnain <ajulkarnain1@lenovo.com>
|
||||
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1426>
|
||||
(cherry picked from commit df8f5a3627e7bb2bf90ec5f2205713eacd642105)
|
||||
|
||||
whot: Upstream has this in quirks/30-vendor-goodix.quirks now, easier to
|
||||
backport to lenovo here.
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
quirks/50-system-lenovo.quirks | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/quirks/50-system-lenovo.quirks b/quirks/50-system-lenovo.quirks
|
||||
index 8d31f61099ee..1953cf4e0b6b 100644
|
||||
--- a/quirks/50-system-lenovo.quirks
|
||||
+++ b/quirks/50-system-lenovo.quirks
|
||||
@@ -423,3 +423,12 @@ MatchName=*GXTP5100*
|
||||
MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkBook*G7+IAH*:*
|
||||
MatchUdevType=touchpad
|
||||
ModelPressurePad=1
|
||||
+
|
||||
+# "GXTP5420 Touchpad": pressure touchpad mostly used in Lenovo laptops.
|
||||
+# GXTP5420:00 27C6:0F95 Touchpad
|
||||
+[Goodix Haptic Touchpad (27C6:0F95)]
|
||||
+MatchBus=i2c
|
||||
+MatchVendor=0x27C6
|
||||
+MatchProduct=0x0F95
|
||||
+MatchUdevType=touchpad
|
||||
+ModelPressurePad=1
|
||||
--
|
||||
2.52.0
|
||||
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Name: libinput
|
||||
Version: 1.30.1
|
||||
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
Summary: Input device library
|
||||
|
||||
# SPDX
|
||||
|
|
@ -19,6 +19,8 @@ Source2: commitid
|
|||
Source0: https://gitlab.freedesktop.org/libinput/libinput/-/archive/%{version}/libinput-%{version}.tar.bz2
|
||||
%endif
|
||||
|
||||
Patch0001: 0001-quirks-add-quirk-support-for-Goodix-touchpad.patch
|
||||
|
||||
BuildRequires: git-core
|
||||
BuildRequires: gcc
|
||||
BuildRequires: meson
|
||||
|
|
@ -161,6 +163,9 @@ intended to be run by users.
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 12 2026 Peter Hutterer <peter.hutterer@redhat.com> - 1.30.1-2
|
||||
- Add a quirk for a Goodix touchpad in current lenovos (#2437977)
|
||||
|
||||
* Mon Dec 08 2025 Peter Hutterer <peter.hutterer@redhat.com> - 1.30.1-1
|
||||
- libinput 1.30.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue