>From: Gerd Truschinski <gt@g386bsd.first.gmd.de>
Date: Fri, 15 Oct 1993 19:01:24 +0100
Description:
Every time I press the CAPS LOCK key my keyboard goes
with other machines. This problem was in the first
version of 386BSD up to now in FreeBSD and NetBSD.
Repeat-By:
Simply press the CAPS LOCK key or the NUM LOCK key.
Fix:
add a delay between the only two 'kbd_cmd's one after
another. If I take 1000 as a counter it will fail also
on a 33MHz/386 machine. I may try other fixes if you want
it. Please mention Jan <pernik@varda.ics.muni.cz> because
he had send me the fix (it was an older version of pccons.c,
but it took only five minutes to find a way for the new pccons.c)
From: Rod Grimes
Try this one instead: (it is CPU speed independent.)
Change the for spin loop into a call to DELAY(10):
>From: Gerd Truschinski <gt@g386bsd.first.gmd.de>
Date: Sat, 16 Oct 1993 02:15:11 +0100 (MET)
I tried it - edit, compile, reboot, edit, compile, reboot, edit....
I need a DELAY(10000), a DELAY(5000) didn't work.
A DELAY(10) is definatly (where is my dictionary?) to short.
May be it is better to add a new flag.
Editors Note:
Removed patch kit headers, rccsid, added $Id$.