From patchwork Sun Apr 21 13:11:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander X-Patchwork-Id: 10910505 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 D24B4112C for ; Sun, 21 Apr 2019 13:12:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B45BB287A9 for ; Sun, 21 Apr 2019 13:12:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5FE2287AF; Sun, 21 Apr 2019 13:12:56 +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,FREEMAIL_FROM,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 48EE5287A9 for ; Sun, 21 Apr 2019 13:12:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726280AbfDUNMy (ORCPT ); Sun, 21 Apr 2019 09:12:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:32942 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbfDUNMy (ORCPT ); Sun, 21 Apr 2019 09:12:54 -0400 Received: by mail-lj1-f194.google.com with SMTP id f23so8275494ljc.0 for ; Sun, 21 Apr 2019 06:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xRqWcwabSdCNzImy5zDfjpFd0hg2DxDUWNAOqmzLJow=; b=nfCknNnweL55L+YxcM3MVwWlsW5flgxLF6NEONuRc9V64UOnLPTSpTv5d2mnCQJf7x GvFE9SXzYRPZf0ZNBAkEgNtOWOt5zlA7PyxQjiukWojUWcPpBmbmrkdQx72yaaKmIZoS 5crmsVGAKw1zdsePjMDzmjmk0ljMk15OR3lk8uatajO098KqMY5FCWrBUQSUZJihOq+v OaZmtGa9U9skA1PHHOM4QxY2/Rj3DQ6VhkHWUjDrU4umNT4Pis5FoOKrcX2g+qip0uL4 16BA7t1ojxDrKF/NigKF8xkDZPzOEEJFRn+P441mMz0YI1D1T4C7E4dinkHPcpY/VxZ2 gENA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xRqWcwabSdCNzImy5zDfjpFd0hg2DxDUWNAOqmzLJow=; b=njsREoldyqQJm0DAQP74h7dZ5TX+TQFbn7oI8+avXe75ndYNcvfSL8P85soGQOelDc ifxVEMgTHMl+ezhiX/gAXQpmJHw+AO0oxQWA7LGwjCo45TV8/cROnqZEWi0lh6TBD6sT k/d1uaEKE/pKaYUT7hwykH3r/kl0fjLjh+WyIkhHy6puguNkGE3+TAOqZyuWu+XeZIHe iv7/x0k/ra/hiU5GBzk0H5JrL4xRTefnQWJTQ0jyYl592jLeyKcnvLTb3t0hQvnIl9WX i8QzSynE9wH0VK/4QCef71MIrsxrtXxyslncloLOMU0Rvl5eDe1B+BbB0tRB+vYA8ywb /2Jw== X-Gm-Message-State: APjAAAUq5j1t8hvlbLrrh0Pm19in5kRT01aW464xk4tIWoG7aYCU1BMj iYQUA0r+pMS6bq62ygF92p+AugYJGBU= X-Google-Smtp-Source: APXvYqy1BLHbHSjvG1IUjbOg6ogtEFKqWzGJwMrLh0WbTlQKgsG4e2pr1KRMjIuGvote+RSNv+TYew== X-Received: by 2002:a2e:808e:: with SMTP id i14mr7450632ljg.103.1555852371706; Sun, 21 Apr 2019 06:12:51 -0700 (PDT) Received: from localhost.localdomain ([145.255.2.109]) by smtp.googlemail.com with ESMTPSA id d3sm2225152ljc.15.2019.04.21.06.12.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Apr 2019 06:12:50 -0700 (PDT) From: Alexander Mikhaylenko To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.co, Alexander Mikhaylenko Subject: [PATCH] Input: synaptics - enable SMBus on ThinkPad E480 and E580 Date: Sun, 21 Apr 2019 18:11:56 +0500 Message-Id: <20190421131156.9631-1-exalm7659@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 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 They are capable of using intertouch and it works well with psmouse.synaptics_intertouch=1, so add them to the list. Without it, scrolling and gestures are jumpy, three-finger pinch gesture doesn't work and three- or four-finger swipes sometimes get stuck. Signed-off-by: Alexander Mikhaylenko Reviewed-by: Benjamin Tissoires --- drivers/input/mouse/synaptics.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index b6da0c1267e3..8e6077d8e434 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -179,6 +179,8 @@ static const char * const smbus_pnp_ids[] = { "LEN0096", /* X280 */ "LEN0097", /* X280 -> ALPS trackpoint */ "LEN200f", /* T450s */ + "LEN2054", /* E480 */ + "LEN2055", /* E580 */ "SYN3052", /* HP EliteBook 840 G4 */ "SYN3221", /* HP 15-ay000 */ NULL