mirror of
https://github.com/reactos/reactos.git
synced 2024-08-06 11:24:58 +00:00
Don't issue KBD_LINE_TEST, the results are unreliable. Fixes reopen of #688.
svn path=/trunk/; revision=18699
This commit is contained in:
parent
007c0dd6bc
commit
f821b2833d
|
@ -577,12 +577,12 @@ static NTSTATUS STDCALL I8042BasicDetect(PDEVICE_EXTENSION DevExt)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (I8042Write(DevExt, I8042_CTRL_PORT, KBD_LINE_TEST))
|
/*
|
||||||
{
|
* We used to send a KBD_LINE_TEST command here, but on at least HP
|
||||||
Status = I8042ReadDataWait(DevExt, &Value);
|
* Pavilion notebooks the response to that command was incorrect.
|
||||||
if (NT_SUCCESS(Status) && Value == 0)
|
* So now we just assume that a keyboard is attached.
|
||||||
DevExt->KeyboardExists = TRUE;
|
*/
|
||||||
}
|
DevExt->KeyboardExists = TRUE;
|
||||||
|
|
||||||
if (I8042Write(DevExt, I8042_CTRL_PORT, MOUSE_LINE_TEST))
|
if (I8042Write(DevExt, I8042_CTRL_PORT, MOUSE_LINE_TEST))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue