Don't issue KBD_LINE_TEST, the results are unreliable. Fixes reopen of #688. Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c _____
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c --- trunk/reactos/drivers/input/i8042prt/i8042prt.c 2005-10-23 11:01:11 UTC (rev 18698) +++ trunk/reactos/drivers/input/i8042prt/i8042prt.c 2005-10-23 11:32:52 UTC (rev 18699) @@ -577,12 +577,12 @@
return FALSE; }
- if (I8042Write(DevExt, I8042_CTRL_PORT, KBD_LINE_TEST)) - { - Status = I8042ReadDataWait(DevExt, &Value); - if (NT_SUCCESS(Status) && Value == 0) - DevExt->KeyboardExists = TRUE; - } + /* + * We used to send a KBD_LINE_TEST command here, but on at least HP + * Pavilion notebooks the response to that command was incorrect. + * So now we just assume that a keyboard is attached. + */ + DevExt->KeyboardExists = TRUE;
if (I8042Write(DevExt, I8042_CTRL_PORT, MOUSE_LINE_TEST)) {