mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +00:00
- 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:
parent
67f892011c
commit
43fb21136e
1 changed files with 2 additions and 5 deletions
|
@ -164,11 +164,8 @@ NTSTATUS STDCALL I8042SynchWritePort(PDEVICE_EXTENSION DevExt,
|
||||||
}
|
}
|
||||||
if (Ack == KBD_ACK)
|
if (Ack == KBD_ACK)
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
if (Ack != KBD_RESEND)
|
if (Ack == KBD_RESEND)
|
||||||
{
|
DPRINT("I8042 asks for a data resend\n");
|
||||||
DPRINT1("Unexpected Ack 0x%x\n", Ack);
|
|
||||||
return STATUS_UNEXPECTED_IO_ERROR;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue