HomeFreeBSD

moused(8): Start moused with devd

Description

moused(8): Start moused with devd

It is appeared that currently starting of moused does not depend on
moused_enable variable value in rc.conf. That leads to missing USB mice
support in default configuration. Start moused in traditional per
device mode with devd to follow POLA.

One daemon per system mode still can be enabled with setting of
moused_port="auto"
moused_nondefault_enable="NO"
variables in /etc/rc.conf

To revert to sysmouse mode add moused_type="sysmouse" to /etc/rc.conf

Reported by: many
Requested by: glebius
Reviewed by: glebius
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D52430

(cherry picked from commit 66e7f048f0c8e9e726738fadd9dc819bfda3cbfe)

Details

Provenance
wulfAuthored on Sep 21 2025, 1:14 PM
Reviewer
glebius
Differential Revision
D52430: moused(8): Enable sysmouse-compatibility mode by default.
Parents
rGd5f63d6b3738: moused(8): Add command line option to restrict interface type
Branches
Unknown
Tags
Unknown