diff options
| author | Peter Osterlund <petero2@telia.com> | 2003-12-18 05:33:09 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2003-12-18 05:33:09 -0800 |
| commit | 75dcd3a42ae61e2f8725bdd2321d2a958efea792 (patch) | |
| tree | e6f2b2d233af1d0dcc72bc81ce3625d4804dea65 /drivers/input/mouse | |
| parent | 2b07066d6087a9866124a0d149c300a218d3bf8e (diff) | |
[PATCH] synaptics powerpro fix
Made the packet checking code less strict, so that the driver works also for
touchpads that don't strictly follow the synaptics absolute protocol.
Problem reported by Anders Kaseorg using a PowerPro C 3:16 laptop.
Diffstat (limited to 'drivers/input/mouse')
| -rw-r--r-- | drivers/input/mouse/synaptics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 9f937fbd67a2..439416d8dd2d 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -599,7 +599,7 @@ static void synaptics_process_packet(struct psmouse *psmouse) static int synaptics_validate_byte(struct psmouse *psmouse) { - static unsigned char newabs_mask[] = { 0xC8, 0x00, 0x00, 0xC8, 0x00 }; + static unsigned char newabs_mask[] = { 0xC0, 0x00, 0x00, 0xC0, 0x00 }; static unsigned char newabs_rslt[] = { 0x80, 0x00, 0x00, 0xC0, 0x00 }; static unsigned char oldabs_mask[] = { 0xC0, 0x60, 0x00, 0xC0, 0x60 }; static unsigned char oldabs_rslt[] = { 0xC0, 0x00, 0x00, 0x80, 0x00 }; |
