VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tzafrir.cohen at xorco... Guest
|
Posted: Wed May 07, 2008 9:18 am Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
On Wed, May 07, 2008 at 09:20:59AM -0300, Guilherme Loch Waltrick G?es wrote:
Quote: | I'm trying to use a Xorcom Astribank wth Ubuntu 8.04, but got no success. I
can see the channel bank with lsusb, but when I tried to use
zaptel_hardware, or when I try the /etc/init.d/script, they don't see my
Channel Bank. I compiled the latest Zaptel 1.4.10, with Astribank's
dependecies, fxload and libusb-dev. Anyone have a similiar experience ?
|
What is the output of zaptel_hardware?
Is this an Astribank with a BRI module? If so this is unfortunetly a
known issue (fixed in zaptel 1.4.10.1, but too late for Ubuntu 8.04).
Still, it should show up in zaptel_hardware.
What is the output of lsusb?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
glwgoes at gmail.com Guest
|
Posted: Wed May 07, 2008 11:03 am Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
I'm using Zaptel 1.4.10 compiled from source, it's an Astribank with
6FXS+2FXO here's the output of some commands:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# 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.
root at asterisk:~# 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
root at asterisk:~# zaptel_hardware
root at asterisk:~#
On Wed, May 7, 2008 at 11:18 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
wrote:
Quote: | On Wed, May 07, 2008 at 09:20:59AM -0300, Guilherme Loch Waltrick G?es
wrote:
Quote: | I'm trying to use a Xorcom Astribank wth Ubuntu 8.04, but got no
| success. I
Quote: | can see the channel bank with lsusb, but when I tried to use
zaptel_hardware, or when I try the /etc/init.d/script, they don't see my
Channel Bank. I compiled the latest Zaptel 1.4.10, with Astribank's
dependecies, fxload and libusb-dev. Anyone have a similiar experience ?
|
What is the output of zaptel_hardware?
Is this an Astribank with a BRI module? If so this is unfortunetly a
known issue (fixed in zaptel 1.4.10.1, but too late for Ubuntu 8.04).
Still, it should show up in zaptel_hardware.
What is the output of lsusb?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080507/865ad897/attachment.htm |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Wed May 07, 2008 2:23 pm Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
On Wed, May 07, 2008 at 01:03:53PM -0300, Guilherme Loch Waltrick G?es wrote:
Quote: | I'm using Zaptel 1.4.10 compiled from source, it's an Astribank with
6FXS+2FXO here's the output of some commands:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# 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.
root at asterisk:~# 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
root at asterisk:~# zaptel_hardware
root at asterisk:~#
|
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:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
glwgoes at gmail.com Guest
|
Posted: Thu May 08, 2008 6:33 am Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
Tzafir,
It's not working it, here's what the utilities told me:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# invoke-rc.d zaptel stop
Unloading zaptel hardware drivers:.
root at asterisk:~# /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
root at asterisk:~# mount procbususb /proc/bus/usb -t usbfs
root at asterisk:~# grep usb /proc/filesystems
nodev usbfs
root at asterisk:~# zaptel_hardware
usb:005/004 xpp_usb- e4e4:1151 Astribank-multi USB-firmware
root at asterisk:~# 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
root at asterisk:~# 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.
root at asterisk:~# genzaptelconf
root at asterisk:~# 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 <tzafrir.cohen at xorcom.com>
wrote:
Quote: | On Wed, May 07, 2008 at 01:03:53PM -0300, Guilherme Loch Waltrick G?es
wrote:
Quote: | I'm using Zaptel 1.4.10 compiled from source, it's an Astribank with
6FXS+2FXO here's the output of some commands:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# 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.
root at asterisk:~# 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
root at asterisk:~# zaptel_hardware
root at asterisk:~#
|
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:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080508/fd93c81d/attachment.htm |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Thu May 08, 2008 9:07 am Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
On Thu, May 08, 2008 at 08:33:08AM -0300, Guilherme Loch Waltrick G?es wrote:
Quote: | Tzafir,
It's not working it, here's what the utilities told me:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# invoke-rc.d zaptel stop
Unloading zaptel hardware drivers:.
root at asterisk:~# /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
root at asterisk:~# mount procbususb /proc/bus/usb -t usbfs
root at asterisk:~# grep usb /proc/filesystems
nodev usbfs
root at asterisk:~# zaptel_hardware
usb:005/004 xpp_usb- e4e4:1151 Astribank-multi USB-firmware
root at asterisk:~# 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
Quote: | root at asterisk:~# 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.
root at asterisk:~# genzaptelconf
root at asterisk:~# 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 <tzafrir.cohen at xorcom.com>
wrote:
Quote: | On Wed, May 07, 2008 at 01:03:53PM -0300, Guilherme Loch Waltrick G?es
wrote:
Quote: | I'm using Zaptel 1.4.10 compiled from source, it's an Astribank with
6FXS+2FXO here's the output of some commands:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# 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.
root at asterisk:~# 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
root at asterisk:~# zaptel_hardware
root at asterisk:~#
|
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:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/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
|
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
glwgoes at gmail.com Guest
|
Posted: Thu May 08, 2008 6:31 pm Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
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 <tzafrir.cohen at xorcom.com>
wrote:
Quote: | On Thu, May 08, 2008 at 08:33:08AM -0300, Guilherme Loch Waltrick G?es
wrote:
Quote: | Tzafir,
It's not working it, here's what the utilities told me:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# invoke-rc.d zaptel stop
Unloading zaptel hardware drivers:.
root at asterisk:~# /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
root at asterisk:~# mount procbususb /proc/bus/usb -t usbfs
root at asterisk:~# grep usb /proc/filesystems
nodev usbfs
root at asterisk:~# zaptel_hardware
usb:005/004 xpp_usb- e4e4:1151 Astribank-multi USB-firmware
root at asterisk:~# 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
Quote: | root at asterisk:~# 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.
root at asterisk:~# genzaptelconf
root at asterisk:~# 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 <tzafrir.cohen at xorcom.com>
wrote:
Quote: | On Wed, May 07, 2008 at 01:03:53PM -0300, Guilherme Loch Waltrick G?es
wrote:
Quote: | I'm using Zaptel 1.4.10 compiled from source, it's an Astribank with
6FXS+2FXO here's the output of some commands:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# 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.
root at asterisk:~# lsusb
Bus 005 Device 003: ID e4e4:1150
Bus 005 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1
|
|
| Flash
Quote: | Quote: | Quote: | 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
root at asterisk:~# zaptel_hardware
root at asterisk:~#
|
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:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
|
| <jabber%3Atzafrir.cohen at xorcom.com <jabber%253Atzafrir.cohen at xorcom.com>>
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080508/a2a9ff3c/attachment.htm |
|
Back to top |
|
|
ldidelot at mixvoip.com Guest
|
Posted: Fri May 09, 2008 2:38 am Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
Hello,
I am sorry to drop in with maybe a dump question. I got my Xorcomm bank
(8 fxs) and I try to get it working on ubuntu without success. I was
looking for a step by step instruction which I could not find. I found
the "insert the CD and now it works manual" but thats not what I am
looking for.
So here is what I did:
- downloaded zaptel 1.4.10, comile and install
- plug the usb device
Here is the point where I am lost. So I tried a few things:
- zaptel_hardware
usb:008/007 xpp_usb- e4e4:1131 Astribank-8/16 USB-firmware
- /usr/share/zaptel/xpp_fxloader load
--------- FIRMWARE LOADING: (load) [1 devices]
Got all 1 devices
/usr/sbin/fpga_load: ERROR (487): Wrong number of endpoints: 2
/usr/sbin/fpga_load: ERROR (749): Failed to initialize USB device
'/dev/bus/usb/008/007'
'xpp_fxloader'[14506]: FPGA Firmware into /dev/bus/usb/008/007
/usr/sbin/fpga_load: ERROR (487): Wrong number of endpoints: 2
/usr/sbin/fpga_load: ERROR (749): Failed to initialize USB device
'/dev/bus/usb/008/007'
'xpp_fxloader'[14513]: /usr/share/zaptel/FPGA_FXS.hex: Version=5480
Checksum=40245
[: 259: 0: unexpected operator
.......................................
- /usr/share/zaptel/xpp_fxloader usb
--------- FIRMWARE LOADING: (usb) [1 devices]
Got all 1 devices
--------- FIRMWARE IS LOADED
- /etc/init.d/zaptel start
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.
So why cant I see my device in /proc/xpp or /proc/zaptel. What did I
miss?
Best regards,
Loic Didelot.
On Thu, 2008-05-08 at 20:31 -0300, Guilherme Loch Waltrick G?es wrote:
Quote: | 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
<tzafrir.cohen at xorcom.com> wrote:
On Thu, May 08, 2008 at 08:33:08AM -0300, Guilherme Loch
Waltrick G?es wrote:
Quote: | Tzafir,
It's not working it, here's what the utilities told me:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# invoke-rc.d zaptel stop
Unloading zaptel hardware drivers:.
root at asterisk:~# /usr/share/zaptel/xpp_fxloader usb
--------- FIRMWARE LOADING: (usb) [1 devices]
'xpp_fxloader'[6583]: USB
| Firmware /usr/share/zaptel/USB_FW.hex into
Quote: | /dev/bus/usb/005/003
..Got all 1 devices
--------- FIRMWARE IS LOADED
root at asterisk:~# mount procbususb /proc/bus/usb -t usbfs
root at asterisk:~# grep usb /proc/filesystems
nodev usbfs
root at asterisk:~# zaptel_hardware
usb:005/004 xpp_usb- e4e4:1151 Astribank-multi
| USB-firmware
Quote: | root at asterisk:~# lsusb
Bus 005 Device 004: ID e4e4:1151
Bus 005 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed
| 21-in-1 Flash
Quote: | 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
Quote: | root at asterisk:~# 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
Quote: | Running ztcfg: done.
root at asterisk:~# genzaptelconf
root at asterisk:~# cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand
| edit
Quote: | # 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
| <tzafrir.cohen at xorcom.com>
Quote: | wrote:
Quote: | On Wed, May 07, 2008 at 01:03:53PM -0300, Guilherme Loch
|
| Waltrick G?es
Quote: | Quote: | wrote:
Quote: | I'm using Zaptel 1.4.10 compiled from source, it's an
|
|
| Astribank with
Quote: | Quote: | Quote: | 6FXS+2FXO here's the output of some commands:
root at asterisk:~# invoke-rc.d asterisk stop
* Stopping Asterisk PBX: asterisk
...done.
root at asterisk:~# 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
Quote: | Quote: | Quote: | Running ztcfg: done.
root at asterisk:~# lsusb
Bus 005 Device 003: ID e4e4:1150
Bus 005 Device 002: ID 058f:6362 Alcor Micro Corp.
|
|
| Hi-Speed 21-in-1 Flash
Quote: | Quote: | Quote: | 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
root at asterisk:~# zaptel_hardware
root at asterisk:~#
|
I think that this is because they no longer mount usbfs by
|
| default and
Quote: | Quote: | 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
Quote: | Quote: | package "fxload" installed and disconnect / reconnect the
|
| Astribank
Quote: | Quote: | (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
Quote: | Quote: | rely on /proc/bus/usb and should work well.
--
Tzafrir Cohen
|
|
jabber:tzafrir.cohen at xorcom.com<jabber%
3Atzafrir.cohen at xorcom.com>
Quote: | Quote: | +972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
_______________________________________________
-- Bandwidth and Colocation Provided by
|
| http://www.api-digital.com --
Quote: | _______________________________________________
-- Bandwidth and Colocation Provided by
| http://www.api-digital.com --
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/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
| --
Lo?c DIDELOT
MIXvoip S.a.
ldidelot at mixvoip.com
http://www.mixvoip.com |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Fri May 09, 2008 5:00 am Post subject: [asterisk-users] Ubuntu 8.04 + Astribank |
|
|
On Fri, May 09, 2008 at 09:38:04AM +0200, Loic DIDELOT wrote:
Quote: | Hello,
I am sorry to drop in with maybe a dump question. I got my Xorcomm bank
(8 fxs) and I try to get it working on ubuntu without success. I was
looking for a step by step instruction which I could not find. I found
the "insert the CD and now it works manual" but thats not what I am
looking for.
So here is what I did:
- downloaded zaptel 1.4.10, comile and install
- plug the usb device
Here is the point where I am lost. So I tried a few things:
- zaptel_hardware
usb:008/007 xpp_usb- e4e4:1131 Astribank-8/16 USB-firmware
- /usr/share/zaptel/xpp_fxloader load
--------- FIRMWARE LOADING: (load) [1 devices]
Got all 1 devices
/usr/sbin/fpga_load: ERROR (487): Wrong number of endpoints: 2
|
What is that message? I couldn't find it anywhere.
The message "Wrong number of endpoints" from line 487 of fpga_load.c?
Huh?
OK, let's go back a bit:
http://svn.digium.com/view/zaptel/branches/1.4/kernel/xpp/utils/fpga_load.c?r1=2736&r2=3106
This was not part of Zaptel 1.4.10 (.1), so on what version was it
removed?
svn ls -r 3106 http://svn.digium.com/svn/zaptel/tags | grep '^1\.4' | sort -t . -n -k 3 | tail -n 1
This returns "1.4.5.1/" .
So I suspect that the specific "Ubuntu" you use is 7.10, that has Zaptel
1.4.3 . http://packages.ubuntu.com/zaptel
And why did fpga_load survive from the original package? Maybe you have
not isntalled libusb-dev before building Zaptel?
Quote: | /usr/sbin/fpga_load: ERROR (749): Failed to initialize USB device
'/dev/bus/usb/008/007'
'xpp_fxloader'[14506]: FPGA Firmware into /dev/bus/usb/008/007
/usr/sbin/fpga_load: ERROR (487): Wrong number of endpoints: 2
/usr/sbin/fpga_load: ERROR (749): Failed to initialize USB device
'/dev/bus/usb/008/007'
'xpp_fxloader'[14513]: /usr/share/zaptel/FPGA_FXS.hex: Version=5480
Checksum=40245
[: 259: 0: unexpected operator
|
Bah. bashism (using PIPE_STATUS).
I think I need to replace it with something of the sort of:
(fpga_load ; echo $? >$status_fd )| $LOGGER
status=`cat <$status_fd`
But I need to test this a bit before commiting.
In the mean time, put the following as the first line of
/usr/share/zaptel/xpp_fxloader: "#!/bin/bash"
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|