that error alway got me because it is of zero indication what isn’t working…
Aside the fact that something obviously isn’t right.
First thing is to check your rpt.conf, there should be a line that looks akin to this:
rxchannel = SimpleUSB/usb28569 ; my node number is 28569
…
[nodes]
28569 = radio@127.0.0.1:4569/28569,NONE
Look at your extensions.conf:
[globals]
HOMENPA=903 ;my area code is 903… not needed but useful to prevent loops
NODE=28569
Look at your iax.conf:
[general]
…
register=28569:secret@register.allstarlink.org
look at simpleusb.conf:
[general]
[usb28569]
hdwtype=0
rxboost=0
txboost=1
carrierfrom=usbinvert
ctcssfrom=no
txmixa=voice
txmixb=no
invertptt=0 ; active LOW to TX (ground PTT line)
duplex=1 ; =0 if simplex radio, =1 if separate transmitter and receiver, i.g., repeater
rxondelay=1
eeprom=1 ; =0 is default, do not change unless URI has an EEPROM, leave =0 if unsure
look at file akin to simpleusb_tune_usb28569.conf
[usb28569]
; name=usb28569
; devicenum=1
devstr=6-1:1.0 ; this is derived from the output of dmesg
rxmixerset=275 ; tuned value, default is 500
txmixaset=245 ; tuned value, default is 500
txmixbset=0
Check your modules.conf to ensure the correct modules are loaded:
load => chan_iax2.so
…
load => chan_simpleusb.so
Finally, execute below, if you have something other then a RA-35/40/42, you may have to search
$ dmesg |grep C-Media
(my output, yours will probably vary):
[ 1.682150] usb 6-1: Manufacturer: C-Media Electronics Inc.
[ 1.692203] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.3/0003:0D8C:013A.0001/input/input7
[ 1.752220] hid-generic 0003:0D8C:013A.0001: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device ] on usb-0000:00:1d.1-1/input3
r
notice the bold 6-1:1.3
start with :1.0, and restart asterisk each attempt until successful going into simpleusb_tune_menu using the following:
$ asterisk -rx restart
Notes:
$ - denotes you at the root prompt, su root or sudo su will take you there.
… denotes separation in location of variables. (scroll down IOTW)
Capitalization and punctuation must match
Check those files before going into root, this is prevent accidental changes. Once you are sure what needs to changed, then either sudo su or su root to stay in root while executing changes.