Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1525244rdh; Mon, 25 Sep 2023 16:02:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEZnkHTg864vp1oVqI7ZCFY5IKLd/LDsFW4WcWxpr8szcOHZ6izBrGcYIxF8yRKA5y2DHq X-Received: by 2002:a05:6a00:1748:b0:690:b8b1:7b9e with SMTP id j8-20020a056a00174800b00690b8b17b9emr7297084pfc.0.1695682930429; Mon, 25 Sep 2023 16:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695682930; cv=none; d=google.com; s=arc-20160816; b=0crevI/aa+GhGf8t8l0bjKqjHQbMggKyTTQ5pZj6igRsNtF7Bd+5bOJxKdGgMfvYV2 9hpBDe9RcQZeaxSakeMPErwCAsNayOzIuGf6EWvEoWliHlmucns9NrVmyT+AavwpUa4e 9aZNXMc3f+qXj38rhkQd7WO+7f+E8oXYPZ4gXCHZpOMP1PHzEGp0k4+zVusDNvzBNZmX g8JWF8bcJw0A1LIastR6qJumGXbmdZK4AMBtfkKWEZOliTSgzcRnNchcPU54J1l2AkiE kuXIzjBxglF+TQUVXeuPCqdbfeSqKSTjEq9rdweIBUdJdNzCUbUvMakEUUPHzl67DFzN U+Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hMjMGoX7rPrdNDm/jlmTWs+3v5W7OU2O+jGnwES/d5E=; fh=xem8adoD8JILRiuKyS2Q3KeEU7+QMi8ScvZhBvT2S1g=; b=JscVKOy8fZsUPYDFJ5tombs7+NdeCY5CFQC6bKIFEwzvn29JKeEaE5RBXSx3XRdl6r eYGNMXnyH/EuDYLaEKPsfOHKD3udvzp/M/W1dFhXE/JTR1bcEPbihPJbJuKCP6+5lHID bC6eSNRxd37msOVDEg2Yl4GCOJOIJrx4DV60JaS3UJK/+Ok1vx2A7XxmTrUxl/8Ini7P bVvcwcLO/CvWxD7Uhwo9A5bIo4bEynyj4TSIvycMXfSwIH0EGg4dHKN52s3i6xv2gsBl II/g986EXf58jYz80Ltk84FZFl2gcPfAdJ42J5G/726bV7fyi2ohmWwP+eoUrceK5Rwo qc8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WtbLiIIJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p3-20020aa78603000000b0069019bef4e4si10478549pfn.79.2023.09.25.16.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 16:02:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WtbLiIIJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1CE62814E344; Mon, 25 Sep 2023 14:34:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233427AbjIYVew (ORCPT + 99 others); Mon, 25 Sep 2023 17:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233397AbjIYVev (ORCPT ); Mon, 25 Sep 2023 17:34:51 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0AA111C for ; Mon, 25 Sep 2023 14:34:44 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3ae2ec1a222so3049108b6e.2 for ; Mon, 25 Sep 2023 14:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1695677684; x=1696282484; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hMjMGoX7rPrdNDm/jlmTWs+3v5W7OU2O+jGnwES/d5E=; b=WtbLiIIJtWB8STCyUGaSLijmwcy9BYxhP6r0aFnyZkDIGSrj6Am3ysszlrpkYbYAW9 wAbYuB6M8e5t0sNaCmfFvBl4UIClRvNZqFEIpipW1ht6jxjUQvWLY8V1b4UpneNnJNfy XnwzwnHvYmW73rp3534OMky1UFOF1JL/U7rgY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695677684; x=1696282484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hMjMGoX7rPrdNDm/jlmTWs+3v5W7OU2O+jGnwES/d5E=; b=skWbzCwoOKpjRxGc9Jf+3mrfWcsUz2Uw79dSa7cjRtwOcN89mwGxWTwtTst3siFlyr pCANBFFttOyjth241zCJGBQMXviRqOda+p8qSA7lI/8Go2+5ZU1yg2i+ZOoK9ZOJJdmF tDrRuZCZgi3ILvH5zd5xjaikKbizKj6iWmCYFCArBtSMXY/vbkIgJdExfSfyJWxFnZfj 1iEgVNLxrbzQ9fgJyvkctaEp/S8HmqlMsUQaGt/iztErB3e4KVeENNSzG2vBbsRNmsok gpmAUm43hK4vxSXlcvfYSiXRzCbGZEFNxmDbDcwSpUuA5aRZUAs1dNYPKJLh8FtLbifZ xOuw== X-Gm-Message-State: AOJu0YwPKCP/yb4QI2Y/gvGhMB4FAR2eOTqF4u0WQmR8o8AFtTXhq913 M44Bh10LXgADgxeMFMe9g1z+jA== X-Received: by 2002:a05:6808:2084:b0:3a7:a3b1:ac30 with SMTP id s4-20020a056808208400b003a7a3b1ac30mr11443301oiw.44.1695677683997; Mon, 25 Sep 2023 14:34:43 -0700 (PDT) Received: from jdenose34.roam.corp.google.com (99-137-158-190.lightspeed.cicril.sbcglobal.net. [99.137.158.190]) by smtp.gmail.com with ESMTPSA id u31-20020a056808151f00b003a9cd23980esm5903oiw.8.2023.09.25.14.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 14:34:43 -0700 (PDT) From: Jonathan Denose X-Google-Original-From: Jonathan Denose To: linux-input@vger.kernel.org Cc: Jonathan Denose , Dmitry Torokhov , Hans de Goede , Huacai Chen , Mattijs Korpershoek , Takashi Iwai , Werner Sembach , 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 Message-ID: <20230925163313.1.I55bfb5880d6755094a995d3ae44c13810ae98be4@changeid> X-Mailer: git-send-email 2.42.0.515.g380fc7ccd1-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 25 Sep 2023 14:34:51 -0700 (PDT) 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 --- 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