linux/drivers/input
Pali Rohár a7ef82aee9 Input: alps - ignore bad data on Dell Latitudes E6440 and E7440
Sometimes on Dell Latitude laptops psmouse/alps driver receive invalid ALPS
protocol V3 packets with bit7 set in last byte. More often it can be
reproduced on Dell Latitude E6440 or E7440 with closed lid and pushing
cover above touchpad.

If bit7 in last packet byte is set then it is not valid ALPS packet. I was
told that ALPS devices never send these packets. It is not know yet who
send those packets, it could be Dell EC, bug in BIOS and also bug in
touchpad firmware...

With this patch alps driver does not process those invalid packets, but
instead of reporting PSMOUSE_BAD_DATA, getting into out of sync state,
getting back in sync with the next byte and spam dmesg we return
PSMOUSE_FULL_PACKET. If driver is truly out of sync we'll fail the checks
on the next byte and report PSMOUSE_BAD_DATA then.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-11-13 17:42:57 -08:00
..
gameport Input: joystick - use ktime for measuring timing 2014-09-11 23:41:18 -07:00
joystick Input: xpad - add Thrustmaster as Xbox 360 controller vendor 2014-10-16 14:05:40 -07:00
keyboard Input: opencores-kbd - fix error handling 2014-10-28 10:32:59 -07:00
misc Input: twl4030-pwrbutton - ensure a wakeup event is recorded. 2014-11-08 00:26:44 -08:00
mouse Input: alps - ignore bad data on Dell Latitudes E6440 and E7440 2014-11-13 17:42:57 -08:00
serio Revert "Input: i8042 - disable active multiplexing by default" 2014-10-31 09:35:53 -07:00
tablet Merge branch 'wacom' into next 2014-08-06 23:31:48 -07:00
touchscreen Input: wm97xx - adapt parameters to tosa touchscreen. 2014-10-24 17:27:31 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - fix EVIOCG{type} ioctl 2014-10-07 09:55:01 -07:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c Input: fix used slots detection breakage 2014-08-25 14:59:48 -07:00
input-polldev.c Input: implement managed polled input devices 2014-05-14 16:40:04 -07:00
input.c Input: avoid negative input device numbers 2014-10-09 15:27:24 -07:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c