Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751816AbdFOAdg (ORCPT ); Wed, 14 Jun 2017 20:33:36 -0400 Received: from mail-os2jpn01on0087.outbound.protection.outlook.com ([104.47.92.87]:53600 "EHLO JPN01-OS2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750768AbdFOAde (ORCPT ); Wed, 14 Jun 2017 20:33:34 -0400 From: Masaki Ota To: Laura Abbott , Paul Donohue CC: Dmitry Torokhov , Pali Rohar , Nick Fletcher , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "scott.s.lowe@gmail.com" Subject: RE: [REGRESSION] Touchpad failure after e7348396c6d5 ("Input: ALPS - fix V8+ protocol handling (73 03 28)") Thread-Topic: [REGRESSION] Touchpad failure after e7348396c6d5 ("Input: ALPS - fix V8+ protocol handling (73 03 28)") Thread-Index: AQHS28lZ6isdvv9kdkG/gMORaIsZVqIShTyAgAWPoYCACKbrMIAEC3aAgABT8qA= Date: Thu, 15 Jun 2017 00:33:29 +0000 Message-ID: References: <937d0082-5c51-e0b5-dcf9-efade5ecbde5@redhat.com> <20170603040349.GB16345@TopQuark.net> <75b84b97-5f36-a3be-bb4e-e43cd72d9921@redhat.com> In-Reply-To: <75b84b97-5f36-a3be-bb4e-e43cd72d9921@redhat.com> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=jp.alps.com; x-originating-ip: [106.184.109.136] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;KAWPR01MB1091;7:IwEkNT5VFQpUOQAJUNo2lz9x6KAByVLE5/HZ/JbxyTUawgZ9i8PH3EFQwlYz6i/SWLSdYXHHjHU+uBcSXTv4NXBzbUMfAPJ+tMWBgaGIXGSMMo1ZMCkUg7YTlvXcSLKHd/p+e+tkVXPj9gHb5yZ5k+mk1T/d6g1FkGBit2vmmb0cs8E73YFm7RxQfzuXgyYAUZ8qBQ1tokra9AGHAxiph8sPOwEGwcMTBzMgnrbODwxT1pjlq5W3HDHfzY9s+RaGSHv0muxQ7vnwtDzv4gH/OxdYKNAFowFE9MEegRPS5HvwWyEWafILSi+gDQswzIsGeaYf1Fl7GjdZtMjYzQ1sEw==;20:neI6kACqVYlFFH21KIadmaYtv8XGkHsax9P7T0AOh8eU4m5CD5YnyfbsORk7ArCbt7Qx9jnCjrF3y6RE+y6ff+B1pd1E09nDlsLTmDTHRg00XDldggndxeCsRnbRQ9E9cBcmffNwsdrUDKUltK+hClYEJ3AklWGQ3VlXVgMBPrJiUea4cSVsfnz4PVuf7LyTPELp0ODXEzXmEsKVc1aUX6o/9n9O6B7WAf+0YD3UcXIdjn/WcPXKD5As/H2PheYc x-ms-office365-filtering-correlation-id: 73c2c2aa-9b2d-4c15-c4af-08d4b3862527 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:KAWPR01MB1091; x-ms-traffictypediagnostic: KAWPR01MB1091: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(83566789882024)(9931346810618); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:KAWPR01MB1091;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:KAWPR01MB1091; x-forefront-prvs: 0339F89554 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39410400002)(39400400002)(39850400002)(39450400003)(39860400002)(39840400002)(377454003)(24454002)(13464003)(39060400002)(5660300001)(9686003)(74316002)(81166006)(8676002)(3660700001)(966005)(229853002)(478600001)(3280700002)(6306002)(305945005)(14454004)(2906002)(53936002)(86362001)(85182001)(66066001)(189998001)(77096006)(6246003)(7736002)(42882006)(2950100002)(38730400002)(6506006)(7696004)(6436002)(93886004)(50986999)(99286003)(54356999)(8936002)(55016002)(76176999)(2900100001)(102836003)(33656002)(122556002)(6116002)(4326008)(3846002)(53546009)(25786009)(54906002);DIR:OUT;SFP:1101;SCL:1;SRVR:KAWPR01MB1091;H:KAWPR01MB1092.jpnprd01.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: jp.alps.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2017 00:33:29.4091 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 57e76998-77bd-4b82-a424-198f46eb2254 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KAWPR01MB1091 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v5F0Xevl013549 Content-Length: 4460 Lines: 103 Hi, Paul, Dmitry, About Laura's test result, it seems like this issue has to do with x_max, y_max, x_res, y_res. This values are set as following code. input_set_abs_params(dev1, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); input_set_abs_params(dev1, ABS_MT_POSITION_Y, 0, priv->y_max, 0, 0); input_abs_set_res(dev1, ABS_MT_POSITION_X, priv->x_res); input_abs_set_res(dev1, ABS_MT_POSITION_Y, priv->y_res); For testing this code, I assigned an abnormal value to x_max, y_max , and it seems to effect only cursor speed. About x_res, y_res , there is no effect, even if I set an abnormal value.(need this code?) I don't understand why these values have to do with this issue. Can you guess the root cause of this issue? Best Regards, Masaki Ota -----Original Message----- From: Laura Abbott [mailto:labbott@redhat.com] Sent: Thursday, June 15, 2017 3:53 AM To: 太田 真喜 Masaki Ota ; Paul Donohue Cc: Dmitry Torokhov ; Pali Rohar ; Nick Fletcher ; linux-input@vger.kernel.org; linux-kernel@vger.kernel.org; scott.s.lowe@gmail.com Subject: Re: [REGRESSION] Touchpad failure after e7348396c6d5 ("Input: ALPS - fix V8+ protocol handling (73 03 28)") On 06/11/2017 10:25 PM, Masaki Ota wrote: > Hi, Laura, > > Could you try to check below modification? > https://bugzilla.kernel.org/show_bug.cgi?id=195215#c10 > > This thread person said, the issue was fixed by this change. > I guess it's a XY coordinate setting problem, though the code that before the patch is applied also has a problem. > With the previous patch plus the part you suggested: "it appears as if this resolves all remaining touchpad issues. Cursor movement works as expected, both on the left-hand and right-hand sides of the touchpad, and I did not see any issues with two-finger scrolling on either side of the touchpad. Behavior with this test build appeared to be identical to 4.10.5, the last "official" kernel release to work with my touchpad." So it sounds like both parts together fix the issue. Thanks, Laura > Best Regards, > Masaki Ota > -----Original Message----- > From: Laura Abbott [mailto:labbott@redhat.com] > Sent: Wednesday, June 07, 2017 1:59 AM > To: Paul Donohue > Cc: 太田 真喜 Masaki Ota ; Dmitry Torokhov > ; Pali Rohar ; Nick > Fletcher ; linux-input@vger.kernel.org; > linux-kernel@vger.kernel.org; scott.s.lowe@gmail.com > Subject: Re: [REGRESSION] Touchpad failure after e7348396c6d5 ("Input: > ALPS - fix V8+ protocol handling (73 03 28)") > > On 06/02/2017 09:03 PM, Paul Donohue wrote: >> This might be related to >> https://bugzilla.kernel.org/show_bug.cgi?id=195215 >> >> Could you have the user try this change? >> https://bugzilla.kernel.org/show_bug.cgi?id=195215#c12 >> > > https://bugzilla.redhat.com/show_bug.cgi?id=1447327#c13 > > "Cursor movement seems to work, but there are intermittent two-finger scrolling issues on the right-hand side of the touchpad. There are no issues with cursor movement or two-finger scrolling on the left-hand side of the touchpad." > >> On Fri, Jun 02, 2017 at 10:54:52AM -0700, Laura Abbott wrote: >>> Hi, >>> >>> Fedora got a bug report >>> https://bugzilla.redhat.com/show_bug.cgi?id=1447327 >>> of a touchpad failure on a Dell Latitude E7370. Testing showed that >>> the bad commit was >>> >>> commit e7348396c6d51b57c95c6646c390cd078e038e19 >>> Author: Masaki Ota >>> Date: Fri Mar 17 14:10:57 2017 -0700 >>> >>> Input: ALPS - fix V8+ protocol handling (73 03 28) >>> >>> Devices identified as E7="73 03 28" use slightly modified version of V8 >>> protocol, with lower count per electrode, different offsets, and different >>> feature bits in OTP data. >>> >>> Fixes: aeaa881f9b17 ("Input: ALPS - set DualPoint flag for 74 03 28 devices") >>> Signed-off-by: Masaki Ota >>> Acked-by: Pali Rohar >>> Tested-by: Paul Donohue >>> Tested-by: Nick Fletcher >>> Cc: stable@vger.kernel.org >>> Signed-off-by: Dmitry Torokhov >>> >>> I suspect this particular model needs special handling as well? >>> >>> Thanks, >>> Laura >>> >