HIDBUS(4)
π HIDBUS(4) π
ok so we're reading the Kernel Interfaces Manual today bestie, and this page is all about hidbus β the generic HID bus driver. yes it's as iconic as it sounds, let's get into it π
β¨ NAME β¨
hidbus β the generic HID bus driver. that's it, that's the whole name, and honestly? she ate. π₯
β¨ SYNOPSIS β¨
ok so if you wanna compile this driver into the kernel (yes, hard-mode, no modules, we love commitment πͺ), you drop these lines into your kernel configuration file:
device hidbus
device hid
orrr, alternatively, if you'd rather load the driver as a module at boot time (the chill option, lowkey the move fr fr), you put this line in loader.conf(5):
hidbus_load="YES"
periodt. that's the whole setup π«Ά
π¦ DESCRIPTION π¦
so here's the vibe: the hidbus driver provides support for multiple HID driver attachments to a single HID transport backend. basically she's the main character middle-manager and she's slaying at it π
want the receipts? check out iichid(4) or usbhid(4).
now, each HID device can have several components β think a keyboard and a mouse sharing one device, like a little duo. these components use different report identifiers (that's a byte, okay, a single byte, no cap) which get combined into groups called collections, and the whole point of those collections is to distinguish which one the data is coming from. iykyk π«
the hidbus driver has other drivers attached that handle particular kinds of devices, and hidbus broadcasts data to all of them. yes, all of them. she's generous like that π
πΈ SYSCTL VARIABLES πΈ
ok these next ones are available as both sysctl(8) variables and loader(8) tunables β double duty, we love a multitasker β¨
hw.hid.hidbus.debugβ this is your debug output level.0means debugging is disabled (default, keep it cute and quiet π€«) and larger values increase debug message verbosity. so like, the bigger the number, the more she talks. default is0, obviously.
π SEE ALSO π
the whole friend group, in order, no one left out π
hconf(4), hcons(4), hgame(4), hidraw(4), hkbd(4), hms(4), hmt(4), hpen(4), hsctrl(4), hskbd(4), iichid(4), usbhid(4)
β HISTORY β
the hidbus driver first appeared in FreeBSD 13.0. she's a 13.0 girlie and we respect the origin story π
π AUTHORS π
the hidbus driver was written by Vladimir Kondratyev <wulf@FreeBSD.org>. absolute legend behavior, thank you for your service πβ¨
and that's the whole page bestie, you're officially caught up π
ngl this one's short and sweet β no scary warnings, no deprecated chaos, just a bus driver doing her thing π
sign-off time: this page is from the Debian build of the manual, dated September 14, 2020 β so if something's moved since then, that's between you and the calendar bestie ππ
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2020 Vladimir Kondratyev <wulf@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms