git: moused - Ease usb mouse attach/detach

Michael Neumann mneumann at crater.dragonflybsd.org
Mon Aug 25 10:01:09 PDT 2014


commit 62c0a8e457ff47494c13a6f8a30ac730f9e42c68
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Mon Aug 25 18:59:02 2014 +0200

    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.

Summary of changes:
 etc/Makefile               |  4 +--
 etc/defaults/rc.conf       |  2 ++
 etc/devd.conf              | 32 ++++++++++-----------
 etc/rc.d/moused            | 69 +++++++++++++++++++++++++++-------------------
 etc/rc.subr                | 14 ++++++++++
 sys/vfs/devfs/devfs_core.c | 20 ++++++++++++++
 6 files changed, 95 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62c0a8e457ff47494c13a6f8a30ac730f9e42c68


-- 
DragonFly BSD source repository



More information about the Commits mailing list