Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1306298rdd; Wed, 10 Jan 2024 15:42:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIa4mn2oCHdxgIr7ENz7SCEv8HC8qm03LStjJc1/HTu9Hhj5rm3TVkOPPAxf1PVqMVHqZu X-Received: by 2002:a05:600c:3b82:b0:40e:4f46:d100 with SMTP id n2-20020a05600c3b8200b0040e4f46d100mr86205wms.101.1704930158296; Wed, 10 Jan 2024 15:42:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704930158; cv=none; d=google.com; s=arc-20160816; b=R1ephRaiKZL0NYL7YJZzm8KwO3rGgDkYDISKd7Phv6sTfNQL6PFX9E5xphLCHMkGS5 wMfmkGVPJ+WfkXd4PVD5JMXL7pdvnfvaYNjmxmvrPfnAtfUpABE26C5zGvkLT864oBmG Z69rvS6QMQi6gSNmzxXSHYE0kKIHrl+jVgEX2HJIE5R8AHjVIJ+CygR+t8seT6UJfFMG khZjOFscfg3mhuoMTVFv3rLFoiGdSVrAe4uF4O+GlkkmoK14ajgYr/OhfVbqmt5m20QI h1e34KlkgRfVMgtxgUy2juxQiCaIYd+8CGQGv+LA5NirQYD3gGfQbhUxS9WFtbYR10/F Mj4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=rx9HmcQEcblZ0PctKblTiQoSafk+55qkIdaYiVD4oBo=; fh=Nl/XeR/buLUFsUjJvXTNFGhrenImc9PbqFiA+BFAwfA=; b=kTE7F/1mqyz+Cb8iqOvJWGzCVTTc+YkCYR0FB9f/N3wDyLKa+Zy9Z3WFBdcXURdTwv FR+0QeVAxmBNe0J0mUQa1rCUlrydUbiruuCi6FVG+xIELk/msTY3dZ9LNL57SalsteOx mx0uDLG+lNIZ+QN9sBvRGX8EbRYRswtxIvxUTXh0aAd2S+hcpTFDcJ343x82PtmSASmS s8XmLeK/bMdmQMElC0DYFKURqCmbxFJaTbmaRIatSICvzbNPZHtok4uI50sZq/sesfXG /XJsxduVEOszIKRtNXTtYbgBtB3Vj7duDQVXFwJDvBjFUdnG4Ye/aOlpsfRlz+7MINbT 4Idw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GjEXAmpl; spf=pass (google.com: domain of linux-kernel+bounces-22893-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22893-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a2-20020a170906244200b00a2b0e146df3si2175751ejb.944.2024.01.10.15.42.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 15:42:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22893-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GjEXAmpl; spf=pass (google.com: domain of linux-kernel+bounces-22893-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22893-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 104E11F23F37 for ; Wed, 10 Jan 2024 23:42:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 933D24F8A9; Wed, 10 Jan 2024 23:42:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GjEXAmpl" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 291B74A9BE for ; Wed, 10 Jan 2024 23:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2ccbc328744so57244131fa.3 for ; Wed, 10 Jan 2024 15:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704930144; x=1705534944; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rx9HmcQEcblZ0PctKblTiQoSafk+55qkIdaYiVD4oBo=; b=GjEXAmpl9rYESPm3ZgVcYBM7kGwXLSd/kpk+NOP/hUiEKrOXsG/HvZGsn1nWRUdBKj CfU9UiPqIXY17PgUz3KGSCsgZtC4L8QNLrFgS/x/8DjWfOShQIi1JUuosRJYYPCwK8cI 4eWtscTYiRam2aYPjyWGaui37MccrVI8CKmfs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704930144; x=1705534944; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rx9HmcQEcblZ0PctKblTiQoSafk+55qkIdaYiVD4oBo=; b=kS6tIArY/sDE6qBPhG6qke74B5IzQuYY5HJw5aqGnnYMMHF2UnoednLhQKjQBHqBLA IM8xBjeZR8fYKZeVnsxV342FmAIDRIjr3TRKylqWFhgfNB+3zatG/GEtc7UZBAEPaNWP OT65uE0QZi3MGhJGBJGiuNabGpGhyGjsWDjmSPpWpMJZHV17BsMuYRbTxl0m92XfMUTB fDkqjHpKMaZQJuVDDS2R5WG53AtphF+Q3cYqhQZ96uhCBS1zkHineLfIPE7Luu+Rxn99 AzsZcOtO60iEmUoEoF3ULJremRoBwq9lxoRSjyEWJRfTblpkdEht+EleaQoRjEhdRutt mUNg== X-Gm-Message-State: AOJu0Yy7UZUqoi+I1GZbhC290lcwP//gAWIBmfGWkvtAmgW4rxrKG/93 beMhk+3R066Ak7ww0ujI9li9DjqJhxA/pA/fl6jlQjtmjdirewUDeez4zjn4DQ== X-Received: by 2002:a2e:a4cc:0:b0:2cc:a7b9:2fa0 with SMTP id p12-20020a2ea4cc000000b002cca7b92fa0mr142451ljm.12.1704930144263; Wed, 10 Jan 2024 15:42:24 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230925163313.1.I55bfb5880d6755094a995d3ae44c13810ae98be4@changeid> In-Reply-To: From: Jonathan Denose Date: Wed, 10 Jan 2024 17:42:13 -0600 Message-ID: Subject: Re: [PATCH] Input: i8042 - add quirk for Lenovo ThinkPad T14 Gen 1 To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Jonathan Denose , Hans de Goede , Huacai Chen , Mattijs Korpershoek , Takashi Iwai , Werner Sembach , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dmitry, Sorry I forgot to reply all, so I'm resending my other email. On Tue, Jan 9, 2024 at 1:28=E2=80=AFPM Dmitry Torokhov wrote: > > Hi Jonathan, > > On Mon, Nov 27, 2023 at 10:38:57AM -0600, Jonathan Denose wrote: > > Hi Dmitry > > > > On Fri, Nov 24, 2023 at 10:45=E2=80=AFPM Dmitry Torokhov > > wrote: > > > > > > Hi Jonathan, > > > > > > On Mon, Sep 25, 2023 at 04:33:20PM -0500, Jonathan Denose wrote: > > > > 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= . > > > > > > I would like to understand more on how enabling PnP discovery for i80= 42 > > > affects the touchpad. Do you see it using different interrupt or IO > > > ports? What protocol does the touchpad use with/without PnP? If the > > > protocol is the same, do you see difference in the ranges (pressure, > > > etc) reported by the device? > > > > > > Thanks. > > > > > > -- > > > Dmitry > > > > Without PnP discovery the touchpad is using the SynPS/2 protocol, with > > PnP discovery, the touchpad is using the rmi4 protocol. Since the > > protocols are different, so are the ranges but let me know if you > > still want to see them. > > Thank you for this information. So it is not PnP discovery that appears > harmful in your case, but rather that legacy PS/2 mode appears to be > working better than RMI4 for the device in question. > > I will note that the original enablement of RMI4 for T14 was done by > Hans in [1]. Later T14 with AMD were added to the list of devices that > should use RMI4 [2], however this was reverted in [3]. > > Could you please tell me what exact device you are dealing with? What's > it ACPI ID? > > [1] https://lore.kernel.org/all/20201005114919.371592-1-hdegoede@redhat.c= om/ > [2] https://lore.kernel.org/r/20220318113949.32722-1-snafu109@gmail.com > [3] https://lore.kernel.org/r/20220920193936.8709-1-markpearson@lenovo.co= m > > Thanks. > > -- > Dmitry Thanks for your reply! I'm not 100% sure which of these is the ACPI ID, but from `udevadm info -e` there's: N: Name=3D"Synaptics TM3471-020" P: Phys=3Drmi4-00/input0