freebsd-src/share
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
..
colldef Utilize FILES and SYMLINKS, other simplifications. 2004-10-16 19:51:34 +00:00
dict For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
doc For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
examples For variables that are only checked with defined(), don't provide 2004-10-24 16:20:59 +00:00
info For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
isdn
man Do a better job of supporting more than one mouse device 2004-11-01 18:05:41 +00:00
me
misc For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
mk Switch the default CFLAGS to -O2 -pipe. 2004-10-25 20:04:50 +00:00
mklocale Utilize FILES and SYMLINKS. 2004-10-17 09:48:23 +00:00
monetdef - Utilize standard means for installing files and symlinks. 2004-10-13 15:47:02 +00:00
msgdef Utilize FILES and SYMLINKS. 2004-10-17 10:49:30 +00:00
numericdef Utilize FILES and SYMLINKS. 2004-10-18 08:54:17 +00:00
security For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
sendmail For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
skel For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
snmp For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
syscons For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
tabset
termcap Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
timedef Install files with mode 444, as God intended. 2004-10-16 20:52:32 +00:00
zoneinfo - Removed the .CURDIR/.OBJDIR magic, it is not necessary here. 2004-10-19 20:38:49 +00:00
Makefile Add a FreeBSD MIB with a few branches we can hang things from. 2004-04-24 19:54:55 +00:00
Makefile.inc