Commit 1d9f2626 authored by Sebastian Kapfer's avatar Sebastian Kapfer Committed by Dmitry Torokhov

Input: ALPS - add interleaved protocol support (Dell E6x00 series)

Properly handle version of the protocol where standard PS/2 packets
from trackpoint are stuffed into middle (byte 3-6) of the standard
ALPS packets when both the touchpad and trackpoint are used together.

The patch is based on work done by Matthew Chapman and additional
research done by David Kubicek and Erik Osterholm:

	https://bugs.launchpad.net/ubuntu/+source/linux/+bug/296610

Many thanks to David Kubicek for his efforts in researching fine points
of this new version of the protocol, especially interaction between pad
and stick in these models.
Signed-off-by: default avatarSebastian Kapfer <sebastian_kapfer@gmx.net>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 18f7ad59
This diff is collapsed.
...@@ -23,6 +23,7 @@ struct alps_data { ...@@ -23,6 +23,7 @@ struct alps_data {
char phys[32]; /* Phys */ char phys[32]; /* Phys */
const struct alps_model_info *i;/* Info */ const struct alps_model_info *i;/* Info */
int prev_fin; /* Finger bit from previous packet */ int prev_fin; /* Finger bit from previous packet */
struct timer_list timer;
}; };
#ifdef CONFIG_MOUSE_PS2_ALPS #ifdef CONFIG_MOUSE_PS2_ALPS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment