xpp.rules 499 B

123456789101112
  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. RUN+="/usr/share/dahdi/xpp_fxloader udev $env{PRODUCT}"
  5. # Hotplug hook for Astribank up/down
  6. # If you need this functionality, copy the astribank_hook.sample
  7. # to $XPP_INIT_DIR/astribank_hook
  8. #
  9. # By default XPP_INIT_DIR="/usr/share/dahdi"
  10. KERNEL=="xbus*", RUN+="%E{XPP_INIT_DIR}/astribank_hook udev $kernel $sysfs{status} $sysfs{connector}"