[PATCH] Input: i8042 - add quirk for Lenovo ThinkPad T14 Gen 1

From: Jonathan Denose
Date: Mon Sep 25 2023 - 17:34:48 EST


The ThinkPad T14 Gen 1 touchpad works fine except that clicking
and dragging by tapping the touchpad or depressing the touchpad
do not work. Disabling PNP for controller setting discovery enables
click and drag without negatively impacting other touchpad features.

Signed-off-by: Jonathan Denose <jdenose@xxxxxxxxxx>
---

drivers/input/serio/i8042-acpipnpio.h | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index 1724d6cb8649d..c487047d878cd 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -830,6 +830,14 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
},
.driver_data = (void *)(SERIO_QUIRK_RESET_ALWAYS)
},
+ {
+ /* Lenovo ThinkPad T14 Gen 1*/
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "20S0002UUS")
+ },
+ .driver_data = (void *)(SERIO_QUIRK_NOPNP)
+ },
{
/* Lenovo ThinkPad Twist S230u */
.matches = {
--
2.42.0.515.g380fc7ccd1-goog