configure.ac: add libusb/libusbx support (for xpp)
[dahdi/tools.git] / xpp / xpp.rules
1 # Load firmware into the Xorcom Astribank device:
2 SUBSYSTEM=="usb", ACTION=="add", \
3 ENV{PRODUCT}=="e4e4/11[3456][013]/*", ENV{DEVTYPE}!="usb_interface", \
4         OPTIONS+="event_timeout=180" \
5         RUN+="/usr/share/dahdi/xpp_fxloader udev $env{PRODUCT}"
6
7 # Hotplug hook for Astribank up/down
8 # If you need this functionality, copy the astribank_hook.sample
9 # to $XPP_INIT_DIR/astribank_hook
10 #
11 # By default XPP_INIT_DIR="/usr/share/dahdi"
12 KERNEL=="xbus*", RUN+="%E{XPP_INIT_DIR}/astribank_hook udev $kernel $sysfs{status} $sysfs{connector}"