Merge from vendor branch OPENSSL:
[dragonfly.git] / etc / usbd.conf
1 # Configuration file the USB daemon.
2 #
3 # See usbd.conf(5) for the description of the format of the file.
4 #
5 # $FreeBSD: src/etc/usbd.conf,v 1.5.2.3 2002/11/04 08:05:44 dougb Exp $
6 # $DragonFly: src/etc/usbd.conf,v 1.3 2005/06/17 23:10:11 swildner Exp $
7
8 # Firmware download into the ActiveWire board. After the firmware download is
9 # done the device detaches and reappears as something new and shiny automatically.
10 #
11 device "ActiveWire board, firmware download"
12         vendor  0x0854
13         product 0x0100
14         release 0x0000
15         attach "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}"
16
17 # Firmware download for Entrega Serial DB25 adapter.
18 #
19 device "Entrega Serial with UART"
20         product 0x8001
21         vendor  0x1645
22         release 0x0101
23         attach "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi"
24         attach "/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}"
25
26 # The entry below starts and stops dhclient when an ethernet device is inserted
27 # Caveat: It does not support multiple interfaces.
28 #
29 device "USB ethernet"
30         devname "[ack]ue[0-9]+"
31         attach  "/etc/pccard_ether ${DEVNAME} start"
32         detach  "/etc/pccard_ether ${DEVNAME} stop"
33
34 # This entry starts the ColdSync tool in daemon mode. Make sure you have an up
35 # to date /usr/local/etc/palms. We override the 'listen' settings for port and
36 # type in /usr/local/etc/coldsync.conf.
37 device "Handspring Visor"
38         devname "ugen[0-9]+"
39         vendor  0x082d
40         product 0x0100
41         release 0x0100
42         attach "/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb"
43
44 # The entry below starts moused when a mouse is plugged in. Moused
45 # stops automatically (actually it bombs :) when the device disappears.
46 #
47 device "Mouse"
48         devname "ums[0-9]+"
49         attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on"
50
51 # The fallthrough entry: Nothing is specified, nothing is done.  And it isn't
52 # necessary at all :-).  Just for pretty printing in debugging mode.
53 #
54 device "USB device"