Date   

Re: AMBED

Ken KE2N
 


Analog Bridge Version 1.1 Wed May 30 15:46:26 EDT 2018

latency is still at 16



Re: AMBED

Steve N4IRS
 

Each copy of Analog_Bridge can only use one Vocoder. So, for USB1 you will have a second copy of Analog_Bridge.
These lines are meaningless and should be gone.
W: 2018-07-24 18:24:22.584 ioctl reset error
W: 2018-07-24 18:24:22.584 ioctl speed error
W: 2018-07-24 18:24:22.584 ioctl stereo error
W: 2018-07-24 18:24:22.584 ioctl setfmt error

I thought they were removed in the current version of AB. I suggest a apt-get update and a apt-get upgrade.

The line I'm most concerned about is:
M: 2018-07-24 18:24:22.631 DV3000 latency is currently set to 16

You want this at 1.
echo 1 > /sys/bus/usb-serial/devices/ttyUSB0/latency_timer

Verify it is now at 1:
cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer

Steve N4IRS

On 7/24/2018 2:42 PM, Ken KE2N via Groups.Io wrote:
I am building DV switch on the same box where I was experimenting with XLX - so the device was already there.  Initially I got some audio to pass from DMR to analog and it sounded kind of "muddy" so I thought I would give the hardware a try.  I may want DSTAR in this too so I would have some hardware transcoding in any case.

I unplugged the 6 channel device and plugged in two ThumDV's. They appear as /dev/ttyUSB0 and /dev/ttyUSB1.
I modified the ini file and have this startup (below) -
>> are the error messages anything to worry about?
>> do I need to add a line for USB1 ?


M: 2018-07-24 18:24:22.584 Setting [DV3000] address -> /dev/ttyUSB0
M: 2018-07-24 18:24:22.584 Setting [DV3000] baud -> 460800
M: 2018-07-24 18:24:22.584 Setting [DV3000] serial -> true
W: 2018-07-24 18:24:22.584 ioctl reset error
W: 2018-07-24 18:24:22.584 ioctl speed error
W: 2018-07-24 18:24:22.584 ioctl stereo error
W: 2018-07-24 18:24:22.584 ioctl setfmt error
M: 2018-07-24 18:24:22.584 Audio In/Out Device: /dev/null
I: 2018-07-24 18:24:22.584 Open UDP listener on 127.0.0.1:31100
I: 2018-07-24 18:24:22.584 Open USRP on 127.0.0.1:32001
M: 2018-07-24 18:24:22.584 Connecting to DV3000 hardware......
M: 2018-07-24 18:24:22.631 Begin DV3000 decode
M: 2018-07-24 18:24:22.631 DV3000 latency is currently set to 16




Re: AMBED

Ken KE2N
 

I am building DV switch on the same box where I was experimenting with XLX - so the device was already there.  Initially I got some audio to pass from DMR to analog and it sounded kind of "muddy" so I thought I would give the hardware a try.  I may want DSTAR in this too so I would have some hardware transcoding in any case.

I unplugged the 6 channel device and plugged in two ThumDV's. They appear as /dev/ttyUSB0 and /dev/ttyUSB1.
I modified the ini file and have this startup (below) -
>> are the error messages anything to worry about?
>> do I need to add a line for USB1 ?


M: 2018-07-24 18:24:22.584 Setting [DV3000] address -> /dev/ttyUSB0
M: 2018-07-24 18:24:22.584 Setting [DV3000] baud -> 460800
M: 2018-07-24 18:24:22.584 Setting [DV3000] serial -> true
W: 2018-07-24 18:24:22.584 ioctl reset error
W: 2018-07-24 18:24:22.584 ioctl speed error
W: 2018-07-24 18:24:22.584 ioctl stereo error
W: 2018-07-24 18:24:22.584 ioctl setfmt error
M: 2018-07-24 18:24:22.584 Audio In/Out Device: /dev/null
I: 2018-07-24 18:24:22.584 Open UDP listener on 127.0.0.1:31100
I: 2018-07-24 18:24:22.584 Open USRP on 127.0.0.1:32001
M: 2018-07-24 18:24:22.584 Connecting to DV3000 hardware......
M: 2018-07-24 18:24:22.631 Begin DV3000 decode
M: 2018-07-24 18:24:22.631 DV3000 latency is currently set to 16



Re: AMBED

Matthew 2E0SIP
 

My fork of AMBEServer will *possibly* get a 3003 working with Analog_bridge, but only a single channel, which is a bit of a waste - https://github.com/marrold/AMBEServer
 
If it doesn't work, I'd be interested in getting it working by exposing each transcoder as a separate socket, but I have a project due in a month and not enough hours in the day, and Id have to check its possible 
 


Re: AMBED

Steve N4IRS
 

Ken,
This begs the questions:
How many bridges that you are planning will need a Vocoder (Remember you will need 2 for transcoding)
How many bridges that you are planning will involve D-Star

The only mode that will benefit from a HW Vocoder is D-Star. All other modes can be done in SW.

Hope this helps.

Steve N4IRS

On 7/24/2018 11:51 AM, Ken KE2N via Groups.Io wrote:
OK - thanks for that. But apparently I do not need AMBEserver if the device is a ThumbDV.

Can AMBEserver talk to the 6-channel device? if so, what does the config file look like?


Re: AMBED

 

No AMBEserver does not support the 3006 -- ambed is the current solution and is only used by the xlx reflector system.

On Tue, Jul 24, 2018 at 8:51 AM, Ken KE2N via Groups.Io <ke2n@...> wrote:
OK - thanks for that. But apparently I do not need AMBEserver if the device is a ThumbDV.

Can AMBEserver talk to the 6-channel device? if so, what does the config file look like?



--


John D. Hays
Edmonds, WA
K7VE

   


Re: AMBED

Ken KE2N
 

OK - thanks for that. But apparently I do not need AMBEserver if the device is a ThumbDV.

Can AMBEserver talk to the 6-channel device? if so, what does the config file look like?


Re: AMBED

 


On Mon, Jul 23, 2018, 19:59 Ken KE2N via Groups.Io <ke2n=cs.com@groups.io> wrote:
ok... - while waiting for somebody who knows the answer to that, what is the approved method?  Do I plug in the ThumbDV's and install AMBEServer? and where do I find that program (for a conventional machine not a raspberry pi).

Thanks again


Re: AMBED

Steve N4IRS
 

You don't have to use AMBEServer. Analog_Bridge will use a thumbdv directly


Re: AMBED

Ken KE2N
 

ok... - while waiting for somebody who knows the answer to that, what is the approved method?  Do I plug in the ThumbDV's and install AMBEServer? and where do I find that program (for a conventional machine not a raspberry pi).

Thanks again


Re: AMBED

Steve N4IRS
 

Ken,
You are in uncharted waters. We have no experience with the 6 channel device. If AMBED emulates AMBEServer that might work. 

On 07/23/2018 09:52 PM, Ken KE2N via Groups.Io wrote:
can someone help  me with instructions to use the NW Digital 6-channel device with Analog Bridge?  I have AMBED on the same machine as my DVSwitch install and have used it with XLXD so I know that it works.  Will analog bridge talk to the 6-channel USB device directly, or do I run AMBED and set some port numbers accordingly?   If the 6 channel device is out of the question, I do have a pair of ThumbDV's that could be pressed into service.

Thanks
Ken


Re: DMR to DSTAR

Steve N4IRS
 

Those commands are not valid with Analog_Bridge.

On 07/23/2018 10:07 PM, Mike, AA9VI via Groups.Io wrote:
Steve,
Can you issue the following commands and post the output?
uhd_usrp_probe
uhd_find_devices
I am getting "No UHD Devices Found" and that may be the problem with all of this...

Here is my reference: https://kb.ettus.com/Verifying_the_Operation_of_the_USRP_Using_UHD_and_GNU_Radio


Re: DMR to DSTAR

Mike, AA9VI
 

Steve,
Can you issue the following commands and post the output?
uhd_usrp_probe
uhd_find_devices
I am getting "No UHD Devices Found" and that may be the problem with all of this...

Here is my reference: https://kb.ettus.com/Verifying_the_Operation_of_the_USRP_Using_UHD_and_GNU_Radio


AMBED

Ken KE2N
 

can someone help  me with instructions to use the NW Digital 6-channel device with Analog Bridge?  I have AMBED on the same machine as my DVSwitch install and have used it with XLXD so I know that it works.  Will analog bridge talk to the 6-channel USB device directly, or do I run AMBED and set some port numbers accordingly?   If the 6 channel device is out of the question, I do have a pair of ThumbDV's that could be pressed into service.

Thanks
Ken


Re: Allstarlink dvswitch raspberry pi 3 b+

Mike KB8JNM
 

The instructions are the same as a pc.

https://docs.google.com/document/d/1eN50Csr29eAprBu7eKA0Bfa2XUcsXw5iktY1Ey-Qjkg/edit


But if this was a fresh pi image, you need to do this first...

http://dvswitch.org/files/ASL_Images/Raspberry_Pi/Stretch/ASL_1.01-20180228-armhf-raspbian-stretch-image.readme

If you did not, you might want to start with a fresh image.

...mike/kb8jnm


On 07/22/2018 04:54 AM, m0tfg@... wrote:
Hi i get stuck because some of the commands are not working. maybe someone can help me to figure out how to make it work. i am trying to install asl dmr bridge on raspberry pi 3 B+
and i not that expert, im just trying to follow those step by step instructions. many thanks in advance... 73



Re: Allstarlink dvswitch raspberry pi 3 b+

Ken KE2N
 

looks like you are starting with the hamvoip version of all star.
this is the wrong starting point.
you need to start with ASL http://dvswitch.org/files/ASL_Images/Raspberry_Pi/Stretch/


Allstarlink dvswitch raspberry pi 3 b+

Dennis Ramos
 

Hi i get stuck because some of the commands are not working. maybe someone can help me to figure out how to make it work. i am trying to install asl dmr bridge on raspberry pi 3 B+
and i not that expert, im just trying to follow those step by step instructions. many thanks in advance... 73


Re: dvswich.ini

Paul Nannery KC2VRJ
 

thank you that worked. I'm not sure why it did not work directly in the main script but your method works thank you for the help.

On Sat, Jul 21, 2018 at 5:32 PM, Steve N4IRS <szingman@...> wrote:
create a small script, call it bridge.sh

cd /opt/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

Then run:
screen -d -m -S MMDVM /path/to/bridge.sh


On 07/21/2018 05:26 PM, Paul Nannery KC2VRJ wrote:
here is what I'm trying to do maybe im reinventing the wheel a little bit but I was looking for one script to start everything I'm looking for in one script and named screens.

#!/bin/bash
############################
#Kill any running reflector#
############################
killall YSFReflector
killall NXDNReflector
killall P25Reflector
killall Analog_Bridge
killall MMDVM_Bridge

##################
#Start Reflectors#
##################
screen -d -m -S YSFReflector /opt/YSFReflector/YSFReflector /opt/YSFReflector/YSFReflector.ini
screen -d -m -S NXDNReflector /opt/NXDNReflector/NXDNReflector /opt/NXDNReflector/NXDNReflector.ini
screen -d -m -S P25Reflector /opt/P25Reflector/P25Reflector /opt/P25Reflector/P25Reflector.ini
##############
#Bridge Start#
##############
screen -d -m -S Bridge /opt/Analog_Bridge/Analog_Bridge   /opt/Analog_Bridge/Analog_Bridge.ini

cd /opt/MMDVM_Bridge/
screen -d -m -S MMDVM /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

#end

however it still looks for the DVswich.ini 


On Sat, Jul 21, 2018 at 5:14 PM, Steve N4IRS <szingman@...> wrote:
In you script change directory to where MMDVM_Bridge and DVSwitch.ini are or use the existing systemd unit /lib/systemd/system/mmdvm_bridge.system
systemctl start mmdvm_bridge
systemctl status mmdvm_bridge
systemctl stop mmdvm_bridge

Steve n4IRS

On 07/21/2018 05:05 PM, Paul Nannery KC2VRJ wrote:
Ok guys I am making a script to start my bridge however MMDVM_Bridge sails as it can not find Dvswich.ini how can I get around this . 





Re: dvswich.ini

Steve N4IRS
 

create a small script, call it bridge.sh

cd /opt/MMDVM_Bridge
/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

Then run:
screen -d -m -S MMDVM /path/to/bridge.sh


On 07/21/2018 05:26 PM, Paul Nannery KC2VRJ wrote:
here is what I'm trying to do maybe im reinventing the wheel a little bit but I was looking for one script to start everything I'm looking for in one script and named screens.

#!/bin/bash
############################
#Kill any running reflector#
############################
killall YSFReflector
killall NXDNReflector
killall P25Reflector
killall Analog_Bridge
killall MMDVM_Bridge

##################
#Start Reflectors#
##################
screen -d -m -S YSFReflector /opt/YSFReflector/YSFReflector /opt/YSFReflector/YSFReflector.ini
screen -d -m -S NXDNReflector /opt/NXDNReflector/NXDNReflector /opt/NXDNReflector/NXDNReflector.ini
screen -d -m -S P25Reflector /opt/P25Reflector/P25Reflector /opt/P25Reflector/P25Reflector.ini
##############
#Bridge Start#
##############
screen -d -m -S Bridge /opt/Analog_Bridge/Analog_Bridge   /opt/Analog_Bridge/Analog_Bridge.ini

cd /opt/MMDVM_Bridge/
screen -d -m -S MMDVM /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

#end

however it still looks for the DVswich.ini 


On Sat, Jul 21, 2018 at 5:14 PM, Steve N4IRS <szingman@...> wrote:
In you script change directory to where MMDVM_Bridge and DVSwitch.ini are or use the existing systemd unit /lib/systemd/system/mmdvm_bridge.system
systemctl start mmdvm_bridge
systemctl status mmdvm_bridge
systemctl stop mmdvm_bridge

Steve n4IRS

On 07/21/2018 05:05 PM, Paul Nannery KC2VRJ wrote:
Ok guys I am making a script to start my bridge however MMDVM_Bridge sails as it can not find Dvswich.ini how can I get around this . 




Re: dvswich.ini

Paul Nannery KC2VRJ
 

here is what I'm trying to do maybe im reinventing the wheel a little bit but I was looking for one script to start everything I'm looking for in one script and named screens.

#!/bin/bash
############################
#Kill any running reflector#
############################
killall YSFReflector
killall NXDNReflector
killall P25Reflector
killall Analog_Bridge
killall MMDVM_Bridge

##################
#Start Reflectors#
##################
screen -d -m -S YSFReflector /opt/YSFReflector/YSFReflector /opt/YSFReflector/YSFReflector.ini
screen -d -m -S NXDNReflector /opt/NXDNReflector/NXDNReflector /opt/NXDNReflector/NXDNReflector.ini
screen -d -m -S P25Reflector /opt/P25Reflector/P25Reflector /opt/P25Reflector/P25Reflector.ini
##############
#Bridge Start#
##############
screen -d -m -S Bridge /opt/Analog_Bridge/Analog_Bridge   /opt/Analog_Bridge/Analog_Bridge.ini

cd /opt/MMDVM_Bridge/
screen -d -m -S MMDVM /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

#end

however it still looks for the DVswich.ini 


On Sat, Jul 21, 2018 at 5:14 PM, Steve N4IRS <szingman@...> wrote:
In you script change directory to where MMDVM_Bridge and DVSwitch.ini are or use the existing systemd unit /lib/systemd/system/mmdvm_bridge.system
systemctl start mmdvm_bridge
systemctl status mmdvm_bridge
systemctl stop mmdvm_bridge

Steve n4IRS

On 07/21/2018 05:05 PM, Paul Nannery KC2VRJ wrote:
Ok guys I am making a script to start my bridge however MMDVM_Bridge sails as it can not find Dvswich.ini how can I get around this . 


7881 - 7900 of 9810