Received: by 10.223.164.202 with SMTP id h10csp529316wrb; Thu, 23 Nov 2017 02:07:56 -0800 (PST) X-Google-Smtp-Source: AGs4zMbztu6MVODUg6G1uWl53JxtkSE7FLw+uEiYJo6s79Iuyyel+/qBoENIek2KHpxAGNzA0542 X-Received: by 10.99.45.67 with SMTP id t64mr23667498pgt.146.1511431676530; Thu, 23 Nov 2017 02:07:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511431676; cv=none; d=google.com; s=arc-20160816; b=UZd9pPJHIHns0zybQgpHU7LX4cKQh1K6NIXktb67JylWXfwEGJX0+OClwoN2tYmmju sodj+MKek1ELwaVqfWrYV1IHr3Qx1ZOZC3sv2Fc2j/zzP0/cQRYWfpWDXK4dqr8Nie8F YSySQRen+EtTYEihYhnIHrcyNtWpP5qwzOmerNaThlyjv5sBn151fEdUjwCdtmpIVRL6 vV5aL9WLVTPspN8usn2S2T1hO/amgYT7d6g1/puYVkLMgajktQmvLpRxMF0GtApYyoz/ 2VOJzP+G8vjGgIH7VvYrQSZpNzlwi7eMLqK2yNFpwFwp/auB+4D/XzggLZYbRsftUCG4 k85g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=0X4UkeHvKrZQgkXW3x3cxUuWavG8bCF8Zk+yUwak2wc=; b=Vbh4/A4oXlVTuWJmF9hL4QGeS7nIdznDK5+DAF/lbOBULt+V9RR4IlenSoSLWzIca4 r9admd4suAb4E4ssM2XNn/sr7djjmwPlv4vTF75Uak4HeGFIQr0OCzwf3p29Uv9u8yCk kwkQwYU7ZTFVzlFsvoCWYgHWyuAexybsRYvp9oEPtpoDtSG36szVCeAEBmB/l3YRqhr4 jvE2NGGLGiQelHXoMws45h5ujEKAVpguOFHs5KjS4+VKDIqj0YBakHnA+euaqyB20B+k 8IQYjyJbNAXLJxIPKtUCM/oktTfVoyElc6lVDgvwTwaNIdnGbme8ROm4rXlneI7ffOtV zTJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RvllSwUJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si15802868plw.224.2017.11.23.02.07.44; Thu, 23 Nov 2017 02:07:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RvllSwUJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752699AbdKWKHB (ORCPT + 77 others); Thu, 23 Nov 2017 05:07:01 -0500 Received: from mail-it0-f47.google.com ([209.85.214.47]:42781 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbdKWKG6 (ORCPT ); Thu, 23 Nov 2017 05:06:58 -0500 Received: by mail-it0-f47.google.com with SMTP id n134so9562653itg.1; Thu, 23 Nov 2017 02:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0X4UkeHvKrZQgkXW3x3cxUuWavG8bCF8Zk+yUwak2wc=; b=RvllSwUJvvwFgQBSmaHkleyBIgam5IHaPPWY8rC13ajO8vAaQ1mGg1f81E3fqdOFtF DBuNedV9RvQmGsxBbw6aF8HAn8vFlC8IELXz8FfOAKIimuiywNwSHlL+ipp2celDZoze RE9Ak+KM+/AH2dsv+mzYtk99kdq8SYeN3/IWW9mYJUhyE7RpFpieBJ/oZK8qd8yxHlXy D/L3zj2KBEk5GPiYCqYwixBlbs2WQA+4/gnVAqwJHqYF1H/KIqtqKKnYWv3ArjiKZLfj cNw2Mz/+igUw2uLn12ExNMmnI6k/S0BtTR8fGg/UGCMUaDAW8EEAoOQwa/YN4ScIW635 xIEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0X4UkeHvKrZQgkXW3x3cxUuWavG8bCF8Zk+yUwak2wc=; b=RyMsOqK0M9duARKEd/Dv4BHRUQ1P6gmAgmVekxtB4WhvVpgS+pbCYj9MnJOnOdglUy 0++2UnuHyN0Ww8bSeEAyxv+8efcVGLU32Rnv+VhOPCV0pN0zPO7TfoL0XaTjeG3cfKrV BY3tsjFNPpS240E55LaqhW1eG4VZBdVeJV8hJ81Cormav9rFwuQobYGV2+6LxZB4hIbn xXK6AKT0QLPhdbz6BeeeLTq+2ZnW9Nn8MoFz7Q0y9j4rU5iMy5D1aQKbiMD3EO5XFh1c 19+XuPb0BGpEHe4fxz1Rb8nnpOJIHOsreg96KMfp7PYuLUhyrAkJ7+ljkBA2HNNcGY07 UsLA== X-Gm-Message-State: AJaThX4QasaDxcT++RqezZR+Myr0rh6lpPkqaJ5JdHBKswxJSvRoFtzw RYNJ7pZxKggf+Mt3fP6nX+nFQGDVSXW1ypaxjHg= X-Received: by 10.36.1.4 with SMTP id 4mr11184033itk.59.1511431618034; Thu, 23 Nov 2017 02:06:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.59.83 with HTTP; Thu, 23 Nov 2017 02:06:57 -0800 (PST) In-Reply-To: <20171120075530.4880-1-masaki.ota@jp.alps.com> References: <20171120075530.4880-1-masaki.ota@jp.alps.com> From: Jonathan Liu Date: Thu, 23 Nov 2017 21:06:57 +1100 Message-ID: Subject: Re: Support TrackStick of Thinkpad L570 To: Masaki Ota <012nexus@gmail.com> Cc: dmitry.torokhov@gmail.com, benjamin.tissoires@redhat.com, pali.rohar@gmail.com, aaron.ma@canonical.com, jaak@ristioja.ee, Masaki Ota , linux-input@vger.kernel.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masaki, On 20 November 2017 at 18:55, Masaki Ota <012nexus@gmail.com> wrote: > From: Masaki Ota > - The issue is that Thinkpad L570 TrackStick does not work. Because the main interface of Thinkpad L570 device is SMBus, so ALPS overlooked PS2 interface Firmware setting of TrackStick. The detail is that TrackStick otp bit is disabled. > - Add the code that checks 0xD7 address value. This value is device number information, so we can identify the device by checking this value. > - If we check 0xD7 value, we need to enable Command mode and after check the value we need to disable Command mode, then we have to enable the device(0xF4 command). > - Thinkpad L570 device number is 0x0C or 0x1D. If it is TRUE, enable ALPS_DUALPOINT flag. > > Signed-off-by: Masaki Ota > --- > drivers/input/mouse/alps.c | 21 ++++++++++++++++++--- > 1 file changed, 18 insertions(+), 3 deletions(-) Tested-by: Jonathan Liu This fixes trackstick and physical left/middle/right mouse buttons above touchpad on Lenovo ThinkPad E570p laptop for me. Regards, Jonathan From 1584597888659386033@xxx Mon Nov 20 15:05:08 +0000 2017 X-GM-THRID: 1584570916340987763 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread