From 421fe9457e41b6624429fff9ae19e368a1de93dc Mon Sep 17 00:00:00 2001 From: Richie Roy Jayme 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 Signed-off-by: Richie Roy Jayme Reviewed-by: Vishnu Sankar Reviewed-by: Vishnu Sankar Reported-by: Ameer Ivan Julkarnain (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 Part-of: --- 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 8d31f610..1953cf4e 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