From patchwork Mon Dec 24 09:28:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ingo Lafrenz X-Patchwork-Id: 10742155 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A42D13AD for ; Mon, 24 Dec 2018 09:35:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80B9D28CA6 for ; Mon, 24 Dec 2018 09:35:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74CED28E8F; Mon, 24 Dec 2018 09:35:13 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 432E928CA6 for ; Mon, 24 Dec 2018 09:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725355AbeLXJfL (ORCPT ); Mon, 24 Dec 2018 04:35:11 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:33661 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbeLXJfL (ORCPT ); Mon, 24 Dec 2018 04:35:11 -0500 X-Greylist: delayed 383 seconds by postgrey-1.27 at vger.kernel.org; Mon, 24 Dec 2018 04:35:10 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1545644109; s=strato-dkim-0002; d=der-ingo.de; h=Date:Message-ID:Subject:From:Cc:To:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=QP7SZsz5WodYNWTH8gwp141Ywulm0bolR0GAMbYT3+g=; b=Hsr6SoW2sgTHAVBXSGFxCaGYM3DdWQ4a8yL9ixo/BevmxQslSj5LEhyNzP1MzYf2+I qd2ZhdqFrlkOuQ2Yjkro0FNLvQzLIKpcJy0P0n9T0VkMGl1tASB86VOxFFdF4yESFaxH y6qPAHJOjsJsi5XMT4eDb4cUBRPBOnEXY1Xm9jRG1U7kAuiJOmpDxS1xxbuawqX8WRfi J/CUTLXIG3ARd+7B5b8w8AyZBbuheqxzJ/DcVF2Ye306CgiaYRRuqG9PQRh1ir35LUCx Hv8I0ZB1J40HofsJnXcioZG1/mDdmh8pBre3aeoQo/yQ+mxlQQX2NHsngAB6Cj2Ybng4 OE6A== X-RZG-AUTH: ":JW8MVUStabKMfS0xZqVRGXwnF3pzFLSOlH8p7f8aGu4+Ay1en97yTssA1XtPhEjAzp4=" X-RZG-CLASS-ID: mo00 Received: from [192.168.112.100] by smtp.strato.de (RZmta 44.8 DYNA|AUTH) with ESMTPSA id V0ac99uBO9Skvdz (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Mon, 24 Dec 2018 10:28:46 +0100 (CET) To: linux-input@vger.kernel.org Cc: Dmitry Torokhov From: Ingo Lafrenz Subject: [PATCH 1/1] input: elan_i2c - add support for ELAN061A touchpad Message-ID: <18e75b87-a83f-7c96-9360-469b9c53741f@der-ingo.de> Date: Mon, 24 Dec 2018 10:28:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 Content-Language: en-US-large 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 Add ELAN061A to the ACPI table to support Elan touchpad found in Lenovo V130-15IGM laptops Signed-off-by: Ingo Lafrenz --- I have tested this successfully against the 4.19.11 kernel. Please note that since kernel v4.18 the driver generates a looot of 'invalid report id data (ff)' messages with this touchpad. So even the touchpad seems fully functional for me there might be more to it than just adding the ID. Please consider this when taking this patch, otherwise the logs will be flooded with tons of messages. diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 2690a4b7ed53..7cacacfb90e3 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -1344,6 +1344,7 @@ static const struct acpi_device_id elan_acpi_id[] = {      { "ELAN060B", 0 },      { "ELAN060C", 0 },      { "ELAN0611", 0 }, +    { "ELAN061A", 0 },      { "ELAN1000", 0 },      { }  };