mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
76558b948c
now.
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# Configuration file the USB daemon.
|
|
#
|
|
# See usbd.conf(5) for the description of the format of the file.
|
|
#
|
|
# $FreeBSD$
|
|
|
|
# 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}"
|
|
|
|
# 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 entry for the cue, kue and aue ethernet interface drivers.
|
|
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.
|
|
#
|
|
device "Mouse"
|
|
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.
|
|
#
|
|
device "USB device"
|