disabled a test that doesn't work relyable on some notebooks (stupid keyboard controller)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16885 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2006-03-26 22:04:03 +00:00
parent d5a9137007
commit c8cc0176a3

View File

@ -169,14 +169,13 @@ probe_keyboard(void)
{
uint8 data;
status_t status;
// status = ps2_command(PS2_CTRL_KEYBOARD_ACTIVATE, const uint8 *out, int out_count, uint8 *in, int in_count)
status = ps2_command(PS2_CTRL_KEYBOARD_TEST, NULL, 0, &data, 1);
if (status != B_OK || data != 0x00) {
dprintf("ps2: keyboard test failed, status 0x%08lx, data 0x%02x\n", status, data);
return B_ERROR;
}
// This test doesn't work relyable on some notebooks (it reports 0x03)
// status = ps2_command(PS2_CTRL_KEYBOARD_TEST, NULL, 0, &data, 1);
// if (status != B_OK || data != 0x00) {
// dprintf("ps2: keyboard test failed, status 0x%08lx, data 0x%02x\n", status, data);
// return B_ERROR;
// }
status = ps2_dev_command(&ps2_device[PS2_DEVICE_KEYB], PS2_CMD_RESET, NULL, 0, &data, 1);
if (status != B_OK || data != 0xaa) {