From patchwork Mon Jul 1 00:28:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: colerogers@disroot.org X-Patchwork-Id: 11024695 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 6F334112C for ; Mon, 1 Jul 2019 00:28:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 531A32835B for ; Mon, 1 Jul 2019 00:28:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43C9B284BD; Mon, 1 Jul 2019 00:28:07 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 301552835B for ; Mon, 1 Jul 2019 00:28:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726618AbfGAA2E (ORCPT ); Sun, 30 Jun 2019 20:28:04 -0400 Received: from knopi.disroot.org ([178.21.23.139]:44746 "EHLO knopi.disroot.org" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726402AbfGAA2D (ORCPT ); Sun, 30 Jun 2019 20:28:03 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3FC1735BAA; Mon, 1 Jul 2019 02:28:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UN81psw9be_1; Mon, 1 Jul 2019 02:28:01 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1561940881; bh=t7j28rombFbL6cwt8pNOaQHa3pyzcppWqxQx8LfuPpM=; h=Date:From:Subject:To:Cc; b=cFA13tXevxwI2nCB4oG67SVnG6jmp43SVDFp4CUW63pJ18NGfFF4TgSfqGxioEhsO FrFThZwAlww3YiXaLiGn6qb9/T6b5KqicfzruVBDnIU+bn10/r218Ih/dVr8PqrCUi +zNxe+K3ecwSzOgL+BBWPoe4/6FQLDOLF8FBBN0wctOAEh86skK4MzmH7gTRsZzfWL f8r/Qdzu+zwvcbS8QhXz3qmZOldcf4O0AN0W3T4K2qjZk42xxeGDND/UpQjyJILRV3 JTpHElGyIo70YkvK/RZG8ULuGN4KK1RxyjMoWu3+p6eJpV8U7w/UdQupHKWmJpM72w tyNI7rSA3tjOA== Date: Mon, 01 Jul 2019 00:28:00 +0000 From: colerogers@disroot.org Message-ID: Subject: [PATCH] Input: synaptics: enable SMBUS on T480 thinkpad trackpad To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, gregkh@linuxfoundation.org, benjamin.tissoires@redhat.com 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 From: Cole Rogers Thinkpad t480 laptops had some touchpad features disabled, resulting in the loss of pinch to activities in GNOME, on wayland, and other touch gestures being slower. This patch adds the touchpad of the t480 to the smbus_pnp_ids whitelist to enable the extra features. In my testing this does not break suspend (on fedora, with wayland, and GNOME, using the rc-6 kernel), while also fixing the feature on a T480. Signed-off-by: Cole Rogers Acked-by: Benjamin Tissoires --- 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 b8ec30102..c8d0f5795 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -170,6 +170,7 @@ static const char * const smbus_pnp_ids[] = { "LEN005b", /* P50 */ "LEN005e", /* T560 */ "LEN0071", /* T480 */ + "LEN0093", /* T480 */ "LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */ "LEN0073", /* X1 Carbon G5 (Elantech) */ "LEN0092", /* X1 Carbon 6 */