diff options
Diffstat (limited to 'drivers/dahdi/xpp/xpp.rules')
-rw-r--r-- | drivers/dahdi/xpp/xpp.rules | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xpp.rules b/drivers/dahdi/xpp/xpp.rules new file mode 100644 index 0000000..907e08a --- /dev/null +++ b/drivers/dahdi/xpp/xpp.rules @@ -0,0 +1,14 @@ +BUS!="usb", ACTION!="add", GOTO="xpp_usb_add_end" +KERNEL=="*_ep*", GOTO="xpp_usb_add_end" +KERNEL=="[0-9]*", GOTO="xpp_usb_add_end" + +# Load firmware into the Xorcom Astribank device: +SYSFS{idVendor}=="e4e4", SYSFS{idProduct}=="11[345][01]", \ + RUN+="/usr/share/dahdi/xpp_fxloader udev $sysfs{idVendor}/$sysfs{idProduct}/$sysfs{bcdDevice}" + +LABEL="xpp_usb_add_end" + +# Hotplug hook for Astribank up/down +# By default XPP_INIT_DIR="/usr/share/dahdi" +KERNEL=="xbus*" RUN+="%E{XPP_INIT_DIR}/astribank_hook udev $kernel $sysfs{status} $sysfs{connector}" + |