diff --git a/etc/usbd.conf b/etc/usbd.conf index b2a04cd6e7ac..464df76cc660 100644 --- a/etc/usbd.conf +++ b/etc/usbd.conf @@ -5,7 +5,7 @@ # $FreeBSD$ # Firmware download into the ActiveWire board. After the firmware download is -# done the device detaches and reappears as something new and shiny. +# done the device detaches and reappears as something new and shiny automatically. # device "ActiveWire board, firmware download" vendor 0x0854 @@ -22,15 +22,17 @@ 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 for the cue, kue and aue ethernet interface drivers. +# 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 "[ack]ue[0-9]+" attach "dhclient ${DEVNAME}" detach "killall dhclient" -# The entry below is for the Logitech mouse. Replace the product and vendor -# id (and the device name of course) with the data for your mouse. +# 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]+"