- 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.

svn path=/trunk/; revision=27274
This commit is contained in:
Aleksey Bragin 2007-06-25 11:55:51 +00:00
parent 67f892011c
commit 43fb21136e

View file

@ -164,11 +164,8 @@ NTSTATUS STDCALL I8042SynchWritePort(PDEVICE_EXTENSION DevExt,
}
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;
}