moused - Ease usb mouse attach/detach
authorMichael Neumann <mneumann@ntecs.de>
Mon, 25 Aug 2014 16:59:02 +0000 (18:59 +0200)
committerMichael Neumann <mneumann@ntecs.de>
Mon, 25 Aug 2014 16:59:02 +0000 (18:59 +0200)
commit62c0a8e457ff47494c13a6f8a30ac730f9e42c68
tree34da7e97485d58b5393227849964a1158a51d443
parent917662e5ee4841476eec4c24d2f40710ae9903cc
moused - Ease usb mouse attach/detach

WARNING: Upgrading will overwrite your /etc/devd.conf.

Extend /etc/rc.d/moused. To attach e.g. ums0, you can now call:

    /etc/rc.d/moused start ums0

To detach:

    /etc/rc.d/moused stop ums0

If moused is called with an explicit device name, it is enabled by default
(moused_nondefault_enable="YES").

You can explicitly override any settings in rc.conf with directives like:

    moused_ums0_enable="YES"
    moused_ums0_type="..."

If you have one or more ums[0-9]+ mouses, you can now make use of them by
simply setting devd_enable="YES" in rc.conf.
etc/Makefile
etc/defaults/rc.conf
etc/devd.conf
etc/rc.d/moused
etc/rc.subr
sys/vfs/devfs/devfs_core.c