1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/etc/defaults
Mike Makonnen 86bade2751 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:
	moused_ums0_enable=yes
	moused_ums0_flags="-z 4"
	moused_ums0_port="/dev/ums0"

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
2004-11-01 18:05:41 +00:00
..
devfs.rules If we're going to "add path 'fd/*' unhide", it only makes 2004-01-22 20:53:15 +00:00
Makefile For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
pccard.conf Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
periodic.conf Add a knob 'daily_status_security_diff_flags' controlling the 2004-09-23 02:00:52 +00:00
rc.conf Do a better job of supporting more than one mouse device 2004-11-01 18:05:41 +00:00