From c8cc0176a31c226c4830882f4f088a01f50393bf Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 26 Mar 2006 22:04:03 +0000 Subject: [PATCH] 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 --- src/add-ons/kernel/bus_managers/ps2/ps2_keyboard.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/add-ons/kernel/bus_managers/ps2/ps2_keyboard.c b/src/add-ons/kernel/bus_managers/ps2/ps2_keyboard.c index 12c63a581a..6153ce9622 100644 --- a/src/add-ons/kernel/bus_managers/ps2/ps2_keyboard.c +++ b/src/add-ons/kernel/bus_managers/ps2/ps2_keyboard.c @@ -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) {