Received: by 10.213.65.68 with SMTP id h4csp813909imn; Sun, 25 Mar 2018 14:27:44 -0700 (PDT) X-Google-Smtp-Source: AG47ELsHNEiUtmNDwsm1szatCcfLqarUQUcg3jCJ0OL519dENB+IIG6xQPOU20oJXhd2Eyg7iVmA X-Received: by 10.98.137.218 with SMTP id n87mr8641019pfk.48.1522013263968; Sun, 25 Mar 2018 14:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522013263; cv=none; d=google.com; s=arc-20160816; b=ibyA4hNBY17TsSDSMAMrk7sslgVjHM+JA67f0JueojIzy8eavp1yCsShOIum/U1hjv XsNXe34B4kiPwe+Q8k+1MeJpJBov/AxZsLttEqh0i+eWO7dpBHF+ldRjFueMtjskPway J6rCYZtm/EdNtmoJEiD4R90jtLRxrQmIEnq4C19RaSOsPnn3wFw+wOM7YBGmXjqZvAxE 6vMDOo2Fx9zLeNUu1Be48fAP2YyEw8bVeTj/X0F2NAlBrxMeu6wCKkDSGCuMvhqgGNS+ MawDfUf3MlfhLRVZfG2VgLdAVkIDvduqohc5Qjj4TcExL6yBwRThgZ5Tz+Ft395yo6+r R7ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=MyAnlQMWrR557JlWwoMaZWOVWNGxPhxE+bnBbYYG4dg=; b=p0YmLS2bpfLPRxqjIf/lKb1l2YTP1DldpT5X+ncSZY+MNj4QRuszqya1q2SqT29q8X RrdoRfDgQ+U7RGUeDL5RqK4s80k39NEpTRd7iZqPwd7CZkbgaw26kT0vzIE5Vm5UtRMI 46yf9gIM3wTcbRBZX1GEuQ0nd+gd5pcS8w0OhV1YpBDR65IvUqCAYfgfi/X5xAsXoxh/ 2RQ76243PiopoRH3K8zraWkPNEfNXnlE66nUatmwWR31/LXS4xKotB8OSCKM7HcIl51b xvv1WNeIukQD7zXUt5JMEiWo+mu+YNJG0myUv7s7o05VVl7UeNiqwF9FCODIPDBbOLMA lV5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fW10dYlm; 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=QUARANTINE 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 4-v6si13743856plb.205.2018.03.25.14.27.18; Sun, 25 Mar 2018 14:27:43 -0700 (PDT) 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=fW10dYlm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752096AbeCYVZw (ORCPT + 99 others); Sun, 25 Mar 2018 17:25:52 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:50277 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751208AbeCYVZt (ORCPT ); Sun, 25 Mar 2018 17:25:49 -0400 Received: by mail-wm0-f65.google.com with SMTP id i75so11924845wmf.0; Sun, 25 Mar 2018 14:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MyAnlQMWrR557JlWwoMaZWOVWNGxPhxE+bnBbYYG4dg=; b=fW10dYlmj2Vhv8WsMxtzTgOeV+I0rVXSTZrvM3YLML9ZXoVhq8jNNtqZKKwOUCpFMt ut54OhDb6BsnECK7SwxSGN1ytqvCP9bdSdyXU92B9zc2EGVuSbWcL3Q2lQb7u3JdfieP ijkQ321ueuxznHsS0EdI8g7aBwbycuNdmF0fBf+hpMBEHa52XdW5QBPZes/FT4KdxpQG TKYZKUza1/pqS3KM9aOu/D6hY4TL/UQmhG4xgFRBQNOxpSsq4ebyt7m11C+M/cHIuEW9 fwZl0Dm3hoIoK/7qd53syq2dDy83b030q5aeBGMEhaagVyOs1JpYWy4dNI9Ok6cGWBTP cJ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MyAnlQMWrR557JlWwoMaZWOVWNGxPhxE+bnBbYYG4dg=; b=F9sbEwT5BQfGGXsJSSmiZsfgGYsfBseKNDaeITbCyCNVWoNGBDLQLfaMtt/E4BtSrd cl+i71U1MYdMVpBKffdQAvnCcEYNCln5sTNIFnaQqFR17CmEl8BO9ygbCccvjsupBSbm L6E1WYqloPKURNvCY/roCid5KGnpMQVdTx9G4LzTqTyaQLi8ZWQoLIaupqmb4tTuapQ9 dR26j2fPUGEsWTOJwH6Ha1Y1YJI4ymY8+38LskMnXidVHflsHYNB3LLXHjLNqOkCu8rh +cTs76zstp+OhRtE1YhCidwhERk+sNCg9hykV3OvXOz8Z2wVIRtDteMeGfp0P8J4RWGk u1vw== X-Gm-Message-State: AElRT7GRKysn3FROADaOC0jlLiaL7s6YwSO4pIS+aYJf9g9lK5Nf23WW /92pvc8g0Cfqq9xd+ZXhGgs= X-Received: by 10.28.5.145 with SMTP id 139mr12902645wmf.31.1522013148559; Sun, 25 Mar 2018 14:25:48 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id p15sm15834294wmd.7.2018.03.25.14.25.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Mar 2018 14:25:47 -0700 (PDT) Date: Sun, 25 Mar 2018 23:25:41 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Masaki Ota Cc: Dmitry Torokhov , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Aaron Ma Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 devices Message-ID: <20180325212541.5wzpvlkcbayfktrz@pali> References: <20171115063404.10066-1-aaron.ma@canonical.com> <20171115083529.jmlpcj4td4evj3xl@pali> <20180129225138.voujq54itw7yblbi@dtor-ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hourbr4b45jzelti" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hourbr4b45jzelti Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tuesday 20 March 2018 11:47:26 Dmitry Torokhov wrote: > On Mon, Jan 29, 2018 at 2:51 PM, dmitry.torokhov@gmail.com > wrote: > > Hi, > > > > On Thu, Nov 16, 2017 at 07:27:02AM +0000, Masaki Ota wrote: > >> Hi, Pali, Aaron, > >> > >> Current code is correct device setting, previous code is wrong. > >> If the trackstick does not work(DUALPOINT flag disable), Device Firmwa= re setting is wrong. > >> > >> But recently I received the same report from Thinkpad L570 user, and I= checked this device and found this device Firmware setting is wrong. Sorry= for our mistake. > >> Is your laptop L570 ? > >> > >> I will add code that supports the trackstick for this device. > > > > Sorry for resurrecting this old thread, I am just trying to understand > > what went wrong here. Is the sequence of "f0 f0 e9" and "ea ea e9" is > > important in getting the correct OTP data and we originally got this > > order wrong? It is not clear from the original patch and discussion that > > this change was intentional. >=20 > Could I please get an answer to my question? >=20 > Thanks! Masaki, this question is for you =E2=86=91=E2=86=91=E2=86=91 > > > > Thanks. > > > >> > >> Best Regards, > >> Masaki Ota > >> -----Original Message----- > >> From: Pali Roh=C3=A1r [mailto:pali.rohar@gmail.com] > >> Sent: Wednesday, November 15, 2017 5:35 PM > >> To: =E5=A4=AA=E7=94=B0 =E7=9C=9F=E5=96=9C Masaki Ota > >> Cc: linux-input@vger.kernel.org; linux-kernel@vger.kernel.org; dmitry.= torokhov@gmail.com; Aaron Ma > >> Subject: Re: [PATCH] Input: ALPS - fix DualPoint flag for 74 03 28 dev= ices > >> > >> On Wednesday 15 November 2017 14:34:04 Aaron Ma wrote: > >> > There is a regression of commit 4a646580f793 ("Input: ALPS - fix > >> > two-finger scroll breakage"), ALPS device fails with log: > >> > > >> > psmouse serio1: alps: Rejected trackstick packet from non DualPoint > >> > device > >> > > >> > ALPS device with id "74 03 28" report OTP[0] data 0xCE after commit > >> > 4a646580f793, after restore the OTP reading order, it becomes to 0x10 > >> > as before and reports the right flag. > >> > > >> > Fixes: 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage") > >> > Cc: > >> > Signed-off-by: Aaron Ma > >> > --- > >> > drivers/input/mouse/alps.c | 4 ++-- > >> > 1 file changed, 2 insertions(+), 2 deletions(-) > >> > > >> > diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c > >> > index 579b899add26..c59b8f7ca2fc 100644 > >> > --- a/drivers/input/mouse/alps.c > >> > +++ b/drivers/input/mouse/alps.c > >> > @@ -2562,8 +2562,8 @@ static int alps_set_defaults_ss4_v2(struct > >> > psmouse *psmouse, > >> > > >> > memset(otp, 0, sizeof(otp)); > >> > > >> > - if (alps_get_otp_values_ss4_v2(psmouse, 1, &otp[1][0]) || > >> > - alps_get_otp_values_ss4_v2(psmouse, 0, &otp[0][0])) > >> > + if (alps_get_otp_values_ss4_v2(psmouse, 0, &otp[0][0]) || > >> > + alps_get_otp_values_ss4_v2(psmouse, 1, &otp[1][0])) > >> > return -1; > >> > > >> > alps_update_device_area_ss4_v2(otp, priv); > >> > >> Masaki Ota, please look at this patch as it partially revert your comm= it > >> 4a646580f793 ("Input: ALPS - fix two-finger scroll breakage"). Somethi= ng smells here. > >> > >> -- > >> Pali Roh=C3=A1r > >> pali.rohar@gmail.com > > > > -- > > Dmitry >=20 >=20 >=20 --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --hourbr4b45jzelti Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCWrgT0wAKCRCL8Mk9A+RD UuaRAJ4p664SWEJfFgtN6lE4jWv+S26AggCfec/0mzYbg27Qd8Bf4d7TousmJtQ= =9V3V -----END PGP SIGNATURE----- --hourbr4b45jzelti--