I'm having trouble getting a xorcom set up. A large part of the problem is that the box is a _long_ way away and I can't get to/at it easily, so while I could probably fix this in a few hours if the machine were in front of me, I'm struggling over a slow unreliable laggy link. Ok, enough whining from me. I have a new Xorcom plugged into the usb of a Suse 11 machine I built Dahdi from trunk (last thursday) # svn checkout http://svn.digium.com/svn/dahdi/linux/trunk dahdi-linux # svn checkout http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools dahdihardware -v sees the box but no spans. I get a syslog _full_ of this: 2010-03-25T21:35:22.338865-10:00 pbx kernel: [185556.006494] INFO-xpp_usb: XUSB: Xorcom LTD -- Astribank -- FPGA 2010-03-25T21:35:22.338878-10:00 pbx kernel: [185556.006695] INFO-xpp: XBUS-00: [usb:X1037246] Activating 2010-03-25T21:35:59.930296-10:00 pbx kernel: [185593.410290] INFO-xpp: XBUS-00: [usb:X1037246] Disconnecting 2010-03-25T21:35:59.930374-10:00 pbx kernel: [185593.410305] INFO-xpp: XBUS-00: [usb:X1037246] Deactivating 2010-03-25T21:35:59.930527-10:00 pbx kernel: [185593.410324] INFO-xpp: XBUS-00: [usb:X1037246] Release XPDS 2010-03-25T21:35:59.930696-10:00 pbx kernel: [185593.410423] INFO-xpp: XBUS-00: [usb:X1037246] Atribank Remove 2010-03-25T21:35:59.930776-10:00 pbx kernel: [185593.410455] INFO-xpp: XBUS-00: [usb:X1037246] Astribank Release 2010-03-25T21:35:59.930854-10:00 pbx kernel: [185593.410730] INFO-xpp_usb: xusb-0 (usb-0000:00:1a.7-4) [X1037246]: now disconnected 2010-03-25T21:36:14.944476-10:00 pbx kernel: [185608.613407] INFO-xpp: revision Unknown MAX_XPDS=64 (8*8) 2010-03-25T21:36:14.944488-10:00 pbx kernel: [185608.613422] INFO-xpp: FEATURE: without BRISTUFF support 2010-03-25T21:36:14.944493-10:00 pbx kernel: [185608.613436] INFO-xpp: FEATURE: with PROTOCOL_DEBUG 2010-03-25T21:36:14.944498-10:00 pbx kernel: [185608.613601] INFO-xpp: FEATURE: with sync_tick() from DAHDI 2010-03-25T21:36:14.946463-10:00 pbx kernel: [185608.615753] INFO-xpp_usb: revision Unknown 2010-03-25T21:36:15.162342-10:00 pbx kernel: [185608.831539] INFO-xpp_usb: XUSB: Xorcom LTD -- Astribank -- FPGA 2010-03-25T21:36:15.166858-10:00 pbx kernel: [185608.834398] INFO-xpp: XBUS-00: [usb:X1037246] Activating 2010-03-25T21:41:37.626186-10:00 pbx kernel: [185931.095914] INFO-xpp: XBUS-00: [usb:X1037246] Disconnecting 2010-03-25T21:41:37.626263-10:00 pbx kernel: [185931.095923] INFO-xpp: XBUS-00: [usb:X1037246] Deactivating 2010-03-25T21:41:37.626417-10:00 pbx kernel: [185931.095941] INFO-xpp: XBUS-00: [usb:X1037246] Release XPDS 2010-03-25T21:41:37.626579-10:00 pbx kernel: [185931.096024] INFO-xpp: XBUS-00: [usb:X1037246] Atribank Remove 2010-03-25T21:41:37.626659-10:00 pbx kernel: [185931.096126] INFO-xpp: XBUS-00: [usb:X1037246] Astribank Release 2010-03-25T21:41:37.626744-10:00 pbx kernel: [185931.096588] INFO-xpp_usb: xusb-0 (usb-0000:00:1a.7-4) [X1037246]: now disconnected 2010-03-25T21:41:47.445482-10:00 pbx kernel: [185941.114843] INFO-xpp: revision Unknown MAX_XPDS=64 (8*8) 2010-03-25T21:41:47.445492-10:00 pbx kernel: [185941.114855] INFO-xpp: FEATURE: without BRISTUFF support 2010-03-25T21:41:47.445497-10:00 pbx kernel: [185941.114868] INFO-xpp: FEATURE: with PROTOCOL_DEBUG 2010-03-25T21:41:47.445503-10:00 pbx kernel: [185941.115024] INFO-xpp: FEATURE: with sync_tick() from DAHDI 2010-03-25T21:41:47.447466-10:00 pbx kernel: [185941.117112] INFO-xpp_usb: revision Unknown 2010-03-25T21:41:47.665867-10:00 pbx kernel: [185941.333559] INFO-xpp_usb: XUSB: Xorcom LTD -- Astribank -- FPGA Any hints as to what I'm doing wrong would be much appreciated. (here's some project background for the curious http://babyis60.wordpress.com/2010/02/25/the-island-phone-system-adventure/ ) Tim. Tim Panton - Web/VoIP consultant and implementor www.westhawk.co.uk
Xorcom hardware uses three layers; you must resolve issues in the following order: 1. USB 2. Dahdi 3. Asterisk I suspect you're having trouble with the usb layer. Run lsusb It will display a line like this if the firmware isn't loaded: Bus 001 Device 004: ID e4e4:1161 If it is e4e4:1162 then the firmware is loaded. You can manually load the firmware like this: /usr/share/dahdi/xpp_fxloader load or /usr/share/dahdi/xpp_fxloader usb
Tzafrir Cohen
2010-Mar-28 15:13 UTC
[asterisk-users] Trying to configure xorcom on Suse 11
On Sat, Mar 27, 2010 at 04:48:41PM -0500, Tim Panton wrote:> I'm having trouble getting a xorcom set up. > > A large part of the problem is that the box is a _long_ way away and > I can't get to/at it easily, so while I could probably fix this in a few > hours if the machine were in front of me, I'm struggling over a slow > unreliable laggy link. > > Ok, enough whining from me. > > I have a new Xorcom plugged into the usb of a Suse 11 machine > I built Dahdi from trunk (last thursday) > > # svn checkout http://svn.digium.com/svn/dahdi/linux/trunk dahdi-linux > # svn checkout http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools > > dahdihardware -v sees the box but no spans.Generally '/etc/init.d/dahdi start' . Or more specifically, 'dahdi_registration on' . See also: http://docs.tzafrir.org.il/dahdi-tools/README.Astribank.html#_installation_scenarios -- 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
I've never seen e4e4:1164 before. What does this output?: lsusb|sed -e 's/:/ /g'| grep e4e4| awk '{print "astribank_tool -n -D /proc/bus/usb/"$2"/"$4}'| bash reset the astribank: #(if you use freepbx) amportal stop #(if you start asterisk that way) /etc/init.d/asterisk stop /etc/init.d/dahdi stop /usr/share/dahdi/xpp_fxloader reset #give it time sleep 30 /usr/share/dhadi/xpp_fxloader load #(you should see e4e4:1162) lsusb #(you should see the hardware here) dahdi_hardware -v #presuming you have /etc/dahdi/system.conf right this will work /etc/init.d/dahdi start #if you use freepbx amportal start #or /etc/init.d/asterisk start -- JD Austin Twin Geckos Technology Services LLC jd at twingeckos.com Voice: 480.288.8195x201 Fax: 480.406.6753 http://www.twingeckos.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100328/6be50857/attachment.htm