FIX: pc_keyb.c in >2.2.17 2.4.x 2.5.x
Hi,
the "kbd_exists" fix from around 2.3.39 is a bit hard. disabling the kdb even when a reset succeeds.
The patch contains a fix. The bug itself is still there.
walter
527a528,536
Quoted 9 lines
/*
the new "kbd_exists" logic inpc_kbd.cmay be just completely buggered. It tries to notice when a PC-style keyboard is missing, and avoid trying to set the leds on it when no keyboard exists. */
531c540,542
< send_data(KBD_CMD_ENABLE); /* re-enable kbd if any errors */
---
Quoted 3 lines
if ( send_data(KBD_CMD_ENABLE) > 0) kbd_exists = 1; /* re-enable kbd if no errors */ else