Input: synaptics - add support for Intertouch devices
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 2 Mar 2017 22:13:53 +0000 (14:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 25 Mar 2017 17:37:30 +0000 (10:37 -0700)
commite839ffab028981ac77f650faf8c84f16e1719738
treed1a3b85b2669ae9d3d3b1d17787a095a2cbd5212
parent6c53694fb2223746738d1d0cea71456ca88c8fb2
Input: synaptics - add support for Intertouch devices

Most of the Synaptics devices are connected through PS/2 and a different
bus (SMBus or HID over I2C). The secondary bus capability is indicated by
the InterTouch bit in extended capability 0x0C.

We only enable the InterTouch device to be created for the laptops
registered with the top software button property or those we know that are
functional. In the future, we might change the default to always rely on
the InterTouch bus. Currently, users can enable/disable the feature with
the psmouse parameter synaptics_intertouch.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/Kconfig
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.h