Get the same USB port assigned to a node at startup each time?
I'm a pure newbi to Asterisk/app_rpt and am trying to learn enough to see if it will work for an RLC-3 replacement for my club. I have four nodes in test mode running on one server using USB FOBs and every time Asterisk starts the four USB FOBs get assigned to different nodes than they were on when Asterisk was shut down. Lsusb shows the FOBs are split with two on each internal USB bus, corresponding to the hardware USB controllers. I get good audio out of all four FOBs every time, just from different nodes than last time. The PC is a home built Intel G2130 of fairly recent vintage. Is there a way to tie a USB hardware port to a particular node so I get the same node on the same hardware every time? This is particularly critical in case of power failure so the site can come back up without operator intervention. Thanks, Cole, AA7RD
Cole, Have you saved the FOB configuration data with the level set program? The USB port is stored there. For simpleusb it is stored like this in /etc/asterisk cat simpleusb_tune_usb.conf [usb] ; name=usb ; devicenum=0 devstr=1-1 rxmixerset=750 txmixaset=500 txmixbset=500 USB Radio is similar. You need to select each FOB by its name usb1, usb2 etc. or whatever you call them and then save it to create the config files. 73 Doug WA3DSP http://www.crompton.com/hamradio From: colecaz@gmail.com To: app_rpt-users@ohnosec.org Date: Sat, 17 Jan 2015 15:09:57 -0700 Subject: [App_rpt-users] Get the same USB port assigned to a node at startup each time? I’m a pure newbi to Asterisk/app_rpt and am trying to learn enough to see if it will work for an RLC-3 replacement for my club. I have four nodes in test mode running on one server using USB FOBs and every time Asterisk starts the four USB FOBs get assigned to different nodes than they were on when Asterisk was shut down. Lsusb shows the FOBs are split with two on each internal USB bus, corresponding to the hardware USB controllers. I get good audio out of all four FOBs every time, just from different nodes than last time. The PC is a home built Intel G2130 of fairly recent vintage. Is there a way to tie a USB hardware port to a particular node so I get the same node on the same hardware every time? This is particularly critical in case of power failure so the site can come back up without operator intervention. Thanks,Cole, AA7RD _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
I haven't gotten to the point of setting up the FOBs so haven't done the tune yet. I just looked and see the radio tune rxnoise, etc commands and will need to get a radio interfaced to set them. That will be the project for tomorrow now that I know what's needed. Thanks, Cole AA7RD From: outlook_97fc649978f54bf0@outlook.com [mailto:outlook_97fc649978f54bf0@outlook.com] On Behalf Of Doug Crompton Sent: Saturday, January 17, 2015 7:40 PM To: Cole Cunningham Cc: app_rpt-users@ohnosec.org Subject: RE: [App_rpt-users] Get the same USB port assigned to a node at startup each time? Cole, Have you saved the FOB configuration data with the level set program? The USB port is stored there. For simpleusb it is stored like this in /etc/asterisk cat simpleusb_tune_usb.conf [usb] ; name=usb ; devicenum=0 devstr=1-1 rxmixerset=750 txmixaset=500 txmixbset=500 USB Radio is similar. You need to select each FOB by its name usb1, usb2 etc. or whatever you call them and then save it to create the config files. 73 Doug WA3DSP http://www.crompton.com/hamradio _____ From: colecaz@gmail.com To: app_rpt-users@ohnosec.org Date: Sat, 17 Jan 2015 15:09:57 -0700 Subject: [App_rpt-users] Get the same USB port assigned to a node at startup each time? I'm a pure newbi to Asterisk/app_rpt and am trying to learn enough to see if it will work for an RLC-3 replacement for my club. I have four nodes in test mode running on one server using USB FOBs and every time Asterisk starts the four USB FOBs get assigned to different nodes than they were on when Asterisk was shut down. Lsusb shows the FOBs are split with two on each internal USB bus, corresponding to the hardware USB controllers. I get good audio out of all four FOBs every time, just from different nodes than last time. The PC is a home built Intel G2130 of fairly recent vintage. Is there a way to tie a USB hardware port to a particular node so I get the same node on the same hardware every time? This is particularly critical in case of power failure so the site can come back up without operator intervention. Thanks, Cole, AA7RD _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Doug, I have interfaced a radio to a FOB and am able to get all functions working except txaudio. When trying to adjust it using the radio tune command it gives be back Garage3*CLI> radio tune rxnoise 41189 Device usb currently not active [ The just the radio tune gives Garage3*CLI> radio tune Active radio interface is [usb] Device String is Card is -1 Output A is currently set to composite. Output B is currently set to off. Tx Voice Level currently set to 500 Tx Tone Level currently set to 200 Rx Squelch currently set to 725 Usage: radio tune <function> rxnoise rxvoice rxtone rxsquelch [newsetting] txvoice [newsetting] txtone [newsetting] auxvoice [newsetting] save (settings to tuning file) load (tuning settings from EEPROM) All [newsetting]'s are values 0-999 The instructions on the docs.allstarling.org about adjusting radio parameters seem to refer only to the URI. Can you tell me the way to change the active device so that I can adjust and save the parameters and make the same usb port attach to the same node number every time? Thanks, Cole AA7RD
see this page https://allstarlink.org/usbradio.html On Sun, Jan 18, 2015 at 3:18 PM, Cole Cunningham <colecaz@gmail.com> wrote:
Doug,
I have interfaced a radio to a FOB and am able to get all functions working except txaudio.
When trying to adjust it using the radio tune command it gives be back
Garage3*CLI> radio tune rxnoise 41189
Device usb currently not active
[
The just the radio tune gives
Garage3*CLI> radio tune
Active radio interface is [usb]
Device String is
Card is -1
Output A is currently set to composite.
Output B is currently set to off.
Tx Voice Level currently set to 500
Tx Tone Level currently set to 200
Rx Squelch currently set to 725
Usage: radio tune <function>
rxnoise
rxvoice
rxtone
rxsquelch [newsetting]
txvoice [newsetting]
txtone [newsetting]
auxvoice [newsetting]
save (settings to tuning file)
load (tuning settings from EEPROM)
All [newsetting]'s are values 0-999
The instructions on the docs.allstarling.org about adjusting radio parameters seem to refer only to the URI.
Can you tell me the way to change the active device so that I can adjust and save the parameters and make the same usb port attach to the same node number every time?
Thanks,
Cole
AA7RD
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
I found the problem and the solution. I didn't mention that I'm using simpleusb instead of USBradio. So none of the primary documentation and your suggestions worked. Finally, and I don't remember how at this point, I found http://ohnosec.org/drupal/node/193 which documents simpleusb and simpleusb-tune-menu. Once that was found it all fell into place and fobs are now assigned to usb ports. One note, the dupral page doesn't mention that simpleusb tune menu needs to run under Linux. Thanks to all for the replies. On to the next challenge. Cole AA7RD
participants (3)
-
Chuck Henderson -
Cole Cunningham -
Doug Crompton