]> git.baikalelectronics.ru Git - kernel.git/commit
HID: rmi: disable palm detect gesture when present
authorAndrew Duggan <aduggan@synaptics.com>
Wed, 25 Feb 2015 01:36:50 +0000 (17:36 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Feb 2015 14:26:44 +0000 (15:26 +0100)
commit059ba74e28e5e5c7ff1a596dd27fcfc81a1c6397
treeb2d6cbaac48fb9b8c3a7d5d2058ad2e3a8f5db73
parent2d9268a0586d97b769c90d88452ad14e80515b9c
HID: rmi: disable palm detect gesture when present

A touchpad may have firmware based palm detection code enabled which
suppresses 2D data from being reported when the firmware believes a palm is
on the touchpad. This functionality is meant to be used in mouse mode without
a driver. When a driver is present, the driver can do a better job of
determining if a contact is a palm. If this gesture is enabled on a touchpad
operating in rmi mode then the firmware will not properly clear the palm detect
interrupt, causing the touchpad to interrupt indefinately. This patch disables
the palm detect gesture when the touchpad is operating in rmi mode.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c