diff --git a/etc/devd.conf b/etc/devd.conf index db8cf0ecc7bd..8c918ad41822 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -66,6 +66,13 @@ detach 100 { action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; +# The entry below starts moused when a mouse is plugged in. Moused +# stops automatically (actually it bombs :) when the device disappears. +attach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused start $device-name"; +}; + # # Rescan scsi device-names on attach, but not detach. # diff --git a/etc/usbd.conf b/etc/usbd.conf index b80abcb87fb8..fca2aff58c69 100644 --- a/etc/usbd.conf +++ b/etc/usbd.conf @@ -22,15 +22,6 @@ device "Entrega Serial with UART" attach "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi" attach "/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}" -# The entry below starts and stops dhclient when an ethernet device is inserted -# Caveat: It does not support multiple interfaces (but neither does pccardd, -# it shouldn't be too big a deal :-) -# -device "USB ethernet" - devname "([ackr]u|ax)e[0-9]+" - attach "/etc/pccard_ether ${DEVNAME} start" - detach "/etc/pccard_ether ${DEVNAME} stop" - # This entry starts the ColdSync tool in daemon mode. Make sure you have an up # to date /usr/local/etc/palms. We override the 'listen' settings for port and # type in /usr/local/etc/coldsync.conf. @@ -41,13 +32,6 @@ device "Handspring Visor" release 0x0100 attach "/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb" -# The entry below starts moused when a mouse is plugged in. Moused -# stops automatically (actually it bombs :) when the device disappears. -# -device "Mouse" - devname "ums[0-9]+" - attach "/etc/rc.d/moused start ${DEVNAME}" - # The fallthrough entry: Nothing is specified, nothing is done. And it isn't # necessary at all :-). Just for pretty printing in debugging mode. #