[asterisk-users] Astribank problem

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Feb 1 03:03:44 CST 2010


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



More information about the asterisk-users mailing list