linux/drivers/input
Pali Rohár 9d720b34c0 Input: alps - allow up to 2 invalid packets without resetting device
On some Dell Latitude laptops ALPS device or Dell EC send one invalid byte
in 6 bytes ALPS packet. In this case psmouse driver enter out of sync
state. It looks like that all other bytes in packets are valid and also
device working properly. So there is no need to do full device reset, just
need to wait for byte which match condition for first byte (start of
packet). Because ALPS packets are bigger (6 or 8 bytes) default limit is
small.

This patch increase number of invalid bytes to size of 2 ALPS packets which
psmouse driver can drop before do full reset.

Resetting ALPS devices take some time and when doing reset on some Dell
laptops touchpad, trackstick and also keyboard do not respond. So it is
better to do it only if really necessary.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-11-09 22:58:38 -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 - allow up to 2 invalid packets without resetting device 2014-11-09 22:58:38 -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 Input: mousedev - fix race when creating mixed device 2014-03-29 14:44:23 -07:00
sparse-keymap.c