HCONF(4)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1, nixpkgs unstable

πŸ’… HCONF(4) β€” like, the manual page for hconf, bestie

okay so real quick before we get into it: this is HCONF(4) from the Kernel Interfaces Manual, and it's about the hconf driver β€” the MS Windows Precision Touchpad configuration driver. yes that whole sentence. anyway let's go πŸŽ€


✨ NAME ✨

hconf β€” MS Windows Precision Touchpad configuration driver. that's it, that's the vibe. πŸ‘‘


🌸 SYNOPSIS 🌸

so if you wanna compile this driver into the kernel (main character energy, no modules), you drop these lines into your kernel configuration file:

device hconf
device hid
device hidbus

OR β€” and honestly this is the lowkey easier route β€” you can load the driver as a module at boot time by putting this line in loader.conf(5):

hconf_load="YES"

pick your fighter, both slay. πŸ¦‹


🫢 DESCRIPTION 🫢

okay so the hconf driver provides support for the generic MS Windows Precision Touchpad configuration collection. it enables the host to configure two different aspects of the device, and they are:

  • one that allows the host to select input mode, and
  • the other that allows the host to be selective in what is reported.

two aspects. both iconic. periodt. ✨


πŸ’– SYSCTL VARIABLES πŸ’–

next parameters are available as sysctl(8) variables. also, heads up: the debug parameter is available as a loader(8) tunable as well. not me giving you options πŸ’€

  • dev.hconf.*.input_mode β€” the HID device input mode, and the values are: 0 = mouse, 3 = touchpad. choose wisely bestie 🐭
  • dev.hconf.*.surface_switch β€” enable / disable switch for surface: 1 = on, 0 = off. simple as that fr fr
  • dev.hconf.*.buttons_switch β€” enable / disable switch for buttons: 1 = on, 0 = off. same energy ngl
  • hw.hid.hconf.debug β€” debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0. so if you want the tea, crank it up β˜•πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, they're giving supporting characters that ate:


⭐ HISTORY ⭐

the hconf driver first appeared in FreeBSD 13.0. a legend was born, etc etc 🌈


πŸ‘‘ AUTHORS πŸ‘‘

okay giving credit where it's due because we always do:

  • the hconf driver was written by Vladimir Kondratyev <wulf@FreeBSD.org>
  • Switch parameter support was added by Andriy Gapon <avg@FreeBSD.org>

absolute icons, both of them πŸ’œ


and that's the whole page bestie, no cap 🧚 mwah πŸ’‹

this little beauty came from the Debian source, dated January 18, 2021 β€” so when you cite it, cite it right πŸ“
πŸ“¦ where this page comes from