summaryrefslogtreecommitdiff
path: root/ps2comm.c
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-07-13 00:19:10 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:00 +0200
commit6984f1f4025617e8ff293d61e004cd05dd6d6e91 (patch)
tree0ed8b5177aa32d8a111092b982d3bc1a28274fa7 /ps2comm.c
parentc3a894be676154c2eeaea5d64b979b43b5a18939 (diff)
Longer timeout in the reset sequence. Experience from the
2.5 kernel driver has shown that 4 seconds is needed for some touchpads.
Diffstat (limited to 'ps2comm.c')
-rw-r--r--ps2comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps2comm.c b/ps2comm.c
index 65ad35d..1199280 100644
--- a/ps2comm.c
+++ b/ps2comm.c
@@ -199,7 +199,7 @@ synaptics_reset(int fd)
#endif
return !Success;
}
- xf86WaitForInput(fd, 1500000);
+ xf86WaitForInput(fd, 4000000);
if((ps2_getbyte(fd, &r[0]) == Success) &&
(ps2_getbyte(fd, &r[1]) == Success)) {
if(r[0] == 0xAA && r[1] == 0x00) {