Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 15:25:30 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr.     Preprocessor])
Cc:        Mike Smith <msmith@freebsd.org>, "Brian J. McGovern" <mcgovern@spoon.beta.com>, brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com
Subject:   Re: AMD Athlon and booting 
Message-ID:  <200003172325.PAA00910@mass.cdrom.com>
In-Reply-To: Your message of "17 Mar 2000 14:35:49 %2B0100." <y9l7lf13eiy.fsf@informatik.uni-tuebingen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >>>>> "Mike" =3D=3D Mike Smith <msmith@FreeBSD.ORG> writes:
> =

> Mike> This has nothing to do with Athlon processors and everything to d=
o with =

> Mike> buggy BIOS code that doesn't set the "extended keyboard present" =
bit.  =

> Mike> Feel free to check the (very simple) code in boot2 that performs =
keyboard =

> Mike> detection, and if you've got any better ideas on how to make this=
 work =

> Mike> properly, we're all ears. 8)
> =

> This is untrue, at least in general.  It is a timing problem at least
> on some Athlon boards.  On the MSI 6195, if you increase the timing
> parameters in probe_keyboard.c, the keyboard will get detected just fin=
e.

I don't know what you're smoking, but there is no "probe_keyboard.c" =

involved in this.  The keyboard probe code is in boot2.c, and it looks =

like this:

   313              if (opts & 1 << RBX_PROBEKBD) {
   314                  i =3D *(uint8_t *)PTOV(0x496) & 0x10;
   315                  printf("Keyboard: %s\n", i ? "yes" : "no");
   316                  if (!i)
   317                      opts |=3D 1 << RBX_DUAL | 1 << RBX_SERIAL;
   318                  opts &=3D ~(1 << RBX_PROBEKBD);
   319              }

There aren't any timing parameters there either.  Either bit 4 in the =

byte at 0x400:96 is set, or it's not.

-- =

\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003172325.PAA00910>