cvs commit: src/etc usbd.conf src/etc/defaults rc.conf
src/etc/rc.d moused src/share/man/man5 rc.conf.5
mtm at FreeBSD.org
Mon Nov 1 10:05:41 PST 2004
mtm 2004-11-01 18:05:41 UTC
FreeBSD src repository
Do a better job of supporting more than one mouse device
on the system.
To start/stop/check on a specific device give the device name as
the second argument to the script:
# /etc/rc.d/moused start ums0
To use different rc.conf(5) knobs with different mice use the device
name as part of the knob. For example, if the mouse device is ums0, then:
Starting rc.d/moused without the device argument will use the standard
moused_* flags. So, this commit should not disrupt or change current usage.
To preserve current behaviour with respect to usb mice, which appear
automatically when inserted, there is a new knob, moused_nondefault_enable,
which will treat any devices without rc.conf knobs as enabled.
To minimize knobs in /etc/rc.conf, the device file and pid file are
auto-computed, so that in the typical case for a usb mouse you don't
need to add anything extra in /etc/rc.conf to get it working.
Additionally, this updates /etc/usbd.conf to use the rc.d/moused script so
people don't have to modify it to configure their usb mouse anymore.
MFC after: 1 month
Revision Changes Path
1.228 +2 -0 src/etc/defaults/rc.conf
1.8 +39 -4 src/etc/rc.d/moused
1.13 +1 -1 src/etc/usbd.conf
1.234 +15 -0 src/share/man/man5/rc.conf.5
More information about the cvs-all