hms(4)

hms4

Hid mouse driver

Usage

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

device hms device hidbus device hid device evdev

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

hms_load="YES"

Overview

The hms driver provides support for HID mice that attach to the HID transport backend. See iichid(4) or usbhid(4). Supported are mice with any number of buttons, mice with a wheel and absolute mice.

The /dev/input/eventX device presents the mouse as a evdev type device.

Sysctl variables

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

dev.hms.X.debug

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

It default value is derived from loader(8) tunable:

hw.hid.hms.debug

Files

/dev/input/eventX

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–13.5
  3. 14.0–16.0

Bugs

hms cannot act like sysmouse(4)

Authors

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

This manual page was originally written by Nick Hibma ⟨[email protected]⟩ for umt(4) driver and was adopted for hms 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.