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