Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1304655rdb; Sun, 8 Oct 2023 01:08:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3M8lNBXU3Suiu/m4HNnr3qIfCTGNIX7nyCz6T2UtJnjzuWcDM0zO27zHdni9Tic/mvnON X-Received: by 2002:a17:902:9a44:b0:1be:384:7b29 with SMTP id x4-20020a1709029a4400b001be03847b29mr11659736plv.34.1696752515769; Sun, 08 Oct 2023 01:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696752515; cv=none; d=google.com; s=arc-20160816; b=r7m6yYe/vcxy00EjrOlSLFKGeIp2OYH1HISlx49iuxNZzaMUUJl9KGXX6FEc85cQ2u mjrwXl1FL7wxf7E44i8d9gcU9X3cNT8gWcNzNJpK8RTa8ZqeMmT4vVaBCT1UTuUN9kDl 4ymzsuUjJO5+5A6Lwm6wKFB2T5I2xv1yVobrnV8jclgvkLETvUzVG+LTuaB3J75X2Cil y/E5H552HX93TYj9Los9t0czE8OyzYGZcbKsKxl27jsdMepvJiFNuQVJhyhVL/ULXpLR yshOoayazzeiRNy5ujzi3TPeQL03q/QPU37ywiqPUxt4sY7qvcMk+WCw254QDlNnkzAr c7CA== 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; bh=i52dOnj8aC30+99AazlipLFowEfqIJhFp1lkXpKSofM=; fh=7ch0PaP5KHYcvwGJAA88Ke6yt+W2M1kfWptB60ELGhE=; b=Q/ROznTBo2SFq/i343vNYtNJ9fZv9TiopsB6+2B9vTFvfVDtIjju5eizAXTbmlbU1I scR/8QIa28R/9ivAS2lrR30eTwGIl+2Q2xDzlmHs++Y6MQf5NUa22KZEkUd7RIz3cbzq mZckEWGsqa39Ic0GcTcTgzLgmx7UXb1gR/RzlxIuHRc0yRGsz4VZ/EAxJy5bPDgCr/za p4VCdh+V8H6fg0Z1xqXT110pvTFUktSeE9/F5va0ZqQRs6DuKNeDXVAAzrA9q1hrorBF 8zh5LyjYq2vQDcTcdDx7zGJ22ppkAnNlpqdNBrzXS8Uxuk19J8xEEg0/+N9SYSoNtIbK w+gg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x11-20020a17090300cb00b001bf1d1d99f6si7063911plc.358.2023.10.08.01.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 01:08:35 -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; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F2AB980A990F; Sun, 8 Oct 2023 01:08:34 -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 S234237AbjJHIId (ORCPT + 99 others); Sun, 8 Oct 2023 04:08:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbjJHIIc (ORCPT ); Sun, 8 Oct 2023 04:08:32 -0400 X-Greylist: delayed 506 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 08 Oct 2023 01:08:30 PDT Received: from 6.mo575.mail-out.ovh.net (6.mo575.mail-out.ovh.net [46.105.63.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D0E2CA for ; Sun, 8 Oct 2023 01:08:30 -0700 (PDT) Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.143.72]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id ED82827DA8 for ; Sun, 8 Oct 2023 08:00:01 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-9mdf6 (unknown [10.110.171.163]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5E1A01FE55; Sun, 8 Oct 2023 08:00:00 +0000 (UTC) Received: from foxhound.fi ([37.59.142.106]) by ghost-submission-6684bf9d7b-9mdf6 with ESMTPSA id SGIwEoBhImXIvwAA5rXBkA (envelope-from ); Sun, 08 Oct 2023 08:00:00 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R006c7d3698b-c1da-41f1-860f-13c89ef29aab, F6EE83B07292679BC443460DC7C66060252C3E74) smtp.auth=jose.pekkarinen@foxhound.fi X-OVh-ClientIp: 83.100.45.21 From: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= To: dmitry.torokhov@gmail.com, rydberg@bitmath.org, skhan@linuxfoundation.org Cc: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= , amandhoot12@gmail.com, rrangel@chromium.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH] Input: synaptics: enable InterTouch for ThinkPad L14 G1 Date: Sun, 8 Oct 2023 11:01:28 +0300 Message-ID: <20231008080129.17931-1-jose.pekkarinen@foxhound.fi> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7025896895597160102 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrhedtgdduvdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheplfhoshorucfrvghkkhgrrhhinhgvnhcuoehjohhsvgdrphgvkhhkrghrihhnvghnsehfohighhhouhhnugdrfhhiqeenucggtffrrghtthgvrhhnpeeftdelueetieetvdettdetueeivedujeefffdvteefkeelhefhleelfeetteejjeenucfkphepuddvjedrtddrtddruddpkeefrddutddtrdeghedrvddupdefjedrheelrddugedvrddutdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeojhhoshgvrdhpvghkkhgrrhhinhgvnhesfhhogihhohhunhgurdhfiheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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]); Sun, 08 Oct 2023 01:08:35 -0700 (PDT) Observed on dmesg of my laptop I see the following output: [ 19.898700] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694] [ 19.936057] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..] [ 19.936076] psmouse serio1: synaptics: Your touchpad (PNP: LEN0411 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org. [ 20.008901] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640 [ 20.008925] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0 [ 20.053344] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7 [ 20.397608] mousedev: PS/2 mouse device common for all mice This patch will add its pnp id to the smbus list to produce the setup of intertouch for the device. After applying, the ouput will look like: [ 19.168664] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694] [ 19.206311] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..] [ 19.206325] psmouse serio1: synaptics: Trying to set up SMBus access [ 19.209545] psmouse serio1: synaptics: SMbus companion is not ready yet [ 19.283845] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640 [ 19.283863] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0 [ 19.328959] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8 [ 19.706164] mousedev: PS/2 mouse device common for all mice Signed-off-by: José Pekkarinen --- drivers/input/mouse/synaptics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index ada299ec5bba..376a041c80b2 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -183,6 +183,7 @@ static const char * const smbus_pnp_ids[] = { "LEN009b", /* T580 */ "LEN0402", /* X1 Extreme Gen 2 / P1 Gen 2 */ "LEN040f", /* P1 Gen 3 */ + "LEN0411", /* L14 Gen 1 */ "LEN200f", /* T450s */ "LEN2044", /* L470 */ "LEN2054", /* E480 */ -- 2.41.0