]> git.baikalelectronics.ru Git - kernel.git/commit
Input: alps - report interleaved bare PS/2 packets via dev3
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Apr 2015 00:14:40 +0000 (17:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 5 Apr 2015 18:48:34 +0000 (11:48 -0700)
commit4cffbf0c06aa1022f0ac6e25cc0cac5ab7ca346e
tree870dc184dbf57a673db06cf7f2519ed9783cfec3
parentc924ee74d86f044068dc2c9af4e9359994a18c01
Input: alps - report interleaved bare PS/2 packets via dev3

Bare packets should be reported via the same evdev device independent on
whether they are detected on the beginning of a packet or in the middle
of a packet.

This has been tested on a Dell Latitude E6400, where the DualPoint Stick
reports bare packets, which get reported via dev3 when the touchpad is
idle, and via dev2 when the touchpad and stick are used simultaneously.

This commit fixes this inconsistency by always reporting bare packets via
dev3. Note that since the come from a DualPoint Stick they really should be
reported via dev2, this gets fixed in a later commit.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c