When Linux boots, he should always initialise the keyboard.

Bill Hawes (staltari@usa.net)
Fri, 09 Jan 1998 13:55:03


The subject:
I have a 430TX motherboard (unknown manufacturer) with AMI bios, a P166MMX (P55C) on it, UltraDMA IDE controller and HD.

The symptoms:
Dos and Win95 work fine, but Linux gets a early reset while booting.
I tried the 2.0.0 and 2.0.27 kernels: the 2.0.0 kernel boots well only if I hit a key while booting, the 2.0.27 never.

The diagnosis:
I discovered it was a keyboard initialisation problem: Linux on a i386 machine doesn't initialise the keyboard (Linux trusts the bios does it, but probably my bios doesn't).

The cure:
I modified the kernel source to enforce the initialisation of the keyboard and now all works fine.
To obtain this target, I just enforced the definition of the flag INIT_KBD into the file drivers/char/keyboard.c

I don't know if what I did is dangerous, but it works. What do you think about this? For questions, corrections and remarks please give me feedback.

Be happy.

Alessandro Staltari.

____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com