H all... I have an Astribank (8FXS/16FXO), IBM X3200 M2, Asterisk-1.6.2.1, dahdi-linux-complete-2.2.1, libpri-1.4.10.2, centos-5.4 final. My problem is, every time i unplug the astribank power supply, and reconnect it, astribank cannot work again (lsusb result is 11x0)... but, after reinstall the asterisk and dahdi, astribank will detected (lsusb result is 11x2)... any suggestion? Regard, frank. _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-id:SI_SB_3:092010 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100130/4fe85598/attachment-0001.htm
On Sat, Jan 30, 2010 at 03:57:30AM +0000, frangky robert wrote:> > H all... > > I have an Astribank (8FXS/16FXO), IBM X3200 M2, Asterisk-1.6.2.1, > dahdi-linux-complete-2.2.1, libpri-1.4.10.2, centos-5.4 final. > My problem is, every time i unplug the astribank power supply, and > reconnect it, astribank cannot work again (lsusb result is 11x0)...When you plug the Astribank, the firmware should get loaded by a script called from udev. What messages do you see in /var/log/messages following that?> but, after reinstall the asterisk and dahdi, astribank will detected > (lsusb result is 11x2)...-- 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 do some test: 1.unplug usb connector from server to astricon 2.unplug power to astricon 3.plug-in the power to astricon 4.plug-in the usb connector Here is the log from /var/log/messages after doing the 1st step. Feb 1 19:38:24 localhost last message repeated 2 times Feb 1 19:43:39 localhost kernel: ERR-xpp_usb: xusb-0 (usb-0000:00:1d.7-3) [X1038295]: nonzero write bulk status received: -71 (pending_writes=1) Feb 1 19:43:39 localhost kernel: usb 2-3: USB disconnect, address 3 Feb 1 19:43:39 localhost kernel: ERR-xpp_usb: XBUS-00: xusb_listen: usb_submit_urb failed: -19 Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Disconnecting Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Deactivating Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Release XPDS Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00/XPD-00: Remove Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00/XPD-10: Remove Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00/XPD-20: Remove Feb 1 19:43:39 localhost kernel: NOTICE-xpp: worker_reset: worker(XBUS-00)->xpds_init_done=0 Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Atribank Remove Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Astribank Release Feb 1 19:43:39 localhost kernel: INFO-xpp_usb: xusb-0 (usb-0000:00:1d.7-3) [X1038295]: now disconnected Feb 1 19:43:39 localhost 'astribank_hook'[3728]: offline(XBUS-00): 0/1 from /etc/dahdi/xpp_order Feb 1 19:43:39 localhost 'astribank_hook'[3735]: All Astribanks offline And, this is the log after doing 4th step. Feb 1 19:44:20 localhost kernel: usb 2-3: new high speed USB device using ehci_hcd and address 4 Feb 1 19:44:20 localhost kernel: usb 2-3: configuration #1 chosen from 1 choice Feb 1 19:44:21 localhost 'xpp_fxloader'[3847]: Exiting... XPP_HOTPLUG_DISABLED lsusb result is: [root at localhost ~]# lsusb Bus 002 Device 004: ID e4e4:1160 Bus 002 Device 001: ID 0000:0000 Bus 006 Device 001: ID 0000:0000 Bus 006 Device 002: ID 04b3:3025 IBM Corp. Bus 004 Device 001: ID 0000:0000 Bus 008 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 here is the msg when i do /usr/share/dahdi/xpp_fxloader [root at localhost ~]# /usr/share/dahdi/xpp_fxloader usb 'xpp_fxloader'[3955]: --------- FIRMWARE LOADING: (usb) [1 devices] ....Got all 1 devices 'xpp_fxloader'[4074]: --------- FIRMWARE IS LOADED but, when i do /etc/init.d/dahdi stop and start here is the result [root at localhost ~]# /etc/init.d/dahdi start Loading DAHDI hardware modules: xpp_usb: [ OK ] Astribanks initialization is starting Astribanks detection ..........TIMEOUT No hardware timing source found in /proc/dahdi, loading dahdi_dummy Running dahdi_cfg: DAHDI_CHANCONFIG failed on channel 1: No such device or address (6) [FAILED] On Sat, Jan 30, 2010 at 03:57:30AM +0000, frangky robert wrote:> > H all... > > I have an Astribank (8FXS/16FXO), IBM X3200 M2, Asterisk-1.6.2.1, > dahdi-linux-complete-2.2.1, libpri-1.4.10.2, centos-5.4 final. > My problem is, every time i unplug the astribank power supply, and > reconnect it, astribank cannot work again (lsusb result is 11x0)...When you plug the Astribank, the firmware should get loaded by a script called from udev. What messages do you see in /var/log/messages following that?> but, after reinstall the asterisk and dahdi, astribank will detected > (lsusb result is 11x2)...-- 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 _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-id:SI_SB_3:092010 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100201/53d53511/attachment.htm
I apologize, but what benefit does Astribank provide over something like a Quintum series gateway with FXS/FXO support? Whats the benefit of USB vs Ethernet? --Dovey ------------------------------ *From:* asterisk-users-bounces at lists.digium.com [mailto: asterisk-users-bounces at lists.digium.com] *On Behalf Of *frangky robert *Sent:* Friday, January 29, 2010 10:58 PM *To:* asterisk-users at lists.digium.com *Subject:* [asterisk-users] Astribank problem H all... I have an Astribank (8FXS/16FXO), IBM X3200 M2, Asterisk-1.6.2.1, dahdi-linux-complete-2.2.1, libpri-1.4.10.2, centos-5.4 final. My problem is, every time i unplug the astribank power supply, and reconnect it, astribank cannot work again (lsusb result is 11x0)... but, after reinstall the asterisk and dahdi, astribank will detected (lsusb result is 11x2)... any suggestion? Regard, frank. ------------------------------ Chat online and in real-time with friends and family! Windows Live Messenger<http://get.live.com/messenger/overview> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100202/7d24501e/attachment.htm
Ok, the problem solved... thanks for your advice. after rebooting i run /usr/share/dahdi/xpp_fxloader load and everything run normally. thanks...> Message: 24 > Date: Mon, 1 Feb 2010 11:03:44 +0200 > From: Tzafrir Cohen <tzafrir.cohen at xorcom.com> > Subject: Re: [asterisk-users] Astribank problem > To: asterisk-users at lists.digium.com > Message-ID: <20100201090344.GR3599 at xorcom.com> > Content-Type: text/plain; charset=us-ascii > > On Mon, Feb 01, 2010 at 07:42:51AM +0000, frangky robert wrote: > > > > > > > > > > I do some test: > > 1.unplug usb connector from server to astricon > > 2.unplug power to astricon > > 3.plug-in the power to astricon > > 4.plug-in the usb connector > > > > Here is the log from /var/log/messages after doing the 1st step. > > > > Feb 1 19:38:24 localhost last message repeated 2 times > > Feb 1 19:43:39 localhost kernel: ERR-xpp_usb: xusb-0 (usb-0000:00:1d.7-3) [X1038295]: nonzero write bulk status received: -71 (pending_writes=1) > > Feb 1 19:43:39 localhost kernel: usb 2-3: USB disconnect, address 3 > > Feb 1 19:43:39 localhost kernel: ERR-xpp_usb: XBUS-00: xusb_listen: usb_submit_urb failed: -19 > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Disconnecting > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Deactivating > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Release XPDS > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00/XPD-00: Remove > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00/XPD-10: Remove > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00/XPD-20: Remove > > Feb 1 19:43:39 localhost kernel: NOTICE-xpp: worker_reset: worker(XBUS-00)->xpds_init_done=0 > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Atribank Remove > > Feb 1 19:43:39 localhost kernel: INFO-xpp: XBUS-00: [usb:X1038295] Astribank Release > > Feb 1 19:43:39 localhost kernel: INFO-xpp_usb: xusb-0 (usb-0000:00:1d.7-3) [X1038295]: now disconnected > > Feb 1 19:43:39 localhost 'astribank_hook'[3728]: offline(XBUS-00): 0/1 from /etc/dahdi/xpp_order > > Feb 1 19:43:39 localhost 'astribank_hook'[3735]: All Astribanks offline > > > > > > And, this is the log after doing 4th step. > > > > Feb 1 19:44:20 localhost kernel: usb 2-3: new high speed USB device using ehci_hcd and address 4 > > Feb 1 19:44:20 localhost kernel: usb 2-3: configuration #1 chosen from 1 choice > > Feb 1 19:44:21 localhost 'xpp_fxloader'[3847]: Exiting... XPP_HOTPLUG_DISABLED > > Seems like you explicitly disabled firmware loading by setting > XPP_HOTPLUG_DISABLED in /etc/dahdi/init.conf . Just rem-out that line. > > > > > lsusb result is: > > > > [root at localhost ~]# lsusb > > Bus 002 Device 004: ID e4e4:1160 > > Bus 002 Device 001: ID 0000:0000 > > Bus 006 Device 001: ID 0000:0000 > > Bus 006 Device 002: ID 04b3:3025 IBM Corp. > > Bus 004 Device 001: ID 0000:0000 > > Bus 008 Device 001: ID 0000:0000 > > Bus 007 Device 001: ID 0000:0000 > > Bus 001 Device 001: ID 0000:0000 > > Bus 005 Device 001: ID 0000:0000 > > Bus 003 Device 001: ID 0000:0000 > > > > here is the msg when i do /usr/share/dahdi/xpp_fxloader > > [root at localhost ~]# /usr/share/dahdi/xpp_fxloader usb > > This only runs USB firmware loading. And as the firmware loading is > explicitly disabled on your system, the FPGA firmware will still not get > loaded. > > This is also something that you would have seen if you would run > 'dahdi_hardware -v' > > So basically just remove that line from init.conf and replug the > Astribank. > > -- > 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 > > > > *********************************************_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100204/5f22f884/attachment.htm