HSCTRL(4)

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

πŸ’– 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, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0.

Its default value is set with the loader(8) tunable:

  • hw.hid.hsctrl.debug

πŸ“ FILES πŸ“

  • /dev/input/event* β€” input event device node.

🌈 SEE ALSO 🌈

iichid(4), usbhid(4)

πŸ‘‘ 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