Author: fireball
Date: Mon Jun 25 15:55:51 2007
New Revision: 27274
URL: http://svn.reactos.org/svn/reactos?rev=27274&view=rev
Log:
- Ignore incorrect responses to ACK and just retry sending data until either ACK is read, or max number of iterations is reached. This fixes the keyboard/mouse detection problems when running ReactOS inside VMWare.
Modified:
trunk/reactos/drivers/input/i8042prt/i8042prt.c
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/i8042prt.c (original)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.c Mon Jun 25 15:55:51 2007
@@ -164,11 +164,8 @@
}
if (Ack == KBD_ACK)
return STATUS_SUCCESS;
- if (Ack != KBD_RESEND)
- {
- DPRINT1("Unexpected Ack 0x%x\n", Ack);
- return STATUS_UNEXPECTED_IO_ERROR;
- }
+ if (Ack == KBD_RESEND)
+ DPRINT("I8042 asks for a data resend\n");
} else {
return STATUS_SUCCESS;
}