From: Vojtech P. <vo...@us...> - 2002-02-12 09:34:37
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/input/mouse In directory usw-pr-cvs1:/tmp/cvs-serv14171/mouse Modified Files: psmouse.c Log Message: Fixes to make more mice and keyboards work ... Index: psmouse.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/input/mouse/psmouse.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- psmouse.c 26 Jan 2002 19:20:36 -0000 1.16 +++ psmouse.c 12 Feb 2002 09:34:34 -0000 1.17 @@ -229,7 +229,7 @@ static int psmouse_sendbyte(struct psmouse *psmouse, unsigned char byte) { - int timeout = 1000; /* 10 msec */ + int timeout = 10000; /* 100 msec */ psmouse->ack = 0; psmouse->acking = 1; @@ -246,7 +246,7 @@ static int psmouse_command(struct psmouse *psmouse, unsigned char *param, int command) { - int timeout = 100000; /* 100 msec */ + int timeout = 500000; /* 500 msec */ int send = (command >> 12) & 0xf; int receive = (command >> 8) & 0xf; int i; |