linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: synaptics - Disable kernel tracking on SMBus devices
@ 2017-09-28 20:07 Andrew Duggan
  2017-09-29  8:08 ` Benjamin Tissoires
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Duggan @ 2017-09-28 20:07 UTC (permalink / raw)
  To: linux-input, linux-kernel
  Cc: Andrew Duggan, Dmitry Torokhov, Benjamin Tissoires,
	Kamil Páral

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 <aduggan@synaptics.com>
Tested-by: Kamil Páral <kparal@redhat.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: synaptics - Disable kernel tracking on SMBus devices
  2017-09-28 20:07 [PATCH] Input: synaptics - Disable kernel tracking on SMBus devices Andrew Duggan
@ 2017-09-29  8:08 ` Benjamin Tissoires
  2017-10-10  3:51   ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Tissoires @ 2017-09-29  8:08 UTC (permalink / raw)
  To: Andrew Duggan
  Cc: linux-input, linux-kernel, Dmitry Torokhov, Kamil Páral

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 <aduggan@synaptics.com>
> Tested-by: Kamil Páral <kparal@redhat.com>

Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: synaptics - Disable kernel tracking on SMBus devices
  2017-09-29  8:08 ` Benjamin Tissoires
@ 2017-10-10  3:51   ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2017-10-10  3:51 UTC (permalink / raw)
  To: Benjamin Tissoires
  Cc: Andrew Duggan, linux-input, linux-kernel, Kamil Páral

On Fri, Sep 29, 2017 at 10:08:44AM +0200, Benjamin Tissoires wrote:
> 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 <aduggan@synaptics.com>
> > Tested-by: Kamil Páral <kparal@redhat.com>
> 
> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> 
> Thanks Andrew for the patch!

Applied, thank you.

> 
> 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
> > 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-10  3:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-28 20:07 [PATCH] Input: synaptics - Disable kernel tracking on SMBus devices Andrew Duggan
2017-09-29  8:08 ` Benjamin Tissoires
2017-10-10  3:51   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).