Date: Wed, 25 Sep 1996 10:31:47 -0400 From: Garrett Wollman <wollman@lcs.mit.edu> To: Bruce Evans <bde@zeta.org.au> Cc: current@freebsd.org Subject: Boot-block keyboard probe Message-ID: <9609251431.AA23708@halloran-eldar.lcs.mit.edu> In-Reply-To: <199609250438.OAA27188@godzilla.zeta.org.au> References: <199609250438.OAA27188@godzilla.zeta.org.au>
index | next in thread | previous in thread | raw e-mail
[Excessive CC list trimmed, discussion moved to -current.]
<<On Wed, 25 Sep 1996 14:38:42 +1000, Bruce Evans <bde@zeta.org.au> said:
> I think the keyboard controller always responds with KB_RESEND (0xFE)
> after a timeout. The probe thinks that this is from the keyboard and
> returns "Found". Thus the probe only works if its own timeout is too
> short. It worked better in rev.1.1 where not-Found was returned if
> KB_RESEND was received. Apparently there were problems with attached
> keyboards also returning KB_RESEND.
We applied the following patch to ship a version with working serial
console support:
diff -c -r1.1.1.1 -r1.2
*** probe_keyboard.c 1996/05/31 19:19:34 1.1.1.1
--- probe_keyboard.c 1996/06/03 17:24:08 1.2
***************
*** 85,96 ****
printf("gotres\n");
#endif
if (!retries) {
- if (val == KB_RESEND) {
- #ifdef DEBUG
- printf("gave up\n");
- #endif
- return(0);
- }
return(1);
}
gotack:
--- 85,90 ----
We haven't seen this fail yet.
Life would be much easier with a decent keyboard design. Perhaps
we'll be seeing USB keyboards soon...
-GAWollman
--
Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu | O Siem / The fires of freedom
Opinions not those of| Dance in the burning flame
MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9609251431.AA23708>
