Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > by-pkgid > 15c3301d82e99409dc17f19141c8d70e > files > 2

dkms-dahdi-2.2.0-3mdv2010.0.x86_64.rpm

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[3456][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
# 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}"