[asterisk-bugs] [AsteriskNOW 0008904]: Xorcom Astribank not supported in AsteriskNow
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Aug 2 02:24:31 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=8904
======================================================================
Reported By: tzafrir
Assigned To: james
======================================================================
Project: AsteriskNOW
Issue ID: 8904
Category: Hardware Issues
Reproducibility: always
Severity: feature
Priority: normal
Status: feedback
======================================================================
Date Submitted: 01-24-2007 06:13 CST
Last Modified: 08-02-2007 02:24 CDT
======================================================================
Summary: Xorcom Astribank not supported in AsteriskNow
Description:
The Xorcom Astribank is supported in Zaptel, but not in latest AstriskNow.
I intend to list here existing problems.
1. 1.4.0-beta3 does not include support for some later Astribank models
(USB IDs e4e4:115x ). This is included as of zaptel 1.2.12 / 1.4.0-beta4 .
So I request a new version of zaptel to be packaged.
2. xpp user-space tools not installed. Basically resolved in zaptel rev.
1943. However be sure to make libusb a build dependency for zaptel, and to
include /usr/share/zaptel and /etc/hotplug in the zaptel package.
3. The extra packages usbutils and fxload are needed. I'm currently
testing with
usbutils=/conary.rpath.com at rpl:devel//rpl1/0.70-4-0.1
fxload=/contrib.rpath.org at rpl:devel//1/2002_04_11-1-1
4. No udev rules to install firmware on hotplug. To be committed to zaptel
soon by us. http://bugs.digium.com/view.php?id=8239
5. The init.d script of zaptel does not wait for the Astribank to finish
initializing. See the function wait_for_xpp in
http://svn.digium.com/svn/zaptel/team/tzafrir/zaphelper/zaptel-helper .
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
parent of 0008239 [branch] zaptel helper script
======================================================================
----------------------------------------------------------------------
tzafrir - 08-02-07 02:24
----------------------------------------------------------------------
As I said, in beta6 the Astribanks load firmware, but fail to start up
properly.
The missing piece is xpp_startup, as included in the init.d script of
zaptel 1.4.4:
# add this line before sourcing /etc/sysconfig/zaptel /
/etc/default/zaptel:
# to allow overriding by the user:
XPP_SYNC=auto
# ...
# Initialize the Xorcom Astribank (xpp/) using perl utiliites:
# intended to replace all the the three functions below if user has
# installed the zaptel-perl utilities.
xpp_startup() {
# do nothing if there are no astribank devices:
if ! grep -q connected /proc/xpp/xbuses 2>/dev/null; then return 0; fi
echo "Waiting for Astribank devices to initialize:"
cat /proc/xpp/XBUS-[0-9]*/waitfor_xpds 2>/dev/null || true
# overriding locales for the above two, as perl can be noisy
# when locales are missing.
# No register all the devices if they didn't auto-register:
LC_ALL=C zt_registration on
# this one could actually be run after ztcfg:
LC_ALL=C xpp_sync "$XPP_SYNC"
}
Issue History
Date Modified Username Field Change
======================================================================
08-02-07 02:24 tzafrir Note Added: 0068298
======================================================================
More information about the asterisk-bugs
mailing list