freebsd-nq/sys/dev/kbd
Dag-Erling Smørgrav 823261a3e1 While USB keyboards attach as ukbd[0-9]+, the device node created by
kbd_attach() is called kbd[0-9]+, with a different unit number.  This
makes it impossible to write a devd rule which will automatically
switch to a USB keyboard when one is attached, because there is no way
to guess the correct device node to pass to kbdcontrol.

Therefore, change kbd_attach() to create a device node using the
keyboard device's real name (atkbd0, ukbd0...), and create the
kbd[0-9]+ node as an alias for backward compatibility.
2004-01-27 15:40:30 +00:00
..
atkbd.c Assign keycodes for Power, Sleep and Wake keys. 2003-10-07 09:21:59 +00:00
atkbdc.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
atkbdcreg.h Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar to 2003-07-12 18:36:04 +00:00
atkbdreg.h
kbd.c While USB keyboards attach as ukbd[0-9]+, the device node created by 2004-01-27 15:40:30 +00:00
kbdreg.h Fix dev_t handling to avoid needless makedev() call. 2003-09-27 08:29:58 +00:00
kbdtables.h