NAME
ukbd — USB keyboard driverSYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:device
ukbd
Alternatively, to load the driver as a module at boot time, place the following
line in loader.conf(5):
ukbd_load="YES"
DESCRIPTION
The ukbd driver provides support for keyboards that attach to the USB port. usb(4) and one of uhci(4) or ohci(4) must be configured in the kernel as well.CONFIGURATION
By default, the keyboard subsystem does not create the appropriate devices yet. Make sure you reconfigure your kernel with the following option in the kernel config file:options KBD_INSTALL_CDEV
kbdcontrol -i < /dev/kbd1
kbdcontrol -l keymaps/pt.iso <
/dev/kbd1
kbdcontrol -k /dev/kbd1
kbdcontrol -k /dev/kbd0 < /dev/ttyv0 >
/dev/null
device sc0 at isa? flags 0x100
DRIVER CONFIGURATION
options KBD_INSTALL_CDEV
Make the keyboards available through a character device in
/dev.
options UKBD_DFLT_KEYMAP
makeoptions
UKBD_DFLT_KEYMAP=fr.iso
The above lines will put the French ISO keymap in the ukbd driver. You can
specify any keymap in /usr/share/syscons/keymaps
or /usr/share/vt/keymaps (depending on the
console driver being used) with this option.
options
KBD_DISABLE_KEYMAP_LOADING
Do not allow the user to change the keymap. Note that these options also affect
the AT keyboard driver, atkbd(4).
SYSCTL VARIABLES
The following variables are available as both sysctl(8) variables and loader(8) tunables:- hw.usb.ukbd.debug
- Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0.
FILES
- /dev/kbd*
- blocking device nodes
EXAMPLES
device ukbd
Add the ukbd driver to the kernel.
SEE ALSO
kbdcontrol(1), ohci(4), syscons(4), uhci(4), usb(4), vt(4), config(8)AUTHORS
The ukbd driver was written by Lennart Augustsson <[email protected]> for NetBSD and was substantially rewritten for FreeBSD by Kazutaka YOKOTA <[email protected]>. This manual page was written by Nick Hibma <[email protected]> with a large amount of input from Kazutaka YOKOTA <[email protected]>.April 24, 2018 | Debian |