[asterisk-users] Issues with Xorcom astribanks when running Ubuntu 11.10 (oneiric) as a quemu/libvirt guest

Eric van der Vlist vdv at dyomedea.com
Tue Nov 1 08:32:28 CDT 2011


Tzafrir,

I am in front of the server.

Le dimanche 30 octobre 2011 à 22:13 +0100, Eric van der Vlist a écrit :
> Tzafrir,
> 
> Le dimanche 30 octobre 2011 à 10:30 +0200, Tzafrir Cohen a écrit :

> > The problem is elsewhere. What happens if
> > you manually run:
> > 
> >   /usr/share/dahdi/xpp_fxloader load #?

vdv at asterisk-rg:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID e4e4:1161 Xorcom Ltd. Astribank 2 series
vdv at asterisk-rg:~$ sudo /usr/share/dahdi/xpp_fxloader load
[sudo] password for vdv: 
'xpp_fxloader'[850]: --------- FIRMWARE LOADING: (load) [1 devices]
Got all 1 devices
INFO: usb:001/003: ID=E4E4:1161 [Xorcom LTD / Astribank / X1047833]
INFO: Loading hexfile to FPGA: /usr/share/dahdi/FPGA_1161.hex (version
7276)
mpp_funcs.c:308: ERROR(recv_command): Receive from usb failed.
mpp_funcs.c:359: ERROR(process_command): recv_command failed
mpp_funcs.c:710: ERROR(mpp_send_start): process_command failed: -71
astribank_hexload.c:99: ERROR(load_hexfile): Failed hexfile send start:
-71
astribank_hexload.c:218: ERROR(main): Loading firmware to FPGA failed
'xpp_fxloader'[898]: /usr/sbin/astribank_hexload failed with status 1

> > Or:
> > 
> >   astribank_tool -D 001/005 -Q
> 
> I'll test that as soon as I can!
> 
> > If you have dahdi-tools < 2.5, you'll need:
> > 
> >   astribank_tool -D /dev/bun/usb/001/005 -Q

vdv at asterisk-rg:~$ sudo astribank_tool -D /dev/bus/usb/001/003 -Q
mpp_funcs.c:308: ERROR(recv_command): Receive from usb failed.
mpp_funcs.c:359: ERROR(process_command): recv_command failed
mpp_funcs.c:454: ERROR(mpp_proto_query): process_command failed: -71
mpp_funcs.c:1001: ERROR(mpp_init): Protocol handshake failed: -71
astribank_tool.c:209: ERROR(main): Failed initializing MPP

> > What version of dahdi-tools is it?
> > 
> 2.4.1, and I see that dahdi-firmware-nonfree (that includes your
> firmware) is 2.2.1.1-1:
> 
> vdv at lrt-rg:~$ dpkg -l "*dahdi*"
> Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
> |
> État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
> ||/ Nom                      Version                  Description
> +++-========================-========================-================================================================
> ii  asterisk-dahdi           1:1.8.4.4~dfsg-2ubuntu1  DAHDI devices
> support for the Asterisk PBX
> ii  dahdi                    1:2.4.1-1ubuntu1         utilities for
> using the DAHDI kernel modules
> ii  dahdi-dkms               1:2.4.1+dfsg-1ubuntu2    DAHDI telephony
> interface (dkms kernel driver)
> ii  dahdi-firmware-nonfree   2.2.1.1-1                DAHDI non-free
> firmware
> ii  dahdi-linux              1:2.4.1+dfsg-1ubuntu2    DAHDI telephony
> interface - Linux userspace parts
> un  dahdi-source             <none>                   (aucune
> description n'est disponible)
> 
> That being said, the host (in which the firmware loads fine) has exactly
> the same versions installed.
> 
Thanks for your help,

Eric




More information about the asterisk-users mailing list