Runnig the xpp_fxloader before the Zaptel and Asterisk scripts solves the problem.<div><br></div><div>thank you Tzafir.<br><br><div class="gmail_quote">On Thu, May 8, 2008 at 11:07 AM, Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="Wj3C7c">On Thu, May 08, 2008 at 08:33:08AM -0300, Guilherme Loch Waltrick Góes wrote:<br>
> Tzafir,<br>
> It's not working it, here's what the utilities told me:<br>
><br>
> root@asterisk:~# invoke-rc.d asterisk stop<br>
> * Stopping Asterisk PBX: asterisk<br>
> ...done.<br>
> root@asterisk:~# invoke-rc.d zaptel stop<br>
> Unloading zaptel hardware drivers:.<br>
> root@asterisk:~# /usr/share/zaptel/xpp_fxloader usb<br>
> --------- FIRMWARE LOADING: (usb) [1 devices]<br>
> 'xpp_fxloader'[6583]: USB Firmware /usr/share/zaptel/USB_FW.hex into<br>
> /dev/bus/usb/005/003<br>
> ..Got all 1 devices<br>
> --------- FIRMWARE IS LOADED<br>
> root@asterisk:~# mount procbususb /proc/bus/usb -t usbfs<br>
> root@asterisk:~# grep usb /proc/filesystems<br>
> nodev usbfs<br>
> root@asterisk:~# zaptel_hardware<br>
> usb:005/004 xpp_usb- e4e4:1151 Astribank-multi USB-firmware<br>
> root@asterisk:~# lsusb<br>
> Bus 005 Device 004: ID e4e4:1151<br>
> Bus 005 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash<br>
> Card Reader/Writer (Internal/External)<br>
> Bus 005 Device 001: ID 0000:0000<br>
> Bus 004 Device 001: ID 0000:0000<br>
> Bus 003 Device 001: ID 0000:0000<br>
> Bus 002 Device 001: ID 0000:0000<br>
> Bus 001 Device 001: ID 0000:0000<br>
<br>
</div></div>It means firmware has failed to load automatically. This still needs<br>
some debugging. To manually load the firmware:<br>
<br>
/usr/share/zaptel/xpp_fxloader load<br>
<br>
Then look is lsusb. After you see there "52", re-run<br>
<br>
/etc/init.d/zaptel start<br>
<div><div></div><div class="Wj3C7c"><br>
> root@asterisk:~# invoke-rc.d zaptel restart<br>
> Unloading zaptel hardware drivers:.<br>
> Loading zaptel framework: done.<br>
> Waiting for zap to come online...OK<br>
> Loading zaptel hardware modules: tor2.<br>
> wct4xxp.<br>
> wcte12xp.<br>
> wct1xxp.<br>
> wcte11xp.<br>
> wctdm24xxp.<br>
> wcfxo.<br>
> wctdm.<br>
> wcusb.<br>
> xpp_usb.<br>
> No functioning zap hardware found in /proc/zaptel, loading ztdummy<br>
> Running ztcfg: done.<br>
> root@asterisk:~# genzaptelconf<br>
> root@asterisk:~# cat /etc/zaptel.conf<br>
> # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit<br>
> # Zaptel Configuration File<br>
> #<br>
> # This file is parsed by the Zaptel Configurator, ztcfg<br>
> #<br>
><br>
> # It must be in the module loading order<br>
><br>
><br>
> # Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: HRtimer) 1" (MASTER)<br>
><br>
> # Global data<br>
><br>
> loadzone = us<br>
> defaultzone = us<br>
><br>
> Any hints ? What else can I do ?<br>
><br>
> Best Regards,<br>
><br>
> On Wed, May 7, 2008 at 4:23 PM, Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>><br>
> wrote:<br>
><br>
> > On Wed, May 07, 2008 at 01:03:53PM -0300, Guilherme Loch Waltrick Góes<br>
> > wrote:<br>
> > > I'm using Zaptel 1.4.10 compiled from source, it's an Astribank with<br>
> > > 6FXS+2FXO here's the output of some commands:<br>
> > > root@asterisk:~# invoke-rc.d asterisk stop<br>
> > > * Stopping Asterisk PBX: asterisk<br>
> > > ...done.<br>
> > > root@asterisk:~# invoke-rc.d zaptel restart<br>
> > > Unloading zaptel hardware drivers:.<br>
> > > Loading zaptel framework: done.<br>
> > > Waiting for zap to come online...OK<br>
> > > Loading zaptel hardware modules: tor2.<br>
> > > wct4xxp.<br>
> > > wcte12xp.<br>
> > > wct1xxp.<br>
> > > wcte11xp.<br>
> > > wctdm24xxp.<br>
> > > wcfxo.<br>
> > > wctdm.<br>
> > > wcusb.<br>
> > > xpp_usb.<br>
> > > No functioning zap hardware found in /proc/zaptel, loading ztdummy<br>
> > > Running ztcfg: done.<br>
> > > root@asterisk:~# lsusb<br>
> > > Bus 005 Device 003: ID e4e4:1150<br>
> > > Bus 005 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash<br>
> > > Card Reader/Writer (Internal/External)<br>
> > > Bus 005 Device 001: ID 0000:0000<br>
> > > Bus 004 Device 001: ID 0000:0000<br>
> > > Bus 003 Device 001: ID 0000:0000<br>
> > > Bus 002 Device 001: ID 0000:0000<br>
> > > Bus 001 Device 001: ID 0000:0000<br>
> > > root@asterisk:~# zaptel_hardware<br>
> > > root@asterisk:~#<br>
> ><br>
> > I think that this is because they no longer mount usbfs by default and<br>
> > we rely on it for some details of the perl utilities.<br>
> ><br>
> > fxload and fpgaload, OTOH, do not rely on it. Make sure you have the<br>
> > package "fxload" installed and disconnect / reconnect the Astribank<br>
> > (or run '/usr/share/zaptel/xpp_fxloader usb').<br>
> ><br>
> > To mount usbfs:<br>
> ><br>
> > mount procbususb /proc/bus/usb -t usbfs<br>
> ><br>
> > (to see if it is available: 'grep usb /proc/filesystems')<br>
> ><br>
> > But I think that apart from zaptel_hardware, our other utilities do not<br>
> > rely on /proc/bus/usb and should work well.<br>
> ><br>
> > --<br>
> > Tzafrir Cohen<br>
</div></div>> > icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><<a href="mailto:jabber%253Atzafrir.cohen@xorcom.com">jabber%3Atzafrir.cohen@xorcom.com</a>><br>
<div><div></div><div class="Wj3C7c">> > +972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
> > <a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
> ><br>
> > _______________________________________________<br>
> > -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
> ><br>
> > asterisk-users mailing list<br>
> > To UNSUBSCRIBE or update options visit:<br>
> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Guilherme Loch Góes<br>
><br>
> Visite nossa loja virtual: <a href="http://www.shopvoip.com.br" target="_blank">http://www.shopvoip.com.br</a><br>
><br>
> Notícias e Fórum sobre VoIP com software livre:<br>
> <a href="http://www.asteriskexperts.com.br" target="_blank">http://www.asteriskexperts.com.br</a><br>
<br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Guilherme Loch Góes<br><br>Visite nossa loja virtual: <a href="http://www.shopvoip.com.br">http://www.shopvoip.com.br</a> <br><br>Notícias e Fórum sobre VoIP com software livre: <a href="http://www.asteriskexperts.com.br">http://www.asteriskexperts.com.br</a>
</div>