From patchwork Wed Sep 20 00:22:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teika Kazura X-Patchwork-Id: 9960505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6EAD660208 for ; Wed, 20 Sep 2017 00:23:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 616B928D9C for ; Wed, 20 Sep 2017 00:23:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55FDF28E85; Wed, 20 Sep 2017 00:23:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC51128D9C for ; Wed, 20 Sep 2017 00:23:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751370AbdITAXY (ORCPT ); Tue, 19 Sep 2017 20:23:24 -0400 Received: from mout.gmx.net ([212.227.15.18]:50857 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbdITAXX (ORCPT ); Tue, 19 Sep 2017 20:23:23 -0400 Received: from localhost ([123.218.141.47]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MGSDw-1e7bwA2zgW-00DJBB; Wed, 20 Sep 2017 02:22:59 +0200 Date: Wed, 20 Sep 2017 09:22:18 +0900 (JST) Message-Id: <20170920.092218.1849017994555826153.teika@gmx.com> To: linux-input@vger.kernel.org cc: rosenp@gmail.com, markus@markus-kaindl.de, adam@spicenitz.org, darrick.wong@oracle.com, lukas@5gsystems.com, waltercool@slash.cl, jan.steffens@gmail.com, kamil.54002@iskra.name, sibren.vasse@gmail.com, b.christopher.92@gmail.com Subject: RMI4 support for synaptics (users, please test patch) From: Teika Kazura In-Reply-To: <20170818193436.GA31365@dtor-ws> <20170804.163222.1710020857391315492.teika@gmx.com> <1502840570.3706.5.camel@gmail.com> <1500496250.4617.1.camel@gmail.com> Mime-Version: 1.0 X-Provags-ID: V03:K0:Dez3iCYyJtaEFuU+lWBxihQZ/H7eV7w+UhByJI9vV1hzENV3LEq RsgZmX58NvkFDasFf2tpti0Bq8JqLITGx3t79olgOLYvX1zWcyT8aoszF0JePtIVjhyYZCC KxJdl5VKwDPK9p0hMJhDhInHVnvz9BcB1RD5riOqwJeB/1chSlfwKLB44h0ZuHbuggAo0Jr ynYGF47m2XdviKhKIjLjg== X-UI-Out-Filterresults: notjunk:1; V01:K0:25GsTsPwbVg=:s9EKTxl2BAePbWi2fXG9qg ezAYltD1ROkw+XZmAFgpTWWmlWWcs9w/OfsDlDXwe9RKNi3jONn7KUTl+lEUGWsXIhtJgj3x3 M2fz3yEo7DE2/La8FO/xu8o4NFNevwpOpyqapOfudTHIZPTTz9XFFqZsiUqPdCjeItGj/3CKa 5lAeKjs7gNipW3H7Ti5qun7MFkGViaXXA9UoLvwiWZRcUd7TPWT6V0M9Vz4s7VNLgb62caZZT Unsyio/p55XTdUaSfR1vNnaRd7cBJ6CXqu6+sj1sNZ8A/VSMuQwOr5EMBboeRu3It887j2nPc /kqQlbbGMUN+mxh0u/o5lKUYRQRDp2od60XlFNzmvl/l448LRatQt4LFeiW3jWr6NvxHNAFRx 6iRY6BUsZ7B3/9zGsphJ9P0nLhEqa59KMsCpTpEbI51VkjLnkRYGa/rTifsSS0pXxC+useK/R jmmiA1IqGW/conNHVb8FeKtGCSff7/AwRP3uY5lD2eq4mjGUQYdcqKZhlrJ2J7I1i2Yhs09Yc zieX9Wduoql5VwTXy8ODNlA+7wLVT6ur0UsP7Q/S9t3WkwvU1oOO4icgub7zBZpswcOTqpH0h hX3qAv5tIst+AC0AW89gCYHu7c6Z+iIJ/B+Fa8PVdyzA3kQbWm78R0YoP8qmtbGbS27VDxtPK PPG7lNYuECKk+n6dm2iGPyiCpWjmXTF5IoksW1b1HC0gUcpIDSrAZ6Uo06PM4cFwXx+EVXd8b 8qBJANZYLWUcxGkLGd2u5feVDZHAc8+a1sp6b8TZ0+sp0c/b+1UtatYxmPvLlvqEBb44M8Mdw KFn+zJegbbXbkVDhHhtTxTovJmueeSjSjmD45DyxCnM9a1OKeY= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP CC-ed folks, your devices need "psmouse.synaptics_intertouch=1". Let me follow up. (I'm not a kernel developer, but in a similar situation as yours.) The patch should apply to 4.13.x and 4.12.x. @Lukas Prettenthaler, rosenp, Pablo Cholaky, jan.steffens, Darrick J. Wong: Could you please test the patch below? Make sure to delete "psmouse.synaptics_intertouch=1" from your boot parameter. If the patch has the same effect as the above boot parameter, it seems ok. @Kamil Iskra: Maybe add "SYN3054" to the patch, and try? @Sibren Vasse: I know your patch works for you, but could you try dropping SYN0100, SYN0002 and PNP0f13 from your patch? (Typical dmesg is like: "Your touchpad (PNP: SYN3221 PNP0f03) says it can support a different bus", and adding only the first of two, "SYN3221", suffices.) @Adam Goode: As you know, your issue (freeze after resuming) is yet to be fixed. I haven't included your model in my patch. @Christopher Bachner: What's the status of your PC? I'm subscribing linux-input@vger.kernel.org, and found your issue browsing linux-input archive, but you don't read this list, right? I think you've tried this patch: https://marc.info/?l=linux-input&m=149854999528878&w=2 Best regards. Thank you for reporting. --- drivers/input/mouse/synaptics.c | 6 ++++++ 1 file changed, 6 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 5af0b7d..bc02040 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -169,10 +169,16 @@ static const char * const topbuttonpad_pnp_ids[] = { static const char * const smbus_pnp_ids[] = { /* all of the topbuttonpad_pnp_ids are valid, we just add some extras */ + "DLL075b", "LEN0048", /* X1 Carbon 3 */ "LEN0046", /* X250 */ "LEN004a", /* W541 */ + "LEN004b", /* T460s */ + "LEN006e", /* T470 */ "LEN200f", /* T450s */ + /* "LEN2014", commented out, depending on resume bug fix */ + "SYN1219", /* Used by many */ + "SYN3221", NULL };