[asterisk-users] Astribank problem

frangky robert franky.robert at hotmail.com
Mon Feb 1 01:42:51 CST 2010





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 


More information about the asterisk-users mailing list