2013-10-16 02:00:17 +08:00
|
|
|
# Load firmware into the Xorcom Astribank device:
|
|
|
|
SUBSYSTEM=="usb", ACTION=="add", \
|
|
|
|
ENV{PRODUCT}=="e4e4/11[3456][013]/*", ENV{DEVTYPE}!="usb_interface", \
|
2015-10-26 01:08:30 +08:00
|
|
|
OPTIONS+="event_timeout=180" \
|
2013-10-16 02:00:17 +08:00
|
|
|
RUN+="/usr/share/dahdi/xpp_fxloader udev $env{PRODUCT}"
|
|
|
|
|
|
|
|
# Hotplug hook for Astribank up/down
|
|
|
|
# If you need this functionality, copy the astribank_hook.sample
|
|
|
|
# to $XPP_INIT_DIR/astribank_hook
|
|
|
|
#
|
|
|
|
# By default XPP_INIT_DIR="/usr/share/dahdi"
|
|
|
|
KERNEL=="xbus*", RUN+="%E{XPP_INIT_DIR}/astribank_hook udev $kernel $sysfs{status} $sysfs{connector}"
|