Having a issue with my node after power outage

Discussions about this interesting Xelatec product
w3tmb
Posts: 3
Joined: Mon Oct 17, 2011 1:05 pm

Having a issue with my node after power outage

Postby w3tmb » Wed May 30, 2012 10:10 pm

Having a issue with my node wondering if you have any suggestions

after a power outage I am getting the following

[May 30 22:46:11] ERROR[7887]: chan_urd.c:2463 urd_link: [usb] unable to assign devstr=5-1 devnum=0
[May 30 22:46:13] ERROR[7887]: chan_urd.c:2392 urd_link: [usb] Not able to detach the USB device
[May 30 22:46:13] ERROR[7887]: chan_urd.c:2463 urd_link: [usb] unable to assign devstr=5-1 devnum=0
[May 30 22:46:15] ERROR[7887]: chan_urd.c:2392 urd_link: [usb] Not able to detach the USB device
[May 30 22:46:15] ERROR[7887]: chan_urd.c:2463 urd_link: [usb] unable to assign devstr=5-1 devnum=0
[May 30 22:46:17] ERROR[7887]: chan_urd.c:2392 urd_link: [usb] Not able to detach the USB device
[May 30 22:46:17] ERROR[7887]: chan_urd.c:2463 urd_link: [usb] unable to assign devstr=5-1 devnum=0
[May 30 22:46:19] ERROR[7887]: chan_urd.c:2392 urd_link: [usb] Not able to detach the USB device

RU3AID
Posts: 1
Joined: Sat Mar 09, 2013 8:46 am

Re: Having a issue with my node after power outage

Postby RU3AID » Sat Mar 09, 2013 11:53 am

Having the same problem after FOB hot replugging.. Is there some way to avoid reinstallation?

kb3ors
Posts: 49
Joined: Wed Nov 10, 2010 10:58 pm

Re: Having a issue with my node after power outage

Postby kb3ors » Sun Apr 21, 2013 12:40 am

First of all try to refrain from hot plugging the fob. Due to power being applied at both ends of the usb device. Wether it be Computer power to the port, or the dc power to the radio. You never know where the best ground is coming from. I have seen usb ports fry because of this.

Sounds like maybe the port assignment has changed. First thing to do is the lsusb command at the root prompt. this will show the usb ports and what is connected. You should see a reply similar to the following. Verify that you see a c-media device connected.

Bus 004 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Do not rely on this info to be correct for your port assignment in urd_tune_usb.conf

To find the device go into the asterisk cli prompt.

asterisk -vvvr (the v's assign verbose)

radio probe on

will show the following info on the screen. Then do a radio probe off command, or the screen will keep scrolling.


amateur*CLI> index card idVendor idProduct devstr owner log - urd Probe 4
00 01 0x0d8c 0x000c 4-2 usb 0

pay particular attention to the numbers that are in bold above. The card, and devstr assigned.

In this case it is card 01 located at port 4-2.

After having this info, open the urd_tune_usb.conf file and compare the info in that file. Change the info to the numbers you found with the radio probe on command. Save the file and restart amportal.

If this does not work, sometimes the asterisk database can become corrupt.

At the root prompt

rm /var/lib/asterisk/astdb

it will ask to confirm, then reboot the box.


Good Luck,

Brian
KB3ORS
KB3ORS - Brian


Return to “XIPAR Distribution”

Who is online

Users browsing this forum: No registered users and 1 guest