]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: ALPS - detect trackstick presence for v7 protocol
authorPali Rohár <pali.rohar@gmail.com>
Wed, 6 Jan 2016 23:50:08 +0000 (15:50 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Jan 2016 00:06:46 +0000 (16:06 -0800)
commitdae928ec3c29e7e16723c9c4c1299e00f4e9e949
treea68627ba01838b27f9f22de7f3db145001121e87
parentfa68e2777cbc410fafb4e45e92222a63f6e60e57
Input: ALPS - detect trackstick presence for v7 protocol

This patch adds detection of trackstick for v7 protocol devices. Code in
this patch is used in official Dell touchpad linux drivers for Dell models:
Dell Latitude E5250/5250, E5450/5450, E5550/5550

Detection code and base reg for alps v3 rushmore and v7 devices is exacly
same.

Also user in bug https://bugzilla.kernel.org/show_bug.cgi?id=94801 reported
that Toshiba Sattellite Z30-A-1DG has only alps v7 touchpad device without
trackstick and kernel reports to userspace also redundant trackstick
device.

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