summaryrefslogtreecommitdiffstats
path: root/etc/usbd.conf
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-01-10 22:34:36 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-01-10 22:34:36 +0000
commit35a61f699e10b659149b55c26916d3ed7c06b825 (patch)
tree300921cb689ec36b7dc65aca5f3f69fd2d82b9ef /etc/usbd.conf
parent4f552c607e13e3b3b99d967511a6a008107f1fab (diff)
downloadFreeBSD-src-35a61f699e10b659149b55c26916d3ed7c06b825.zip
FreeBSD-src-35a61f699e10b659149b55c26916d3ed7c06b825.tar.gz
Add an entry for dhclient and the USB ethernet adapters.
Diffstat (limited to 'etc/usbd.conf')
-rw-r--r--etc/usbd.conf40
1 files changed, 28 insertions, 12 deletions
diff --git a/etc/usbd.conf b/etc/usbd.conf
index 3484111..2428c18 100644
--- a/etc/usbd.conf
+++ b/etc/usbd.conf
@@ -2,31 +2,47 @@
#
# See usbd.conf(5) for the description of the format of the file.
-# Firmware download into the ActiveWire board. After the firmware download is done
-# the device detaches and reappears as something new and shiny.
+# Firmware download into the ActiveWire board. After the firmware download is
+# done the device detaches and reappears as something new and shiny.
#
device "ActiveWire board, firmware download"
- vendor 0x0854
- product 0x0100
- release 0x0000
- attach "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}"
+ vendor 0x0854
+ product 0x0100
+ release 0x0000
+ attach "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}"
+
+# Firmware download for Entrega Serial DB25 adapter.
+#
+device "Entrega Serial with UART"
+ product 0x8001
+ vendor 0x1645
+ release 0x0101
+ 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 piece below has to be copied for every drive. It does not work for the
# generic case, the umass storage class uses interface drivers. The info for
# the interfaces is not yet exported.
#
device "USB Zip drive"
- vendor 0x059b
- product 0x0001
- release 0x0100
- attach "/sbin/camcontrol rescan bus 0"
+ vendor 0x059b
+ product 0x0001
+ release 0x0100
+ attach "/sbin/camcontrol rescan bus 0"
+
+# The entry for the kue and aue ethernet interface drivers.
+device "USB ethernet"
+ devname "[ak]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.
#
device "Mouse"
- devname "ums[0-9]+"
- attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid"
+ devname "ums[0-9]+"
+ attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid"
# The fallthrough entry: Nothing is specified, nothing is done. And it isn't
# necessary at all :-). Just for pretty printing in debugging mode.
OpenPOWER on IntegriCloud