]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitf097deef59a60109648efd48f6c9fe7f56966938
treeb2d6cbaac48fb9b8c3a7d5d2058ad2e3a8f5db73
parent05ba999fcabb747214d177279de55f00a74850d4
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