Date   
DV3000 one of the first boards and Pi 3

kb8pmy@...
 

So I have been running this on a raspberry pi one. That burned up a few weeks ago. I had to move the board to the pi 3. I have bluetooth turned off. It is raspbian headless. I can not get ambeserver to read the board on /dev/ttyAMA0. It says it can not find the start bit on the DV3K board. BUT the phyton script sends results back.

Re: Pi3;ThumbDV and Baofeng..

 

John,

There should be a site or two online that has this information, as I'm aware of a few people that use the BF-888 UHF radio for AllStar Link node radios. I can look for them.and post the links when I find them.

Matthew Pitts
N8OHU

On October 14, 2016 6:38:28 PM EDT, John Hays <@john_hays> wrote:
Hi Ian,

Cool experiment. DummyRepeater should be able to be keyed using a GPIO
line (I would have to dig through the code to see which one), in which
case
if you can detect squelch in the Baofeng and use it to key the GPIO
line,
you would have a basic COR operated system (better yet, if you could
find a
PL detect, use PL to key the PTT).



On Fri, Oct 14, 2016 at 3:22 PM, Ian <gm4upx@...> wrote:

Thought I'd share this;

Now that my ThumbDV is up and running and I'm getting good audio
reports I
thought I would " experiment " with some Baofeng radios. ( I like
them
because you can tear them to bits and if they don't work afterwards,
it's
no big deal. ).

OK, I have had two QSO's using the Baofeng radios and it's a
testament of
the ThumbDV that the audio reports are good.

I'm running CompassLinux with ircDDBGateway and DummyRepeater via Pi3
and
my ThumbDV linked ( ethernet ) to a 4G router and one Baofeng linked
to a
PI3 USB port; the other is used for tx/rx, a basic analogue bridge
really.

So far I haven't figured out how to get the over air PTT to work; I
am
presently clicking on the transmit button in DummyRepeater; rx from
the
Internet works OK. I suppose that's not a bad thing at the moment as
anyone transmitting on " my " frequency could appear on a connected
reflector under my callsign.

This " receive only " setup could be used to give others with
analogue
radios an opportunity to experience D-Star before taking the plunge,
or you
could set up your own Hotspot with a ThumbDV and two cheap radios.

Regards,

Ian..


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Pi3;ThumbDV and Baofeng..

Ian
 

Hello John,

I had a wire from pin 1 ( cos ) on the 8 legged chip in the 888 connected but it held the tx on, maybe I need to invert it ??  I think pin 3 on the Pi3 GPIO can be used as well. What really surprised me was the way the ThumbDV handled the audio from the Baofeng.  I'll start on the mark two model later..

Regards,

Ian..

Re: Pi3;ThumbDV and Baofeng..

 

Hi Ian,

Cool experiment.  DummyRepeater should be able to be keyed using a GPIO line (I would have to dig through the code to see which one), in which case if you can detect squelch in the Baofeng and use it to key the GPIO line, you would have a basic COR operated system (better yet, if you could find a PL detect, use PL to key the PTT).



On Fri, Oct 14, 2016 at 3:22 PM, Ian <gm4upx@...> wrote:

Thought I'd share this;

Now that my ThumbDV is up and running and I'm getting good audio reports I thought I would " experiment " with some Baofeng radios. ( I like them because you can tear them to bits and if they don't work afterwards, it's no big deal. ).

OK, I have had two QSO's using the Baofeng radios and it's a testament of the ThumbDV that the audio reports are good.

I'm running CompassLinux with ircDDBGateway and DummyRepeater via Pi3 and my ThumbDV linked ( ethernet ) to a 4G router and one Baofeng linked to a PI3 USB port; the other is used for tx/rx, a basic analogue bridge really.

So far I haven't figured out how to get the over air PTT to work; I am presently clicking on the transmit button in DummyRepeater; rx from the Internet works OK.  I suppose that's not a bad thing at the moment as anyone transmitting on " my " frequency could appear on a connected reflector under my callsign.

This " receive only " setup could be used to give others with analogue radios an opportunity to experience D-Star before taking the plunge, or you could set up your own Hotspot with a ThumbDV and two cheap radios.

Regards,

Ian..




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Pi3;ThumbDV and Baofeng..

Ian
 

Thought I'd share this;

Now that my ThumbDV is up and running and I'm getting good audio reports I thought I would " experiment " with some Baofeng radios. ( I like them because you can tear them to bits and if they don't work afterwards, it's no big deal. ).

OK, I have had two QSO's using the Baofeng radios and it's a testament of the ThumbDV that the audio reports are good.

I'm running CompassLinux with ircDDBGateway and DummyRepeater via Pi3 and my ThumbDV linked ( ethernet ) to a 4G router and one Baofeng linked to a PI3 USB port; the other is used for tx/rx, a basic analogue bridge really.

So far I haven't figured out how to get the over air PTT to work; I am presently clicking on the transmit button in DummyRepeater; rx from the Internet works OK.  I suppose that's not a bad thing at the moment as anyone transmitting on " my " frequency could appear on a connected reflector under my callsign.

This " receive only " setup could be used to give others with analogue radios an opportunity to experience D-Star before taking the plunge, or you could set up your own Hotspot with a ThumbDV and two cheap radios.

Regards,

Ian..


 

Re: PI3 and DV3000U

Ian
 

Yes I have; for my Direwolf " project ".  I currently have Direwolf running on a BBB and am looking to move that to a Pi and " speed up " from 1k2 to 9k6; I have a spare URIx, hence the reason for using it.

Regards,

Ian..


Re: PI3 and DV3000U

 

Glad to hear. Have you looked at the UDRC in lieu of the URI?


On Oct 11, 2016 08:46, "Ian" <gm4upx@...> wrote:

Hello,

I am pleased to report I am now up and running with CompassLinux ( GUI version ) and ThumbDV on the RP13.  Thanks for the help and suggestions.

My next move will be to CompassLinux ( no GUI ) and connect to a URI .

Regards,

Ian..

Re: PI3 and DV3000U

Ian
 

Hello,

I am pleased to report I am now up and running with CompassLinux ( GUI version ) and ThumbDV on the RP13.  Thanks for the help and suggestions.

My next move will be to CompassLinux ( no GUI ) and connect to a URI .

Regards,

Ian..

Re: Nother Newbie needs some help with set up of DV3000 to windows 10

Bruce Love <wb5noq@...>
 

OK, John, will check it out!...Thanks

Bruce 
WB5NOQ



On Sep 27, 2016, at 5:22 PM, John Hays <john@...> wrote:

It does run on Win 10 

Start here http://nwdigitalradio.com/thumbdv-and-dv3000-resource-page/

On Tue, Sep 27, 2016 at 2:52 PM, WB5NOQ-Bruce <wb5noq@...> wrote:

Purchased the Thumb-DV and trying to figure if it will work with Win 10.

Starting from scratch, and need some help!


Bruce

WB5NOQ




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Re: Nother Newbie needs some help with set up of DV3000 to windows 10

 

On Tue, Sep 27, 2016 at 2:52 PM, WB5NOQ-Bruce <wb5noq@...> wrote:

Purchased the Thumb-DV and trying to figure if it will work with Win 10.

Starting from scratch, and need some help!


Bruce

WB5NOQ



--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Nother Newbie needs some help with set up of DV3000 to windows 10

WB5NOQ-Bruce <wb5noq@...>
 

Purchased the Thumb-DV and trying to figure if it will work with Win 10.

Starting from scratch, and need some help!


Bruce

WB5NOQ

Re: Newbie needs some pointers

Thomas Edmonson
 

Thanks John..

I was thinking that I needed some type of sound card. I hadn’t thought of splitting dummy repeater from the gateway.


Thanks again.

On Sep 14, 2016, at 10:29 PM, John Hays <john@...> wrote:

Tom,

It took a minute to figure out what you were trying to do.  There is no 2-way soundcard on the Raspberry Pi, unless you add one, e.g. a USB headset or sound FOB.

If you are coming in from another computer, your better choice is to install DummyRepeater on your Windows box or Buster on your Mac, and access the AMBEserver over the network. (No VNC necessary -- if you are going to connect for a disply, you might want to use xrdp with Remote Desktop).

Buster doesn't require ircddb on the Mac, just point it at your Raspberry Pi with AMBEserver running (DV3000 network) https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum#Buster-for-MacOS

On Windows, put it at the AMBEserver (DV3000 Network) and point it the Raspberry Pi for ircddbgateway. https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum#DummyRepeater-for-Windows-or-Linux  


BTW, I will at DCC the next few days, so availability for support will be at a minimum.

On Wed, Sep 14, 2016 at 6:23 PM,  <tom@...> wrote:

I'm in the process of setting up the following and I needs some gaps in my understanding filled.


Here's the high level view:


1.    I have a Raspberry PI 3 with a DV3000.

2.    I loaded the following software:

        A. Compass

        B. IRCDDBGATEWAY

        C. Dummyrepeater

   What I want to do is to be able to VNC into my Raspberry with another PC or MAC and then using the remote device

enter the Dstar network. The Gateway seems to be functioning at some level. I see:

IRCDB = connected 

D-PRS= active

Repeater 1 = AG5GY  B Not Linked

Everything seems to be ok until I try to configure Dummy Repeater. When I try to configure it I only get "NONE" as a choice 

under the sound-card field.  It then won't let me save the config items I did change because the sound-card is not set

Any suggestions?






-- 


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   


Re: PI3 and DV3000U

Ian
 

Problem solved; I have an error with my ThumbDV.  I tried WinDV - it didn't recognise my ThumbDV; I tried Buster - it didn't recognise my ThumbDV; I have contacted my supplier.

Thanks for the pointers and info, I'll be up and running shortly.

Regards,

Ian..


Re: Newbie needs some pointers

 

Tom,

It took a minute to figure out what you were trying to do.  There is no 2-way soundcard on the Raspberry Pi, unless you add one, e.g. a USB headset or sound FOB.

If you are coming in from another computer, your better choice is to install DummyRepeater on your Windows box or Buster on your Mac, and access the AMBEserver over the network. (No VNC necessary -- if you are going to connect for a disply, you might want to use xrdp with Remote Desktop).

Buster doesn't require ircddb on the Mac, just point it at your Raspberry Pi with AMBEserver running (DV3000 network) https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum#Buster-for-MacOS

On Windows, put it at the AMBEserver (DV3000 Network) and point it the Raspberry Pi for ircddbgateway. https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum#DummyRepeater-for-Windows-or-Linux  


BTW, I will at DCC the next few days, so availability for support will be at a minimum.

On Wed, Sep 14, 2016 at 6:23 PM, <tom@...> wrote:

I'm in the process of setting up the following and I needs some gaps in my understanding filled.


Here's the high level view:


1.    I have a Raspberry PI 3 with a DV3000.

2.    I loaded the following software:

        A. Compass

        B. IRCDDBGATEWAY

        C. Dummyrepeater

   What I want to do is to be able to VNC into my Raspberry with another PC or MAC and then using the remote device

enter the Dstar network. The Gateway seems to be functioning at some level. I see:

IRCDB = connected

D-PRS= active

Repeater 1 = AG5GY  B Not Linked

Everything seems to be ok until I try to configure Dummy Repeater. When I try to configure it I only get "NONE" as a choice

under the sound-card field.  It then won't let me save the config items I did change because the sound-card is not set

Any suggestions?




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Newbie needs some pointers

Thomas Edmonson
 

I'm in the process of setting up the following and I needs some gaps in my understanding filled.


Here's the high level view:


1.    I have a Raspberry PI 3 with a DV3000.

2.    I loaded the following software:

        A. Compass

        B. IRCDDBGATEWAY

        C. Dummyrepeater

   What I want to do is to be able to VNC into my Raspberry with another PC or MAC and then using the remote device

enter the Dstar network. The Gateway seems to be functioning at some level. I see:

IRCDB = connected

D-PRS= active

Repeater 1 = AG5GY  B Not Linked

Everything seems to be ok until I try to configure Dummy Repeater. When I try to configure it I only get "NONE" as a choice

under the sound-card field.  It then won't let me save the config items I did change because the sound-card is not set

Any suggestions?

Re: PI3 and DV3000U

 

Please use the instructions at https://nw-digital-radio.groups.io/g/ambe/wiki/Installing-AMBEserver-on-a-Raspberry-Pi-and-ThumbDV%E2%84%A2 -- the Github instructions are out of date, though you could use the Python scripts for testing.  ambesockettest.py tests the server when it is up and running, the scripts on Github are for testing the port 'raw'.

On Wed, Sep 14, 2016 at 1:45 PM, Ian <gm4upx@...> wrote:

Hello Geoff,

Thanks for the pointers, I have gone through the download/setup etc with a fresh card and I am still experiencing a problem. It'll be something simple I imagine, perhaps because I am only running dummyrepeater, as an example. Incidentally my Pi3 card did not run on a Pi2B ; I'll keep looking.


Hello John,

I double checked the baud rate and I get an error ( wrong baud rate ) when I enter 460800 so my ThumbDV is an " old " one and it is at /dev/ttyUSB0

My first install was with Compass lite on which I had  Direwolf running; I followed the install instructions to use dl5di github and ambetest3.py ( maybe not the correct name as typing from memory <smile> ) responded correctly although dummyrepeater needed a GUI installed so I downloaded the Compass GUI.  I'm assuming the ambeserver runs on its own and doesn't need dummyrepeater, unfortunately I get no response when running python ambesocketest.py.

Regards,

Ian..




--


John D. Hays
K7VE

PO Box 1223, Edmonds, WA 98020-1223
   

Re: PI3 and DV3000U

Ian
 

Hello Geoff,

Thanks for the pointers, I have gone through the download/setup etc with a fresh card and I am still experiencing a problem. It'll be something simple I imagine, perhaps because I am only running dummyrepeater, as an example. Incidentally my Pi3 card did not run on a Pi2B ; I'll keep looking.


Hello John,

I double checked the baud rate and I get an error ( wrong baud rate ) when I enter 460800 so my ThumbDV is an " old " one and it is at /dev/ttyUSB0

My first install was with Compass lite on which I had  Direwolf running; I followed the install instructions to use dl5di github and ambetest3.py ( maybe not the correct name as typing from memory <smile> ) responded correctly although dummyrepeater needed a GUI installed so I downloaded the Compass GUI.  I'm assuming the ambeserver runs on its own and doesn't need dummyrepeater, unfortunately I get no response when running python ambesocketest.py.

Regards,

Ian..

Re: PI3 and DV3000U

 

From your error log, you are running at 230400 baud. If your ThumbDV is new, it runs at 460800.

Make sure it is at /dev/ttyUSB0 and modify the configuration as per https://nw-digital-radio.groups.io/g/ambe/wiki/AMBEserver-Addendum


On Sep 14, 2016 07:20, "Ian" <gm4upx@...> wrote:

Hello,

While I try and figure out were I have gone wrong I thought I'd post this just in case someone else has experienced it.

As you can see the ambeserver starts but falls over a few seconds later.

Regards,

Ian.. 


pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

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

   Active: active (running) since Wed 2016-09-14 14:56:17 BST; 3s ago

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@ttyUSB0.service

           └─1003 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

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

   Active: failed (Result: exit-code) since Wed 2016-09-14 14:56:50 BST; 1s ago

  Process: 1003 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (code=exited, status=1/FAILURE)


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Couldn't find start byte in serial data

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: error receiving response to reset

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Could not initialize the DV3K!

Sep 14 14:56:50 compass02 systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE

Sep 14 14:56:50 compass02 systemd[1]: Unit ambeserver@... entered failed state.

Sep 14 14:56:50 compass02 systemd[1]: Triggering OnFailure= dependencies of ambeserver@....


Re: PI3 and DV3000U

ne3k@...
 

Ian-

I had quite the time with a Pi3 and DV3000 board. This set of directions worked for me, and also worked for my friend I sent them to, KI7SI.

Best of luck, let me know how it goes.

73,

Geoff, NE3K



Ok, first thing:


You have to use the 'Compass' distro I have found.

Once you get that done:


then:

sudo apt-get install ircddbgateway ircddbgatewayd dummrepeater

sudo ircddbgatewayconfig

Under the Gateway tab, Type - Dongle; Callsign - KI7SI; Local HB Address - 127.0.0.1, then whatever you want to enter for your QTH.

Under the Repeater 1 Tab, Band - B (apparently on a dongle it doesn't matter); Type - Homebrew; Address - 127.0.0.1; Port 20011; Reflector - IF you want it to connect to a particular reflector at startup. I set mine to REF062C since that is what the local D-Star machine is on.

Under the ircddbgateway network 1 tab, set it for 'Enabled', 'rr.openquad.net', 'KI7SI'.

Under the ircddbgateway network 2 tab, set it for 'Enabled', 'ircddb.dstar.su', 'KI7SI'

Under the D-PRS Tab, D-PRS - Enabled; Hostname - rotate-aprs2.net; Port 14580

DExtra - Enabled; Max Dongles - 5

D-Plus - Enabled; Max Dongles - 5; Login - KI7SI

DCS and CCS - Both Enabled; Server - CCS704 worked for me

Don't do anything in the StarNet tabs

Remote - if you want to control it via an app on your phone, you need to set this up, otherwise you can leave it alone

Misc - English (US), enable all other settings


'Save' the settings under the 'File' menu.


 
 
When setting up dummyrepeater, you have to select 'DV3000 Network' and the set the loopback address under the 'Dongle' tab.
 
 
Callsign Tab - fill in your call. I put '3000' after the slash since I'm using the DV3000
 
Sound Card - select the headset for both
 
Dongle - Type - DV3000 Network; Device - none; Address 127.0.0.1; Port - 2460
 
Network - Gateway address - 127.0.0.1; Gateway Port - 20010; Local Address - 127.0.0.1; Local Port 20011
 
Controller and Timeout you can leave as is
 
Message - Whatever message you want to come up when you transmit.
 
 
 
 
To make the wlan0 and wireless work on the Pi3 with Compass, make sure your /etc/network/interfaces file looks like this:
 

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

 
 
 
To set a static IP with this setup, make sure /etc/dhcpcd.conf has this language with your settings at the end of the file:

Interface wlan0
static ip_address=xxx.xxx.xxx.xxx/24
static routers=xxx.xxx.xxx.xxx
static domain_name_servers=xxx.xxx.xxx.xxx




To get it to associate with your wireless, your /etc/wpa_supplicant/wpa_supplicant.conf file looks like this:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
ssid="[Your SSID]"
psk="[Your Password]"
key_mgmt=[Your Encryption Level]
}

 
sudo reboot
 
under 'Menu' go to 'Run' then 'sudo dummyrepeater' and 'sudo ircddbgateway'.
 
It will take a minute for it to get up and running. To connect to whatever reflector you want, in the 'UR' block type REFXXX[ABCD]CL, then switch back to 'CQCQCQ'. You should hear a connect message then a beep. 
 
After that, hit transmit and you should be cooking.
 
 
I have not been able to get ircddbgatewayd to run at startup automatically, but it works fine if I do it in a terminal window. Still waiting on an answer for that problem. Otherwise this should take care of getting it to work for you.
 
There is also a script/procedure for updating the DExtra hosts file, I have to dig that out for you.
 
 
Let me know if it works ok.
 
 
Geoff
 



From: "Ian" <gm4upx@...>
To: ambe@nw-digital-radio.groups.io
Sent: Wednesday, September 14, 2016 10:14:24 AM
Subject: [ambe] PI3 and DV3000U

Hello,

While I try and figure out were I have gone wrong I thought I'd post this just in case someone else has experienced it.

As you can see the ambeserver starts but falls over a few seconds later.

Regards,

Ian.. 


pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

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

   Active: active (running) since Wed 2016-09-14 14:56:17 BST; 3s ago

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...

           └─1003 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

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

   Active: failed (Result: exit-code) since Wed 2016-09-14 14:56:50 BST; 1s ago

  Process: 1003 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (code=exited, status=1/FAILURE)


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Couldn't find start byte in serial data

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: error receiving response to reset

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Could not initialize the DV3K!

Sep 14 14:56:50 compass02 systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE

Sep 14 14:56:50 compass02 systemd[1]: Unit ambeserver@... entered failed state.

Sep 14 14:56:50 compass02 systemd[1]: Triggering OnFailure= dependencies of ambeserver@....



PI3 and DV3000U

Ian
 

Hello,

While I try and figure out were I have gone wrong I thought I'd post this just in case someone else has experienced it.

As you can see the ambeserver starts but falls over a few seconds later.

Regards,

Ian.. 


pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

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

   Active: active (running) since Wed 2016-09-14 14:56:17 BST; 3s ago

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...

           └─1003 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

pi@compass02:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

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

   Active: failed (Result: exit-code) since Wed 2016-09-14 14:56:50 BST; 1s ago

  Process: 1003 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 999 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)

  Process: 995 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)

 Main PID: 1003 (code=exited, status=1/FAILURE)


Sep 14 14:56:17 compass02 systemd[1]: Started DV3000 Daemon.

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Starting...

Sep 14 14:56:17 compass02 AMBEserver[1003]: AMBEserver: Opened serial port /dev/ttyUSB0 at 230400 bps.

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Couldn't find start byte in serial data

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: error receiving response to reset

Sep 14 14:56:50 compass02 AMBEserver[1003]: AMBEserver: Could not initialize the DV3K!

Sep 14 14:56:50 compass02 systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE

Sep 14 14:56:50 compass02 systemd[1]: Unit ambeserver@... entered failed state.

Sep 14 14:56:50 compass02 systemd[1]: Triggering OnFailure= dependencies of ambeserver@....