IICHID(4)
π IICHID(4) β the I2C HID transport driver, explained π
okay so bestie, this is the manual page for iichid(4) from the Kernel Interfaces Manual β yes it's giving kernel-interface realness, and we're gonna get through it together, no cap. β¨
π¦ NAME
iichid β the I2C HID transport driver, aka the little connector that lets your kernel talk to I2C Human Interface Devices. literally it's the middleman. π«Ά
πΈ SYNOPSIS
So there's two ways to get this baby into your life, and both are valid.
Way 1 β bake it into the kernel. drop these lines in your kernel configuration file:
device iichid
Way 2 β load it as a module at boot time. then go put this line into loader.conf(5):
iichid_load="YES"
both slay, pick your fighter. π
β¨ DESCRIPTION
The iichid driver provides a interface to I2C Human Interface Devices (HIDs).
that's the whole thing. short king energy. π
π SYSCTL VARIABLES
Next parameters are available as sysctl(8) variables. Also important: the debug parameter is available as a loader(8) tunable as well β so you can set that one early, before the kernel even gets its coffee. β
dev.iichid.*.sampling_rate_fastβ the active sampling rate, in num/second. this is the one that kicks in for sampling mode. πββοΈdev.iichid.*.sampling_rate_slowβ the idle sampling rate, in num/second (for sampling mode). chill mode. π΄dev.iichid.*.sampling_hysteresisβ how many missing samples it tolerates before it switches on slow mode (for sampling mode). like, how many texts go unanswered before it assumes you're busy. π΅hw.iichid.debugβ debug output level, where0means debugging disabled, and larger values increase debug message verbosity. default is0. turn it up when you're nosy, iykyk. π
π₯ SEE ALSO
that's it, that's the whole list. quality over quantity bestie. π
π BUGS
Okay so, real talk β iichid does not support GPIO interrupts yet. π and in that case, iichid enables sampling mode with periodic polling of hardware by driver means. like, it just keeps asking "you good? you good?" on repeat.
if you need to tune that polling life, see thedev.iichid.*.sampling_*sysctl(8)variables. that's where your knobs are, bestie. ποΈ
π HISTORY
The iichid driver first appeared in FreeBSD 13.0. a whole era. β
π AUTHORS
The iichid driver was written by Marc Priggemeyer <marc.priggemeyer@gmail.com> and Vladimir Kondratyev <wulf@FreeBSD.org>.
This manual page was written by Vladimir Kondratyev <wulf@FreeBSD.org>.
give them their flowers, fr fr. πΈπ
and that's the page, bestie! π§ this version dropped on Debian, dated September 21, 2020, and it's the IICHID(4) page β go forth and interface with your HIDs. π
β¨
π¦ 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