kbd – pc keyboard driver
bind -a #b /dev
device serves a one-level directory containing the files
file returns the raw scancode stream as it is emitted by the keyboard
device without any translation. It is usually
task to interpret the scancodes and provide device independent
keyboard input to programs. The
file can be only opened once by the hostowner.
Writing a number to the write-only
file changes the status leds on the keyboard. the value of the
number is the addition of 1, 2 and 4 representing activated
Scroll, Num and Caps leds.
Set the Scroll and Caps leds:
echo 5 >/dev/leds