[asterisk-users] Xorcom Astribank udev issue in Ubuntu 9.10
Eric van der Vlist
vdv at dyomedea.com
Sat Nov 14 13:44:27 CST 2009
Hi Tzafrir,
Le samedi 14 novembre 2009 à 21:30 +0200, Tzafrir Cohen a écrit :
> On Sat, Nov 14, 2009 at 12:55:46AM +0100, Eric van der Vlist wrote:
> > Hi,
> >
> > I have upgraded an Asterisk installation with a Xorcom BRI Astribank
> > that was working under Ubuntu 8.04 to Ubuntu 9.10 and the device is no
> > longer initialized.
> >
> > When I reload the udev rules, I see that the rules seems to be correctly
> > loaded:
> >
> > udevd[452]: reading '/etc/udev/rules.d/40-xpp.rules' as rules file
>
> What exactly do you have in that file?
I have:
+++++++++++++++++++++++++++++++++++++++++++
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}"
+++++++++++++++++++++++++++++++++++++++++++
and playing with "udevadm test", I have noticed that the following rule:
+++++++++++++++++++++++++++++++++++++++++++
KERNEL=="[0-9]*", GOTO="xpp_usb_add_end"
+++++++++++++++++++++++++++++++++++++++++++
is always met and that if I comment it, the astribank get initialized.
Is that safe to remove this rule or is there a better solution?
Thanks,
Eric
--
Eric van der Vlist <vdv at dyomedea.com>
Dyomedea (http://dyomedea.com)
More information about the asterisk-users
mailing list