Date   

Re: change USRP and TLV gain with dvswitch.sh

Steve N4IRS
 

Patrick,
dvswitch.sh will do what you want.

Example:
dvswitch.sh tlvAudio AUDIO_USE_GAIN 1.1
dvswitch.sh usrpAudio AUDIO_USE_GAIN .93

You will see the change reflected in the AB log and in the AB json file in /tmp
Assuming you are using port 12345, you will find a file in /tmp named:
ABInfo_12345.json
This contains all current setting in use by AB.

Steve N4IRS

On 1/23/20 11:43 PM, Patrick Perdue wrote:
Is there a way to change the USRP and TLV gain on the fly with dvswitch.sh?

I normally have my USRP gain set to 0.34, and TLV gain set to 3.00, which works fine most of the time, but there is one net controller using a very hot DMR radio (GD77S) which clips out at that gain even when he backs off. I like having higher than unity gain, because it makes it easier for those using Allstar to hear the wider dynamic range of DMR users. If I change the gain to unity or 1.80, it's fine with this hot radio (1.80 is actually a little on the edge as well, but not as bad as 3.00,) but the only way I know of for doing this is changing it in the INI file and restarting A_B. I have never gotten satisfactory results with AGC.

Thanks and 73

KE4DYI



change USRP and TLV gain with dvswitch.sh

Patrick Perdue
 

Is there a way to change the USRP and TLV gain on the fly with dvswitch.sh?

I normally have my USRP gain set to 0.34, and TLV gain set to 3.00, which works fine most of the time, but there is one net controller using a very hot DMR radio (GD77S) which clips out at that gain even when he backs off. I like having higher than unity gain, because it makes it easier for those using Allstar to hear the wider dynamic range of DMR users. If I change the gain to unity or 1.80, it's fine with this hot radio (1.80 is actually a little on the edge as well, but not as bad as 3.00,) but the only way I know of for doing this is changing it in the INI file and restarting A_B. I have never gotten satisfactory results with AGC.

Thanks and 73

KE4DYI


Re: DMR to YSF Weird Issue

Eric-K6KWB
 
Edited

Steve N4IRS
Just FYI - this suggestion works, thank you much.

chmod +x MMDVM_Bridge.amd64

best, Eric


Re: Ben Fogle N5AMD contact info ?

John MI0AAZ
 

Will look you up now and drop you a message.
73.


Re: USPR and GPIO (4 wire analog interface) to P25 #mmdvm_bridge #analog_bridge

Steve N4IRS
 

On 1/23/2020 8:22 AM, Tim VK3TIM wrote:
Hi Steve,
I have a  ASL node setup with
"First node" using the modified simpleusb drivers " I think you may have originally setup ASL_GPIO_Master" that was later forked (https://github.com/KG7QIN/ASL_GPIO) .
This allows the use of Pi GPIOs for the analog PTT and COS audio via a CM108 sound card -"4 wire E&M." - "I use a customised Pi Hat for this."
"Second node" is using USRP to Analog Bridge.
"First node" Using DTMF scripts in ASL for the *Tune.sh commands for the Mode change and the TG changes much similar to your original DVswitch approach with multiple .ini files.
At this stage all seems to be working well.
I did notice when activating a "mode" change command that the analog bridge service had to be restarted three times in the script when making the changes to the analog_bridge.ini  copying them to temp and then copying back to the opt/Analog_bridge directory or it would sometimes get stuck - This also happened to me on the original USRP controls using DVswitch (it also meant that with every "mode" change I had to register again but that didn't worry me.)
- What i am looking into now is a user dashboard to see what the Modes and Talkgroups are actually on visually and possibly  audio commands back over the "First Node"

(I think I am already in that group will take a look.) 
Thanks for all your great work.
Tim 
VK3TIM





DSTAR REF084C , XLX933A/B/C etc... with DVSWITCH MOBILE ?

Ludovic Ludo
 

Hello,

i just terminated a french tutorial for DVSwitch on raspi :
http://radioamateur.forumsactifs.com/t2299-dvswitch-mobile-tutoriel-d-installation-sur-raspberry-pi-3-sans-dongle-usb-dmr-c4fm-dstar-p25-nxdn

I search the possibility to go on REF084C or 933A/Z but for
the moment i do not know how to do that.

If you have the solution, thank's in advance.

Best regards,
Ludovic - F5PBG.


Re: USPR and GPIO (4 wire analog interface) to P25 #mmdvm_bridge #analog_bridge

 

Hi Steve,
I have a  ASL node setup with
"First node" using the modified simpleusb drivers " I think you may have originally setup ASL_GPIO_Master" that was later forked (https://github.com/KG7QIN/ASL_GPIO) .
This allows the use of Pi GPIOs for the analog PTT and COS audio via a CM108 sound card -"4 wire E&M." - "I use a customised Pi Hat for this."
"Second node" is using USRP to Analog Bridge.
"First node" Using DTMF scripts in ASL for the *Tune.sh commands for the Mode change and the TG changes much similar to your original DVswitch approach with multiple .ini files.
At this stage all seems to be working well.
I did notice when activating a "mode" change command that the analog bridge service had to be restarted three times in the script when making the changes to the analog_bridge.ini  copying them to temp and then copying back to the opt/Analog_bridge directory or it would sometimes get stuck - This also happened to me on the original USRP controls using DVswitch (it also meant that with every "mode" change I had to register again but that didn't worry me.)
- What i am looking into now is a user dashboard to see what the Modes and Talkgroups are actually on visually and possibly  audio commands back over the "First Node"

(I think I am already in that group will take a look.) 
Thanks for all your great work.
Tim 
VK3TIM




Re: USPR and GPIO (4 wire analog interface) to P25 #mmdvm_bridge #analog_bridge

Steve N4IRS
 

Tim,
Can you share more info on what you have done? I think we may have some drivers you might want to look at. Join us at <https://dvswitch.groups.io/g/DVSwitch-ASL> where we are customizing ASL for DVSwitch.

73, Steve N4IRS

On 1/23/20 7:04 AM, Tim VK3TIM wrote:
To answer my own question and in case anyone else is interested I have successfully implemented this idea using Allstar node with 2x nodes first node is using modified Pi GPIO SimpleUSB driver and  second node is USRP to Analog Bridge to P25 Gateway - (In fact any digital modes to Analog Bridge) now to setup a User front end to control the modes via a web-page....
Or can this be done using DTMF to Allstar nodes....
Cheers
VK3TIM


Re: USPR and GPIO (4 wire analog interface) to P25 #mmdvm_bridge #analog_bridge

 

To answer my own question and in case anyone else is interested I have successfully implemented this idea using Allstar node with 2x nodes first node is using modified Pi GPIO SimpleUSB driver and  second node is USRP to Analog Bridge to P25 Gateway - (In fact any digital modes to Analog Bridge) now to setup a User front end to control the modes via a web-page....
Or can this be done using DTMF to Allstar nodes....
Cheers
VK3TIM


Re: mmdbm_bridge segfault

Steve N4IRS
 

Sure, Happy to help.

Steve

On 1/22/20 10:32 PM, davek wrote:
Everything is working great. Thanks Steve!


Re: mmdbm_bridge segfault

davek
 

Everything is working great. Thanks Steve!


Re: DVSwitch Server instructions refresh

Steve N4IRS
 

Ken,
Best I can say right now is soon. Joe is working on it.

Steve N4IRS

On 1/22/20 10:05 PM, Ken, K6EFJ wrote:
Any idea when the updated pdf for
 (https://dvswitch.groups.io/g/Mobile/files/Mobile%20DVSwitch%200725.pdf) with dvswitch.sh will be available?
Thanks,
Ken Smith K6EFJ 


Re: DVSwitch Server instructions refresh

Ken, K6EFJ
 

Any idea when the updated pdf for
 (https://dvswitch.groups.io/g/Mobile/files/Mobile%20DVSwitch%200725.pdf) with dvswitch.sh will be available?
Thanks,
Ken Smith K6EFJ 


Re: mmdbm_bridge segfault

Steve N4IRS
 

OK, That make sense. you need to replace the binary with this <https://github.com/DVSwitch/MMDVM_Bridge/raw/master/bin/MMDVM_Bridge.armv6l>
You can rename it to MMDVM_Bridge.

Steve

On 1/22/20 9:52 PM, davek wrote:
Thanks for the timely response to this. So i am getting new information from my boots on the ground... its a raspberry pi ZERO. So im not even sure thats even supported hardware? relevant info below:


pi@p25nx-pi:~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 997.08
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 920093
Serial : 00000000e8c67cda

at /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 8 (jessie)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“8”
VERSION=“8 (jessie)”
ID=raspbian
ID_LIKE=debian


Re: mmdbm_bridge segfault

davek
 

Thanks for the timely response to this. So i am getting new information from my boots on the ground... its a raspberry pi ZERO. So im not even sure thats even supported hardware? relevant info below:


pi@p25nx-pi:~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 997.08
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 920093
Serial : 00000000e8c67cda

at /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 8 (jessie)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“8”
VERSION=“8 (jessie)”
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/”
SUPPORT_URL=“http://www.raspbian.org/RaspbianForums”
BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs”


Re: mmdbm_bridge segfault

Steve N4IRS
 

OK,
If you can show me the output of uname -a and cat /etc/debian_version that might help. I tested it on a Buster Lite image without errors. I'm burning a Stretch now.

Steve

On 1/22/20 9:24 PM, davek wrote:
Its a pi running one of the p25nx images. Trying to get it switched over. I believe its a pi3 but i am checking on that now. It is the /opt/MMDVM_Bridge/MMDVM_Bridge executable, the latest one on avail today via apt-get. 


Re: mmdbm_bridge segfault

Steve N4IRS
 

hmm, OK, let me do some checking...

On 1/22/20 9:24 PM, davek wrote:
Its a pi running one of the p25nx images. Trying to get it switched over. I believe its a pi3 but i am checking on that now. It is the /opt/MMDVM_Bridge/MMDVM_Bridge executable, the latest one on avail today via apt-get. 


Re: mmdbm_bridge segfault

davek
 

Its a pi running one of the p25nx images. Trying to get it switched over. I believe its a pi3 but i am checking on that now. It is the /opt/MMDVM_Bridge/MMDVM_Bridge executable, the latest one on avail today via apt-get. 


Re: mmdbm_bridge segfault

Steve N4IRS
 

Which Pi?
Which Binary?
Which OS?

Steve N4IRS

On 1/22/20 9:11 PM, davek wrote:
So trying to get dvswitch setup on a pi. Getting a seg fault immediately after running the mmdvm-bridge binary. Command line options make no difference. Any Ideas? Tried a fresh install with the factory ini. No change.


mmdbm_bridge segfault

davek
 

So trying to get dvswitch setup on a pi. Getting a seg fault immediately after running the mmdvm-bridge binary. Command line options make no difference. Any Ideas? Tried a fresh install with the factory ini. No change.

4001 - 4020 of 9775