Date   

dsdcc

Steve <kb9mwr@...>
 

There is a new C++ rewrite of dsd, the digital speech decoder, that can decode P25, DMR, D-Star etc. It's called dsdcc ( https://github.com/f4exb/dsdcc ) It also supports doing the decoding with a AMBE hardware dongle.

Wondering if anyone has tried it? I recently tried giving it a go on a Raspberry Pi 2 (not sure that will have enough snot), but ran into endless problems with dsdcc and its output to the pi sound. I get "Error writing to output" when when I try and tell it to use-o ( Audio output device) hw:0,0 .  Same error after I install alsa-oss and do the modprobe to enable /dev/dsp.

The prior version of dsd supports port audio, this one doesn't appear to.

pi@raspberrypi:~ $ dsdccx -help
DSDDstar::reset_header_strings
DSDDecoder::resetFrameSync: symbol 0 (0)
Digital Speech Decoder DSDcc

Usage:
  dsd [options] Live scanner mode
  dsd -h        Show help

Display Options:
  -e            Show Frame Info and errorbars (default)
  -pe           Show P25 encryption sync bits - not supported
  -pl           Show P25 link control bits - not supported
  -ps           Show P25 status bits and low speed data - not supported
  -pt           Show P25 talkgroup info - not supported
  -q            Don't show Frame Info/errorbars
  -t            Show symbol timing during sync
  -v <num>      Frame information Verbosity

Input/Output options:
  -i <device>   Audio input device (default is /dev/audio, - for piped stdin)
  -o <device>   Audio output device (default is /dev/audio, - for stdout)
  -g <num>      Audio output gain (default = 0 = auto, disable = -1)
  -U <num>      Audio output upsampling
                0: no upsampling (8k) default
                6: normal upsampling to 48k
                7: 7x upsampling to trade audio drops against bad audio quality
  -n            Do not send synthesized speech to audio output device
  -L <filename> Log messages to file with file name <filename>. Default is stderr
                If file name is invalid messages will go to stderr
  -D <device>   Use DVSI AMBE3000 based device for AMBE decoding (e.g. ThumbDV)
                You must have compiled with serialDV support (see Readme.md)
                Device name is the corresponding TTY USB device e.g /dev/ttyUSB0

Scanner control options:
  -R <num>      Resume scan after <num> TDULC frames or any PDU or TSDU

Decoder options:
  -d <num>      Set data rate:
     0          2400 bauds
     1          4800 bauds (default)
     2          9800 bauds
  -fa           Auto-detect frame type (default)
  -fr           Decode only DMR/MOTOTRBO
  -fd           Decode only D-STAR
  -fm           Decode only DPMR Tier 1 or 2 (6.25 kHz)
  -fy           Decode only YSF
  -fi           Decode only NXDN48 (6.25 kHz) / IDAS* - detection only
  -fn           Decode only NXDN96 (12.5 kHz)  - detection only
  -f1           Decode only P25 Phase 1 - not supported
  -fp           Decode only ProVoice - not supported
  -fx           Decode only X2-TDMA - not supported
  -T <num>      TDMA slots processed:
     0          none
     1          slot #1 (default) use this one for FDMA
     2          slot #2
     3          slots #1+2 mixed
  -l            Disable matched filter
  -pu           Unmute Encrypted P25 - not supported
  -u <num>      Unvoiced speech quality (default=3)

pi@raspberrypi:~ $


Re: dsdcc

 

On Mon, Jan 2, 2017 at 3:31 PM, Steve via Groups.Io <kb9mwr@...> wrote:

There is a new C++ rewrite of dsd, the digital speech decoder, that can decode P25, DMR, D-Star etc. It's called dsdcc ( https://github.com/f4exb/dsdcc ) It also supports doing the decoding with a AMBE hardware dongle.


--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Re: dsdcc

Steve <kb9mwr@...>
 

Some things I have noticed; Apparently you need the mbe library even if you use a AMBE dongle... I wasn't able to get around this dependency.  On the other side of the coin, apparently you also need to build serialDV even if you don't use it. 

We were able to get dsdccx to work with the NW digital dongle. But not without, as we get the "Error writing to output" repeatedly if not using the ambe3000 dongle.

And lastly I don't know if its just me but RTL devices on the Pi seem temperamental, as I get PLL not locked often.  Wonder if its related to no real time clock or something.

Here is a basic guide. 

http://www.qsl.net/kb9mwr/projects/dv/pi-rtl-dsd-experiments.pdf





DStar Tinkering

Rob Ogilvie (K8AXE) <rob@...>
 

Howdy!


I play around on 2m packet a fair bit and am interested in checking out what DStar has to offer.  I'm always interested in means of getting MOAR SPEED out of these rigs.  


Is the PiDV plus my existing RPi2 boards a good option to dig in and start tinkering?  There are a few DStar repeaters around me.  I have two 2m/70cm FM-only radios and am not sure from the documentation how the PiDV interfaces with them or if it's a transmitter itself?


Is there a good starter document out there?


73s!

K8AXE / Rob


Re: DStar Tinkering

 

Hi Rob,

The PiDV and ThumbDV are AMBE encoder/decoder devices and don't have anything to do with RF directly.  You can  get on the D-STAR network with them using software on your computer and connecting via the Internet.  The Wiki is a good start.  https://nw-digital-radio.groups.io/g/ambe/wiki/AMBE-Devices

Unless you are building a dedicated AMBEserver on a Pi, the ThumbDV is more flexible since it can plug into the USB port on a variety of computers.  https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum

John


On Tue, Jan 24, 2017 at 11:09 AM, Rob Ogilvie (K8AXE) <rob@...> wrote:

Howdy!


I play around on 2m packet a fair bit and am interested in checking out what DStar has to offer.  I'm always interested in means of getting MOAR SPEED out of these rigs.  


Is the PiDV plus my existing RPi2 boards a good option to dig in and start tinkering?  There are a few DStar repeaters around me.  I have two 2m/70cm FM-only radios and am not sure from the documentation how the PiDV interfaces with them or if it's a transmitter itself?


Is there a good starter document out there?


73s!

K8AXE / Rob




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


AMBEserver setup issues

Abbot Carder
 

Hello, 

I am a newbie to linux and setting up my rasbperry pi 3 and my NWDR DV3000 board. I am using the Compass load and have followed all the steps so far but keep getting this error and not sure what I am doing wrong. I was wondering if I could get some help or at least pointed in the right direction. 

pi@compass01:/etc/opendv $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: inactive (dead)

pi@compass01:/etc/opendv $ sudo systemctl start ambeserver@...

Job for ambeserver@... failed. See 'systemctl status ambeserver@...' and 'journalctl -xn' for details.

pi@compass01:/etc/opendv $ 



Thanks for any help. 

--
73 Ke8bts Abbot


Re: AMBEserver setup issues

 

Do you have a PiDV (plugs onto a Raspberry Pi Header) or ThumbDV  (DV3000 could be either)?


Note it looks like you are trying to turn on ttySO (letter capital 'O'), the last character is the number 0 as in ttyS0 

On Sat, Feb 4, 2017 at 1:45 PM, <ke8bts@...> wrote:

Hello, 

I am a newbie to linux and setting up my rasbperry pi 3 and my NWDR DV3000 board. I am using the Compass load and have followed all the steps so far but keep getting this error and not sure what I am doing wrong. I was wondering if I could get some help or at least pointed in the right direction. 

pi@compass01:/etc/opendv $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: inactive (dead)

pi@compass01:/etc/opendv $ sudo systemctl start ambeserver@...

Job for ambeserver@... failed. See 'systemctl status ambeserver@...' and 'journalctl -xn' for details.

pi@compass01:/etc/opendv $ 



Thanks for any help. 

--
73 Ke8bts Abbot

_._,_._,_





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Re: AMBEserver setup issues

Abbot Carder
 

John,

It is a DV3000 pic header. 

Also thanks for the info on the not O but 0. Makes more sense. I will give it a try. 

Abbot

On Saturday, February 4, 2017, 17:20, John D Hays - K7VE <john@...> wrote:

Do you have a PiDV (plugs onto a Raspberry Pi Header) or ThumbDV  (DV3000 could be either)?


Note it looks like you are trying to turn on ttySO (letter capital 'O'), the last character is the number 0 as in ttyS0 

On Sat, Feb 4, 2017 at 1:45 PM, <ke8bts@...> wrote:

Hello, 

I am a newbie to linux and setting up my rasbperry pi 3 and my NWDR DV3000 board. I am using the Compass load and have followed all the steps so far but keep getting this error and not sure what I am doing wrong. I was wondering if I could get some help or at least pointed in the right direction. 

pi@compass01:/etc/opendv $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ ambeserver@.service; enabled)

   Active: inactive (dead)

pi@compass01:/etc/opendv $ sudo systemctl start ambeserver@...

Job for ambeserver@... failed. See 'systemctl status ambeserver@...' and 'journalctl -xn' for details.

pi@compass01:/etc/opendv $ 



Thanks for any help. 

--
73 Ke8bts Abbot


--
73 Ke8bts Abbot


Re: AMBEserver setup issues

Abbot Carder
 

Thanks for all your help John. I believe I have my system up and running. 

73, 

On Saturday, February 4, 2017, 20:31, Abbot Carder <ke8bts@...> wrote:

John,

It is a DV3000 pic header. 

Also thanks for the info on the not O but 0. Makes more sense. I will give it a try. 

Abbot



Sent from Yahoo Mail for iPhone

On Saturday, February 4, 2017, 17:20, John D Hays - K7VE <john@...> wrote:

Do you have a PiDV (plugs onto a Raspberry Pi Header) or ThumbDV  (DV3000 could be either)?


Note it looks like you are trying to turn on ttySO (letter capital 'O'), the last character is the number 0 as in ttyS0 

On Sat, Feb 4, 2017 at 1:45 PM, <ke8bts@...> wrote:

Hello, 

I am a newbie to linux and setting up my rasbperry pi 3 and my NWDR DV3000 board. I am using the Compass load and have followed all the steps so far but keep getting this error and not sure what I am doing wrong. I was wondering if I could get some help or at least pointed in the right direction. 

pi@compass01:/etc/opendv $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ ambeserver@.service; enabled)

   Active: inactive (dead)

pi@compass01:/etc/opendv $ sudo systemctl start ambeserver@...

Job for ambeserver@... failed. See 'systemctl status ambeserver@...' and 'journalctl -xn' for details.

pi@compass01:/etc/opendv $ 



Thanks for any help. 

--
73 Ke8bts Abbot


--
73 Ke8bts Abbot

--
73 Ke8bts Abbot


Ambeserver setup issues

Abbot Carder
 

Hello,

I am having issues while following the instructions on this page. I am using the suggested develop of load. Every time I get to the test I get this error message. I am not sure what I am doing wrong or not doing.



Thanks for any help.


73


Ke8bts Abbot  

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: failed (Result: exit-code) since Fri 2017-02-03 12:50:27 UTC; 21s ago

  Process: 1025 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=1/FAILURE)


Feb 03 12:50:27 compass chgrp[1025]: /bin/chgrp: cannot access ‘/dev/ttyUSB…tory

Feb 03 12:50:27 compass systemd[1]: ambeserver@...: control pro...=1

Feb 03 12:50:27 compass systemd[1]: Failed to start DV3000 Daemon.

Feb 03 12:50:27 compass systemd[1]: Unit ambeserver@... entered...e.

Feb 03 12:50:27 compass systemd[1]: Triggering OnFailure= dependencies of a...e.

Hint: Some lines were ellipsized, use -l to show in full.



ThumbDV used as an AMBE Server

TG9AOR
 

Hello Community. So as to check if I understand correctly, it is possible to insert the ThumbDV on a USB port on my Raspberry Pi 3 that has a DVMega installed. System is Compass Linux. So I may install AMBE Server as described in the Wiki, set it up as Repeater 2 on ircDDBGateway (Repeater 1 is the DVMega), and access it from wherever with my dummy repeater program on my personal device. Did I understand correctly?


Thanks.


Joe TG9AOR


Re: Ambeserver setup issues

 

What is the command you are using to start the AMBEserver?

Are you using a PiDV or ThumbDV?


On Fri, Feb 3, 2017 at 4:58 AM, Abbot Carder <ke8bts@...> wrote:

Hello,

I am having issues while following the instructions on this page. I am using the suggested develop of load. Every time I get to the test I get this error message. I am not sure what I am doing wrong or not doing.



Thanks for any help.


73


Ke8bts Abbot  

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: failed (Result: exit-code) since Fri 2017-02-03 12:50:27 UTC; 21s ago

  Process: 1025 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=1/FAILURE)


Feb 03 12:50:27 compass chgrp[1025]: /bin/chgrp: cannot access ‘/dev/ttyUSB…tory

Feb 03 12:50:27 compass systemd[1]: ambeserver@...: control pro...=1

Feb 03 12:50:27 compass systemd[1]: Failed to start DV3000 Daemon.

Feb 03 12:50:27 compass systemd[1]: Unit ambeserver@... entered...e.

Feb 03 12:50:27 compass systemd[1]: Triggering OnFailure= dependencies of a...e.

Hint: Some lines were ellipsized, use -l to show in full.





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Re: Ambeserver setup issues

Abbot Carder
 

Hi John 


I got it working. This was another post I posted the other day when I could not get my system to work. It can be closed. Working fine now. 

Thanks, 
Abbot

On Tue, Feb 7, 2017 at 19:28 John D Hays - K7VE <john@...> wrote:
What is the command you are using to start the AMBEserver?

Are you using a PiDV or ThumbDV?


On Fri, Feb 3, 2017 at 4:58 AM, Abbot Carder <ke8bts@...> wrote:

Hello,

I am having issues while following the instructions on this page. I am using the suggested develop of load. Every time I get to the test I get this error message. I am not sure what I am doing wrong or not doing.



Thanks for any help.


73


Ke8bts Abbot  

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)

   Active: failed (Result: exit-code) since Fri 2017-02-03 12:50:27 UTC; 21s ago

  Process: 1025 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=1/FAILURE)


Feb 03 12:50:27 compass chgrp[1025]: /bin/chgrp: cannot access ‘/dev/ttyUSB…tory

Feb 03 12:50:27 compass systemd[1]: ambeserver@...: control pro...=1

Feb 03 12:50:27 compass systemd[1]: Failed to start DV3000 Daemon.

Feb 03 12:50:27 compass systemd[1]: Unit ambeserver@... entered...e.

Feb 03 12:50:27 compass systemd[1]: Triggering OnFailure= dependencies of a...e.

Hint: Some lines were ellipsized, use -l to show in full.





--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

--
73 de KE8BTS Abbot Carder

--
73 Ke8bts Abbot


Re: ThumbDV used as an AMBE Server

 

Close -- AMBEserver talks to DummyRepeater (or Buster, ...) and DummyRepeater is what talks to ircddbgateway.

So the DummyRepeater will select the "DV3000 Network" and the IP/Port of the Raspberry Pi  and point to the ircddbgateway on the Raspberry Pi for linking, etc.

ircddbgateway on the raspberry pi will need to be configured for dummyrepeater to check in as a repeater (Repeater 2 in your example).

On Tue, Feb 7, 2017 at 4:21 PM, TG9AOR via Groups.Io <agroaviation@...> wrote:

Hello Community. So as to check if I understand correctly, it is possible to insert the ThumbDV on a USB port on my Raspberry Pi 3 that has a DVMega installed. System is Compass Linux. So I may install AMBE Server as described in the Wiki, set it up as Repeater 2 on ircDDBGateway (Repeater 1 is the DVMega), and access it from wherever with my dummy repeater program on my personal device. Did I understand correctly?


Thanks.


Joe TG9AOR




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Re: ThumbDV used as an AMBE Server

TG9AOR
 

Hi John. Enjoying the ThumbDV here. It got my attention on the possibility to use it from home.


So on my gateway I install AMBE server as per wiki and leave the ThumbDV inserted on a USB Port, configured with the UDP listening port and IP of 127.0.0.1 since it is on that RPi. On ircDDB I select for repeater 2 the ThumbDV with the default ports (127.0.0.1 IP & 20012)


On my laptop I select DV3000/Network, point it to the IP of my gateway and port of the AMBE Server configuration.



Am I correct?


Thanks for your reply, John.


Re: ThumbDV used as an AMBE Server

 

No --  The AMBEserver talks to DummyRepeater (nothing directly to do with ircDDBGateway).  DummyRepeater talks to ircDDBGateway.



AMBEserver <=== Network AMBE/Voice over UDP ====> DummyRepeater <===== IP to/from ircDDBGateway =====>

The two connections to DummyRepeater are separate and distinct.   DummyRepeater uses the AMBEserver to encode/decode voice to/from AMBE, it then transfers that AMBE to/from the ircDDBGateway which routes it over the Internet to other gateways and reflectors.

Work on the AMBEserver and DummyRepeater connection.  Once DummyRepeater is communicating with AMBEserver, then work on DummyRepeater to ircDDBGateway.

Think of DummyRepeater as equivalent to dstarrepeater (which talks to the DVMega and dstarrepeater talks to ircddbgateway), similarly dummyrepeater looks like another 'dstarrepeater' to ircddbgateway.  AMBEserver is just an encoder/decoder for DummyRepeater.

 

On Tue, Feb 7, 2017 at 4:38 PM, TG9AOR via Groups.Io <agroaviation@...> wrote:

Hi John. Enjoying the ThumbDV here. It got my attention on the possibility to use it from home.


So on my gateway I install AMBE server as per wiki and leave the ThumbDV inserted on a USB Port, configured with the UDP listening port and IP of 127.0.0.1 since it is on that RPi. On ircDDB I select for repeater 2 the ThumbDV with the default ports (127.0.0.1 IP & 20012)


On my laptop I select DV3000/Network, point it to the IP of my gateway and port of the AMBE Server configuration.



Am I correct?


Thanks for your reply, John.




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Re: ThumbDV used as an AMBE Server

 

http://nwdigitalradio.com/dv3000-ambeserver/notes-on-using-ambeserver-with-dummy-repeater/

Inline image 1

dummyrepeater will use the network address of the Raspberry Pi to reach the AMBEserver

dummyrepeater will also use the network address of the Raspberry Pi to reach ircddbgateway




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Xreflectors not linking.

Abbot Carder
 

I have not been able to get any of the xrefletors to link on my 3000 breakout board on my pi3. It says linking and then I get an error that it has failed to connect. 


Any thoughts or suggestions? 

--
73 Ke8bts Abbot


Re: ThumbDV used as an AMBE Server

TG9AOR
 

OK John, I will install and run and report back.


Thank you.


Re: ThumbDV used as an AMBE Server

TG9AOR
 

After apt-get update & apt-get upgrade, it encoutered 2 errors, bluez and pi-bluetooth.

I did install ambeserver, and got this:

Selecting previously unselected package ambeserver.
(Reading database ... 121687 files and directories currently installed.)
Preparing to unpack .../ambeserver_1.20160524-4_armhf.deb ...
Unpacking ambeserver (1.20160524-4) ...
Setting up bluez (5.23-2+rpi2) ...
Job for bluetooth.service failed. See 'systemctl status bluetooth.service' and '                                                                                        journalctl -xn' for details.
invoke-rc.d: initscript bluetooth, action "restart" failed.
dpkg: error processing package bluez (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pi-bluetooth:
 pi-bluetooth depends on bluez; however:
  Package bluez is not configured yet.

dpkg: error processing package pi-bluetooth (--configure):
 dependency problems - leaving unconfigured
Setting up ambeserver (1.20160524-4) ...
Changing initial uart clock rate in config.txt...
Created symlink from /etc/systemd/system/multi-user.target.wants/ambeserver@ttyA                                                                                        MA0.service to /lib/systemd/system/ambeserver@.service.
Errors were encountered while processing:
 bluez
 pi-bluetooth
E: Sub-process /usr/bin/dpkg returned an error code (1)

and got this....


pi@compass:/etc/opendv $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Wed 2017-02-08 02:54:53 UTC; 4min 4s                                                                                         ago
  Process: 533 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESER                                                                                        VER_FLAGS (code=exited, status=1/FAILURE)
  Process: 524 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCE                                                                                        SS)
  Process: 510 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SU                                                                                        CCESS)
 Main PID: 533 (code=exited, status=1/FAILURE)

Feb 08 02:54:12 compass systemd[1]: Started DV3000 Daemon.
Feb 08 02:54:12 compass AMBEserver[533]: AMBEserver: Starting...
Feb 08 02:54:12 compass AMBEserver[533]: AMBEserver: Opened serial port /dev....
Feb 08 02:54:53 compass AMBEserver[533]: AMBEserver: Couldn't find start byt...a
Feb 08 02:54:53 compass AMBEserver[533]: AMBEserver: error receiving respons...t
Feb 08 02:54:53 compass AMBEserver[533]: AMBEserver: Could not initialize th...!
Feb 08 02:54:53 compass systemd[1]: ambeserver@...: main proces...RE
Feb 08 02:54:53 compass systemd[1]: Unit ambeserver@... entered...e.
Feb 08 02:54:53 compass systemd[1]: Triggering OnFailure= dependencies of a...e.
Hint: Some lines were ellipsized, use -l to show in full.

will continue with the dummyrepeater part and will report back.