hidbus(4)

hidbus4

Generic hid bus driver

Usage

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

device hidbus device hid

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

hidbus_load="YES"

Overview

The hidbus driver provides support for multiple HID driver attachments to single HID transport backend. See iichid(4) or usbhid(4).

Each HID device can have several components, e.g., a keyboard and a mouse. These components use different report identifiers (a byte) combined into groups called collections to distinguish which one data is coming from. The hidbus driver has other drivers attached that handle particular kinds of devices and hidbus broadcasts data to all of them.

Sysctl variables

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

hw.hid.hidbus.debug

Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0.

Releases

15 releases since FreeBSD 13.0-RELEASE; the text changed 3 times.

  1. 13.0–13.2
  2. 13.3–14.5
  3. 15.0–15.1
  4. 16.0

History

The hidbus driver first appeared in FreeBSD 13.0.

Authors

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

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.