Input: synaptics - disable kernel tracking on SMBus devices

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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Andrew Duggan 2017-10-09 20:51:05 -07:00 committed by Dmitry Torokhov
parent 05f5c38576
commit 2b30297d48
1 changed files with 1 additions and 2 deletions

View File

@ -1709,8 +1709,7 @@ static int synaptics_create_intertouch(struct psmouse *psmouse,
.sensor_pdata = { .sensor_pdata = {
.sensor_type = rmi_sensor_touchpad, .sensor_type = rmi_sensor_touchpad,
.axis_align.flip_y = true, .axis_align.flip_y = true,
/* to prevent cursors jumps: */ .kernel_tracking = false,
.kernel_tracking = true,
.topbuttonpad = topbuttonpad, .topbuttonpad = topbuttonpad,
}, },
.f30_data = { .f30_data = {