hsctrl(4)

hsctrl4

Hid system controls driver

Usage

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"

Overview

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.

It default value is set with loader(8) tunable:

hw.hid.hsctrl.debug

Files

/dev/input/event*

input event device node.

Releases

15 releases since FreeBSD 13.0-RELEASE; the text changed 2 times.

  1. 13.0–13.2
  2. 13.3–14.5
  3. 15.0–16.0

History

The hsctrl driver first appeared in FreeBSD 13.0.

Authors

The hsctrl driver was written by Vladimir Kondratyev ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.