HMS(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… HMS(4) β€” the HID mouse driver, bestie edition 🐭✨

okay so this is the hms manual page from the Kernel Interfaces Manual β€” it's the HID mouse driver and honestly? it's giving quiet luxury. no drama, just mice. let's get into it 🫢


🌸 NAME 🌸

hms β€” the HID mouse driver. that's it, that's the whole vibe. 🐭


✨ SYNOPSIS ✨

so if you wanna bake this driver into the kernel, you gotta drop these lines into your kernel configuration file, no cap:

device hms
device hidbus
device hid
device evdev

or β€” and this is the lowkey easier route β€” load it as a module at boot time by putting this line in loader.conf(5):

hms_load="YES"

pick your fighter, both slay πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

the hms driver provides support for HID mice that attach to the HID transport backend. see iichid(4) or usbhid(4) for the deets on that. πŸ‘€

what's supported, you ask? literally icons only:

  • mice with any number of buttons β€” yes, any, go feral πŸŽ€
  • mice with a wheel 🎑
  • absolute mice ⭐

and the /dev/input/eventX device presents the mouse as a evdev type device. that's the whole thing. it's giving minimalism, it's giving main character. 🧚


πŸŽ€ SYSCTL VARIABLES πŸŽ€

the following variable is available as both a sysctl(8) variable and a loader(8) tunable β€” dual threat, we love to see it:

  • dev.hms.X.debug β€” debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. default is 0. basically: crank it up if you wanna see everything the driver's yapping about πŸ”₯

its default value is derived from this loader(8) tunable:

hw.hid.hms.debug

πŸ’– FILES πŸ’–

  • /dev/input/eventX β€” the input event device node. that's the one. 🎯

🌈 SEE ALSO 🌈

iichid(4), usbhid(4), xorg.conf(5) (ports/x11/xorg)

go read them, iykyk πŸ“š


πŸ’€ BUGS πŸ’€

hms cannot act like sysmouse(4). nope. not happening. don't ask. 😭 (fr fr, that's the documented limitation, not me being dramatic)


πŸ‘‘ 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 the umt(4) driver, and was adopted for hms by Vladimir Kondratyev <wulf@FreeBSD.org>. collaboration era 🫢


and that's the whole page, bestie πŸŽ€βœ¨ this one's from the Debian fam, dated September 12, 2020 β€” go forth and point-and-click with confidence πŸ’…πŸ­

πŸ“¦ where this page comes from