All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Denose <jdenose@chromium.org>
To: linux-input@vger.kernel.org
Cc: Jonathan Denose <jdenose@google.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Hans de Goede <hdegoede@redhat.com>,
	Huacai Chen <chenhuacai@kernel.org>,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Takashi Iwai <tiwai@suse.de>,
	Werner Sembach <wse@tuxedocomputers.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] Input: i8042 - add quirk for Lenovo ThinkPad T14 Gen 1
Date: Mon, 25 Sep 2023 16:33:20 -0500	[thread overview]
Message-ID: <20230925163313.1.I55bfb5880d6755094a995d3ae44c13810ae98be4@changeid> (raw)

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@google.com>
---

 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


             reply	other threads:[~2023-09-25 21:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-25 21:33 Jonathan Denose [this message]
2023-09-26 10:37 ` [PATCH] Input: i8042 - add quirk for Lenovo ThinkPad T14 Gen 1 Hans de Goede
2023-11-21 20:23   ` Jonathan Denose
2023-11-22 15:17     ` Hans de Goede
2023-11-25  4:45 ` Dmitry Torokhov
2023-11-27 16:38   ` Jonathan Denose
2024-01-08 16:36     ` Jonathan Denose
2024-01-09 19:28     ` Dmitry Torokhov
2024-01-10 23:42       ` Jonathan Denose
2024-01-11 10:48         ` Hans de Goede
2024-01-12 15:10           ` Jonathan Denose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230925163313.1.I55bfb5880d6755094a995d3ae44c13810ae98be4@changeid \
    --to=jdenose@chromium.org \
    --cc=chenhuacai@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=jdenose@google.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkorpershoek@baylibre.com \
    --cc=tiwai@suse.de \
    --cc=wse@tuxedocomputers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.