HomeFreeBSD

moused(8): Add support for evdev protocol

Description

moused(8): Add support for evdev protocol

The new daemon have following properties as compared with previous
incarnation:

  • evdev protocol support for mices and touchpads. Additionally to relative PS/2 and USB devices it enables console support for I2C/USB touchpads and bluetooth mices.
  • Other aged protocols like COM, raw PS/2 and X10 are dropped with only exception of sysmouse. For those who still use them there is an utility called msconvd(8).
  • single daemon per system where hotplug is processed via devd socket. Per device mode still supported too.
  • Configuration and quirks files in libinput-compatible format. Actually, the new moused config parser is taken from libinput.

The moused(8) can work in 2 modes:

  1. Evdev support mode. It enables all previously mentioned devices. It is enabled by deault.
  2. Sysmouse support mode. All should work as before. No new devices supported. To enable it add following lines to /etc/rc.conf: moused_port="/dev/psm0" moused_nondefault_enable="YES" One may add hw.usb.usbhid.enable=0 to /boot/loader.conf to enable ums(4) driver which supports sysmouse protocol.

Differential Revision: https://reviews.freebsd.org/D52164

Details

Provenance
wulfAuthored on Sep 4 2025, 9:07 PM
Differential Revision
D52164: moused(8): Add support for evdev protocol
Parents
rGd4bfebf917bc: snd_hda: Fix a sporadic panic during kldunload
Branches
Unknown
Tags
Unknown