From patchwork Mon Mar 27 08:53:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thorsten Leemhuis X-Patchwork-Id: 9645671 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 574C460328 for ; Mon, 27 Mar 2017 08:54:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A171281C3 for ; Mon, 27 Mar 2017 08:54:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EDD528358; Mon, 27 Mar 2017 08:54:36 +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,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 4D8B2281C3 for ; Mon, 27 Mar 2017 08:54:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752340AbdC0Ixy (ORCPT ); Mon, 27 Mar 2017 04:53:54 -0400 Received: from wp227.webpack.hosteurope.de ([80.237.132.234]:35632 "EHLO wp227.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752432AbdC0Ixx (ORCPT ); Mon, 27 Mar 2017 04:53:53 -0400 Received: from ip4d15f186.dynamic.kabel-deutschland.de ([77.21.241.134] helo=linux-2.fritz.box); authenticated by wp227.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1csQOo-0005Ct-Gq; Mon, 27 Mar 2017 10:53:14 +0200 Subject: [PATCH v2] Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled To: Dmitry Torokhov References: <20170309175058.gtodm4q525sqyfro@lantern> <6055ed5d-79e5-0ae7-8b91-274562c3f44a@leemhuis.info> <8fa42069-fa8c-e59c-f574-8fbabc6ce6d2@leemhuis.info> <20170324170000.GA18364@dtor-ws> Cc: ulrik.debie-os@e2big.org, linux-input@vger.kernel.org From: Thorsten Leemhuis Message-ID: <24d86f3c-356f-8e5b-41d7-26348b302edc@leemhuis.info> Date: Mon, 27 Mar 2017 10:53:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170324170000.GA18364@dtor-ws> X-bounce-key: webpack.hosteurope.de; linux@leemhuis.info; 1490604832; d24d0789; X-HE-SMSGID: 1csQOo-0005Ct-Gq 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 Hi! On 24.03.2017 18:00, Dmitry Torokhov wrote: > On Fri, Mar 24, 2017 at 11:18:51AM +0100, Thorsten Leemhuis wrote: >> Lo! Dmitry, did this fall through the cracks or is there any reason why >> you didn't yet apply below patch? If the latter: What is needed to get >> things moving? Right now I still have access to the machine for further >> tests, but that will change in a week or two. Ciao, Thorsten > I was waiting for an updated version of the patch with updated info for > E547. The "caps" data is coming from Synaptics caps query, so should be > "50, 12, 09". /me opens eyes properly and reads the output from dmesg again /me wonders why he hadn't noticed the capabilities output from the synaptics driver before and missed the obvious connection Many thx for the pointer! Find an updated patch below. Ciao, Thorsten From 8feadc9af68c77c9e0fec3f85b9d5312b8f2e468 Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Thu, 9 Mar 2017 08:13:21 +0100 Subject: Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled Temprary got a Lifebook E547 into my hands and noticed the touchpad only works after running echo "1" > /sys/devices/platform/i8042/serio2/crc_enabled Add it to the list of machines that need this workaround. Cc: stable@vger.kernel.org Signed-off-by: Thorsten Leemhuis Reviewed-by: Ulrik De Bie --- drivers/input/mouse/elantech.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index efc8ec3..f53dad0 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -1118,6 +1118,7 @@ static int elantech_get_resolution_v4(struct psmouse *psmouse, * Asus UX32VD 0x361f02 00, 15, 0e clickpad * Avatar AVIU-145A2 0x361f00 ? clickpad * Fujitsu LIFEBOOK E544 0x470f00 d0, 12, 09 2 hw buttons + * Fujitsu LIFEBOOK E547 0x470f00 50, 12, 09 2 hw buttons * Fujitsu LIFEBOOK E554 0x570f01 40, 14, 0c 2 hw buttons * Fujitsu T725 0x470f01 05, 12, 09 2 hw buttons * Fujitsu H730 0x570f00 c0, 14, 0c 3 hw buttons (**) @@ -1524,6 +1525,13 @@ static int elantech_reconnect(struct psmouse *psmouse) }, }, { + /* Fujitsu LIFEBOOK E547 does not work with crc_enabled == 0 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), + DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E547"), + }, + }, + { /* Fujitsu LIFEBOOK E554 does not work with crc_enabled == 0 */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),