Try unplugging the keyboard

restart the machine, you hear a beep for no key board

replug the keyboard and restart.

if it has the same error then there is a manual switch somewhere on the keyboard.


for x windows

The kbd_mode command must be run by the account logged in to the machine, since the account "owns" the keyboard. If the person gets logged off, then you have to be "root" to run the kbd_mode command. Contact your site specialist in that situation.


To execute kbd_mode
kbd_mode [-a -e -n -u]

Options:


-a Causes ASCII to be reported.
-e Causes firm events to be reported. (normal setting)
-n Causes up/down key codes to be reported.
-u Causes undecoded keyboard values to be reported.

Example:
% kbd_mode -e


Dr Evil