Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917AbdI2IIx (ORCPT ); Fri, 29 Sep 2017 04:08:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52060 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbdI2IIt (ORCPT ); Fri, 29 Sep 2017 04:08:49 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5FA6EC04AC48 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=benjamin.tissoires@redhat.com Date: Fri, 29 Sep 2017 10:08:44 +0200 From: Benjamin Tissoires To: Andrew Duggan Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , Kamil =?utf-8?B?UMOhcmFs?= Subject: Re: [PATCH] Input: synaptics - Disable kernel tracking on SMBus devices Message-ID: <20170929080844.GA14877@mail.corp.redhat.com> References: <1506629239-5940-1-git-send-email-aduggan@synaptics.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1506629239-5940-1-git-send-email-aduggan@synaptics.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 29 Sep 2017 08:08:49 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1718 Lines: 47 On Sep 28 2017 or thereabouts, Andrew Duggan wrote: > In certain situations kernel tracking seems to be getting confused > and incorrectly reporting the slot of a contact. On example is when > the user does a three finger click or tap and then places two fingers > on the touchpad in the same area. The kernel tracking code seems to > continue to think that there are three contacts on the touchpad and > incorrectly alternates the slot of one of the contacts. The result that > is the input subsystem reports a stream of button press and release > events as the reported slot changes. > > Kernel tracking was originally enabled to prevent cursor jumps, but it > is unclear how much of an issue kernel jumps actually are. This patch > simply disabled kernel tracking for now. > > Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1482640 > > Signed-off-by: Andrew Duggan > Tested-by: Kamil Páral Acked-by: Benjamin Tissoires Thanks Andrew for the patch! Cheers, Benjamin > --- > drivers/input/mouse/synaptics.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c > index 5af0b7d..ee5466a 100644 > --- a/drivers/input/mouse/synaptics.c > +++ b/drivers/input/mouse/synaptics.c > @@ -1709,8 +1709,7 @@ static int synaptics_create_intertouch(struct psmouse *psmouse, > .sensor_pdata = { > .sensor_type = rmi_sensor_touchpad, > .axis_align.flip_y = true, > - /* to prevent cursors jumps: */ > - .kernel_tracking = true, > + .kernel_tracking = false, > .topbuttonpad = topbuttonpad, > }, > .f30_data = { > -- > 2.7.4 >