diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-04-19 09:42:16 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-04-19 09:50:42 +0200 |
commit | 6b9d363c49d22395d0cf8729c5963f83cfbb6d69 (patch) | |
tree | 00055d67fae36484e7801ddcc7dab15fea183afe /drivers/input/mouse/psmouse.h | |
parent | Input: wacom - switch mode upon system resume (diff) | |
download | linux-6b9d363c49d22395d0cf8729c5963f83cfbb6d69.tar.xz linux-6b9d363c49d22395d0cf8729c5963f83cfbb6d69.zip |
Input: psmouse - ignore parity error for basic protocols
Observing behavior of the other OS it appears that parity errors reported
by the keyboard controller are being ignored and the data is processed
as usual. Let's do the same for standard PS/2 protocols (bare, Intellimouse
and Intellimouse Explorer) to provide better compatibility. Thsi should fix
teh following bug:
https://bugzilla.kernel.org/show_bug.cgi?id=6105
Thanks for Damjan Jovanovic for locating the source of issue and ideas
for the patch.
Tested-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r-- | drivers/input/mouse/psmouse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h index e053bdd137ff..593e910bfc7a 100644 --- a/drivers/input/mouse/psmouse.h +++ b/drivers/input/mouse/psmouse.h @@ -47,6 +47,7 @@ struct psmouse { unsigned char pktcnt; unsigned char pktsize; unsigned char type; + bool ignore_parity; bool acks_disable_command; unsigned int model; unsigned long last; |