hcons(4)

hcons4

Hid consumer page controls driver

Usage

To compile this driver into the kernel, place the following lines in your kernel configuration file:

device hcons 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):

hcons_load="YES"

Overview

The hcons driver provides support for HID consumer page controls most often used as "Multimedia 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.hcons.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.hcons.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 hcons driver first appeared in FreeBSD 13.0.

Authors

The hcons 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.