Reference

usbhid(4)

USB HID transport driver

NAME

usbhid – USB HID transport driver

SYNOPSIS

To compile this driver into the kernel, place the following lines in your kernel configuration file:

device usbhid

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

usbhid_load="YES"

DESCRIPTION

The usbhid driver provides a interface to USB Human Interface Devices (HIDs).

SYSCTL VARIABLES

The following variables are available as both sysctl(8) variables and loader(8) tunables:

hw.usb.usbhid.enable

Enable usbhid and make its priority greater than other USB HID drivers, such as ukbd(4), ums(4), and uhid(4). Default is 1.

hw.usb.usbhid.debug

Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0. Debug messages are printed on the system console and can be viewed using dmesg(8).

SEE ALSO

ehci(4), hkbd(4), hms(4), ohci(4), uhci(4), usb(4), xhci(4), usbconfig(8)

HISTORY

The usbhid driver first appeared in FreeBSD 13.0. It was enabled by default in FreeBSD 15.0.

AUTHORS

The usbhid driver was written by Vladimir Kondratyev ⟨[email protected]⟩.

History