hpen(4)

hpen4

Ms windows compatible hid pen tablet driver

Usage

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

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

hpen_load="YES"

Overview

The hpen driver provides support for generic MS Windows compatible HID pen tablet and digitizer that attach to the HID transport backend. See iichid(4) or usbhid(4).

The /dev/input/event* device presents the pen as a evdev type device.

Sysctl variables

The following variable is available as both sysctl(8) variable and loader(8) tunable:

dev.hpen.X.debug

Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0.

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

hw.hid.hpen.debug

Files

/dev/input/event*

input event device node.

Releases

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

  1. 13.0–13.2
  2. 13.3–13.5
  3. 14.0–14.5
  4. 15.0–16.0

Bugs

hpen cannot act like sysmouse(4).

Pen battery charge level reporting is not supported.

History

The hpen driver first appeared in FreeBSD 13.0.

Authors

The hpen driver was written by Val Packett ⟨[email protected]⟩.

This manual page 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.