HSCTRL(4)
π hsctrl(4) β HID system controls driver π
okay so bestie, this is hsctrl(4) from the Kernel Interfaces Manual β manual name folded in right at the top, as requested, because we're cute AND accurate β¨ It's giving tiny driver, big power-key energy.
πΈ NAME πΈ
hsctrl β HID system controls driver
β¨ SYNOPSIS β¨
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device hsctrl
device hid
device hidbus
device hidmap
device evdev
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
hsctrl_load="YES"
π¦ DESCRIPTION π¦
The hsctrl driver provides support for HID system controls most often used as "Power off/Sleep keys" found on many keyboards. π₯
The /dev/input/event* device presents the consumer page controls as a evdev type device.
π SYSCTL VARIABLES π
The following variable is available as both sysctl(8) variable and loader(8) tunable:
dev.hsctrl.X.debugβ Debug output level, where0is debugging disabled and larger values increase debug message verbosity. Default is0.
Its default value is set with the loader(8) tunable:
hw.hid.hsctrl.debug
π FILES π
/dev/input/event*β input event device node.
π SEE ALSO π
π HISTORY π
The hsctrl driver first appeared in FreeBSD 13.0.
π AUTHORS π
The hsctrl driver was written by Vladimir Kondratyev <wulf@FreeBSD.org>.
footer sign-off, bestie: this page says Debian Β· January 26, 2021 Β· HSCTRL(4) β periodt π π
π¦ 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