]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: alps - report V2 Dualpoint Stick events via the right evdev node
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Apr 2015 00:20:05 +0000 (17:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 5 Apr 2015 18:48:35 +0000 (11:48 -0700)
commite3a79212eae6eb64ed68c78409778f8d1a84c2a1
tree6f693f66756774e158401d0d9fe9e3cf536a957a
parent59c30afbd37c26168597e737297a1de68848c332
Input: alps - report V2 Dualpoint Stick events via the right evdev node

On V2 devices the DualPoint Stick reports bare packets, these should be
reported via the "AlpsPS/2 ALPS DualPoint Stick" dev2 evdev node, which also
has the INPUT_PROP_POINTING_STICK propbit set.

Note that since there is no way to distinguish these packets from an external
PS/2 mouse (insofar as these laptops have an external PS/2 port) this means
that we will be reporting PS/2 mouse events via this evdev node too, as we've
been doing in kernel 3.19 and older.

This has been tested on a Dell Latitude D620 and a Dell Latitude E6400,
which both have a V2 touchpad + a DualPoint Stick which reports bare packets.

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