summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-09-11 20:52:21 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-09-11 20:52:21 +0000
commit3b00d2ce83848f26fb4fca30b97ebfa4dfb285f4 (patch)
tree888f350c7e9c19269c2dc2fdcd7c29182db1384c
parent89046d0a6bb4857eb779da7e3ee6f787462ac8f3 (diff)
Move udev rules xpp.rules from dahdi-tools to dahdi-linux .
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4894 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--xpp/Makefile3
-rw-r--r--xpp/xpp.rules14
2 files changed, 0 insertions, 17 deletions
diff --git a/xpp/Makefile b/xpp/Makefile
index 34f6faa..398f17c 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -29,7 +29,6 @@ SBINDIR = $(prefix)/sbin
DATADIR = $(datadir)/dahdi
MANDIR = $(mandir)/man8
HOTPLUG_USB_DIR = /etc/hotplug/usb
-UDEV_RULES_DIR = /etc/udev/rules.d
PERLLIBDIR := $(shell eval `perl -V:sitelib`; echo "$$sitelib")
PERL_DIRS := $(shell cd perl_modules; find * -name '[A-Z]*' -type d| xargs)
PERL_MODS_PAT := *.pm $(PERL_DIRS:%=%/*.pm)
@@ -82,8 +81,6 @@ install: all
$(INSTALL_DATA) xpp_fxloader.usermap $(DESTDIR)$(HOTPLUG_USB_DIR)/
# for backward compatibility and for hotplug users:
ln -sf $(DATADIR)/xpp_fxloader $(DESTDIR)$(HOTPLUG_USB_DIR)/
- $(INSTALL) -d $(DESTDIR)$(UDEV_RULES_DIR)
- $(INSTALL_DATA) xpp.rules $(DESTDIR)$(UDEV_RULES_DIR)/
ifneq (,$(PERLLIBDIR))
$(INSTALL) -d $(DESTDIR)$(PERLLIBDIR)
for i in $(PERL_DIRS); \
diff --git a/xpp/xpp.rules b/xpp/xpp.rules
deleted file mode 100644
index 907e08a..0000000
--- a/xpp/xpp.rules
+++ /dev/null
@@ -1,14 +0,0 @@
-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}"
-