Initial import from FreeBSD RELENG_4:
[dragonfly.git] / etc / usbd.conf
CommitLineData
984263bc
MD
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
7# Firmware download into the ActiveWire board. After the firmware download is
8# done the device detaches and reappears as something new and shiny automatically.
9#
10device "ActiveWire board, firmware download"
11 vendor 0x0854
12 product 0x0100
13 release 0x0000
14 attach "/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}"
15
16# Firmware download for Entrega Serial DB25 adapter.
17#
18device "Entrega Serial with UART"
19 product 0x8001
20 vendor 0x1645
21 release 0x0101
22 attach "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi"
23 attach "/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}"
24
25# The entry below starts and stops dhclient when an ethernet device is inserted
26# Caveat: It does not support multiple interfaces (but neither does pccardd,
27# it shouldn't be too big a deal :-)
28#
29device "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.
37device "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#
47device "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#
54device "USB device"