---
name: "hms"
section: "4"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/hms"
---

# hms(4)

HID mouse driver

## NAME

**hms** – HID mouse driver

## SYNOPSIS

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)](/loader.conf/5.md):

```
hms_load="YES"
```

## DESCRIPTION

The **hms** driver provides support for HID mice that attach to the HID transport backend. See [iichid(4)](/iichid/4.md) or [usbhid(4)](/usbhid/4.md). 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)](/sysctl/8.md) variable and [loader(8)](/loader/8.md) 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)](/loader/8.md) tunable:

- *hw.hid.hms.debug*

  ## FILES

- */dev/input/eventX*

  input event device node.

## SEE ALSO

[iichid(4)](/iichid/4.md), [usbhid(4)](/usbhid/4.md), [xorg.conf(5)](/xorg.conf/5.md) (*ports/x11/xorg*)

## BUGS

**hms** cannot act like [sysmouse(4)](/sysmouse/4.md)

## AUTHORS

The **hms** driver was written by Vladimir Kondratyev ⟨*wulf@FreeBSD.org*⟩.

This manual page was originally written by Nick Hibma ⟨*n\_hibma@FreeBSD.org*⟩ for [umt(4)](/umt/4.md) driver and was adopted for **hms** by Vladimir Kondratyev ⟨*wulf@FreeBSD.org*⟩.
