Topics

ThumbDV & RaspiPi runs not stable


anton.weigl@...
 

Cheers and thanks for your great product.

Iam new owner of a ThumbDVStick. I use it on my Raspi3 with your Compass Image (latest).

Unfortunately the AMBEserver stops sometimes and it only helps to stop&start the service.

Maybe you have a idea?

pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-24 02:43:29 CET; 4min 56s ago
  Process: 1270 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)
  Process: 1267 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 1264 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 1270 (code=exited, status=1/FAILURE)

Mar 24 01:29:48 compass systemd[1]: Started DV3000 Daemon.
Mar 24 01:29:48 compass AMBEserver[1270]: AMBEserver: Starting...
Mar 24 01:29:48 compass AMBEserver[1270]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 01:29:48 compass AMBEserver[1270]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 01:29:48 compass AMBEserver[1270]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 02:43:29 compass AMBEserver[1270]: AMBEserver: Couldn't find start byte in serial data
Mar 24 02:43:29 compass AMBEserver[1270]: AMBEserver: processSerial failed to read packet
Mar 24 02:43:29 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 02:43:29 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 02:43:29 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $ sudo systemctl start ambeserver@...
pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: active (running) since Sat 2018-03-24 02:49:03 CET; 2s ago
  Process: 1581 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 1578 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 1584 (AMBEserver)
   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...
           └─1584 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0 -s 460800

Mar 24 02:49:03 compass systemd[1]: Started DV3000 Daemon.
Mar 24 02:49:03 compass AMBEserver[1584]: AMBEserver: Starting...
Mar 24 02:49:03 compass AMBEserver[1584]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 02:49:04 compass AMBEserver[1584]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 02:49:04 compass AMBEserver[1584]: AMBEserver: Listening for connections on UDP port 2460.
pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: active (running) since Sat 2018-03-24 02:49:03 CET; 46s ago
  Process: 1581 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 1578 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 1584 (AMBEserver)
   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...
           └─1584 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0 -s 460800

Mar 24 02:49:03 compass systemd[1]: Started DV3000 Daemon.
Mar 24 02:49:03 compass AMBEserver[1584]: AMBEserver: Starting...
Mar 24 02:49:03 compass AMBEserver[1584]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 02:49:04 compass AMBEserver[1584]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 02:49:04 compass AMBEserver[1584]: AMBEserver: Listening for connections on UDP port 2460.
pi@compass:~ $ sudo systemctl stop ambeserver@...
pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-24 02:50:02 CET; 42s ago
  Process: 1584 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)
  Process: 1581 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 1578 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 1584 (code=exited, status=1/FAILURE)

Mar 24 02:49:03 compass AMBEserver[1584]: AMBEserver: Starting...
Mar 24 02:49:03 compass AMBEserver[1584]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 02:49:04 compass AMBEserver[1584]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 02:49:04 compass AMBEserver[1584]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 02:50:02 compass AMBEserver[1584]: AMBEserver: Couldn't find start byte in serial data
Mar 24 02:50:02 compass AMBEserver[1584]: AMBEserver: processSerial failed to read packet
Mar 24 02:50:02 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 02:50:02 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 02:50:02 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
Mar 24 02:50:43 compass systemd[1]: Stopped DV3000 Daemon.
pi@compass:~ $ sudo systemctl start ambeserver@...
pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: active (running) since Sat 2018-03-24 02:50:50 CET; 5min ago
  Process: 1637 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 1634 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 1640 (AMBEserver)
   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...
           └─1640 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyUSB0 -s 460800

Mar 24 02:50:50 compass systemd[1]: Started DV3000 Daemon.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Starting...
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Listening for connections on UDP port 2460.
pi@compass:~ $

as you can see that happens everye few minutes and i have to restart the service manualle?

thanks and 73 anton, DO1WA


anton.weigl@...
 

broken again when i wake up this morning (without usage)

pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-24 09:23:38 CET; 1min 13s ago
  Process: 1640 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)
  Process: 1637 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 1634 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 1640 (code=exited, status=1/FAILURE)

Mar 24 02:50:50 compass systemd[1]: Started DV3000 Daemon.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Starting...
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 09:23:38 compass AMBEserver[1640]: AMBEserver: Couldn't find start byte in serial data
Mar 24 09:23:38 compass AMBEserver[1640]: AMBEserver: processSerial failed to read packet
Mar 24 09:23:38 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 09:23:38 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 09:23:38 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $


any hints?


Annaliese McDermond
 

The start of every packet from the ThumbDV starts with a 0x61 byte. If AMBEServer cannot find that byte in any of the responses, it errors out. This is usually due to errors in AMBEserver by hand and it’s still running?

--
Annaliese McDermond
nh6z@...

On Mar 24, 2018, at 1:28 AM, anton.weigl@... wrote:

broken again when i wake up this morning (without usage)

pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
Active: failed (Result: exit-code) since Sat 2018-03-24 09:23:38 CET; 1min 13s ago
Process: 1640 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)
Process: 1637 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
Process: 1634 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
Main PID: 1640 (code=exited, status=1/FAILURE)

Mar 24 02:50:50 compass systemd[1]: Started DV3000 Daemon.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Starting...
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 02:50:50 compass AMBEserver[1640]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 09:23:38 compass AMBEserver[1640]: AMBEserver: Couldn't find start byte in serial data
Mar 24 09:23:38 compass AMBEserver[1640]: AMBEserver: processSerial failed to read packet
Mar 24 09:23:38 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 09:23:38 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 09:23:38 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $


any hints?


anton.weigl@...
 

Thanks for your reply Jeremy. But i don´t geht the point :(. Problem is that the service stops itself and i don´t know why.  What I did is using the THUMBDV via the BLUEDV Android App, But it also stops itself when i dont do anything.

pi@compass:~ $ pi@compass:~ $ sudo systemctl status ambeserver@...
-bash: pi@compass:~: command not found
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-24 15:36:02 CET; 9h ago
 Main PID: 2683 (code=exited, status=1/FAILURE)

Mar 24 09:44:10 compass systemd[1]: Started DV3000 Daemon.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Starting...
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 15:36:02 compass AMBEserver[2683]: AMBEserver: Couldn't find start byte in serial data
Mar 24 15:36:02 compass AMBEserver[2683]: AMBEserver: processSerial failed to read packet
Mar 24 15:36:02 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 15:36:02 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 15:36:02 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $

there is something between 09:4:10 and 15:36:02 i don´t get. Sorry have no ideas. I can´t measure power consumption of the THUMBDV Stick, I could plug it into a external powered usb 3.0 hub. But up to my knowledge the raspi 3 has usb 3.0 ports which provide enough power? I also run a SharkRF Openspot in the same network, but it is on a different port as i know.

73, anton


Steven Blackford
 

Anton,

   Sounds like you could have a issue with your power supply.  I’ve ran into that a few times with PI3 once.  After I replaced the power supply with a 2.5 amp power supply, the ThumbDV didn’t have any more issues.  Hope that helps.  73 de K4SQI!

 

Steve, K4SQI

 

 

From: anton.weigl@...
Sent: Saturday, March 24, 2018 8:00 PM
To: ambe@nw-digital-radio.groups.io
Subject: Re: [ambe] ThumbDV & RaspiPi runs not stable

 

Thanks for your reply Jeremy. But i don´t geht the point :(. Problem is that the service stops itself and i don´t know why.  What I did is using the THUMBDV via the BLUEDV Android App, But it also stops itself when i dont do anything.

pi@compass:~ $ pi@compass:~ $ sudo systemctl status ambeserver@...
-bash: pi@compass:~: command not found
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-24 15:36:02 CET; 9h ago
 Main PID: 2683 (code=exited, status=1/FAILURE)

Mar 24 09:44:10 compass systemd[1]: Started DV3000 Daemon.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Starting...
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 15:36:02 compass AMBEserver[2683]: AMBEserver: Couldn't find start byte in serial data
Mar 24 15:36:02 compass AMBEserver[2683]: AMBEserver: processSerial failed to read packet
Mar 24 15:36:02 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 15:36:02 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 15:36:02 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $

there is something between 09:4:10 and 15:36:02 i don´t get. Sorry have no ideas. I can´t measure power consumption of the THUMBDV Stick, I could plug it into a external powered usb 3.0 hub. But up to my knowledge the raspi 3 has usb 3.0 ports which provide enough power? I also run a SharkRF Openspot in the same network, but it is on a different port as i know.

73, anton

 


 

This is a likely explanation. 

On Sat, Mar 24, 2018 at 6:34 PM, Steven Blackford <kb7sqi@...> wrote:

Anton,

   Sounds like you could have a issue with your power supply.  I’ve ran into that a few times with PI3 once.  After I replaced the power supply with a 2.5 amp power supply, the ThumbDV didn’t have any more issues.  Hope that helps.  73 de K4SQI!

 

Steve, K4SQI

 

 

From: anton.weigl@...
Sent: Saturday, March 24, 2018 8:00 PM
To: ambe@....io
Subject: Re: [ambe] ThumbDV & RaspiPi runs not stable

 

Thanks for your reply Jeremy. But i don´t geht the point :(. Problem is that the service stops itself and i don´t know why.  What I did is using the THUMBDV via the BLUEDV Android App, But it also stops itself when i dont do anything.

pi@compass:~ $ pi@compass:~ $ sudo systemctl status ambeserver@...
-bash: pi@compass:~: command not found
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-24 15:36:02 CET; 9h ago
 Main PID: 2683 (code=exited, status=1/FAILURE)

Mar 24 09:44:10 compass systemd[1]: Started DV3000 Daemon.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Starting...
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 24 09:44:10 compass AMBEserver[2683]: AMBEserver: Listening for connections on UDP port 2460.
Mar 24 15:36:02 compass AMBEserver[2683]: AMBEserver: Couldn't find start byte in serial data
Mar 24 15:36:02 compass AMBEserver[2683]: AMBEserver: processSerial failed to read packet
Mar 24 15:36:02 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 24 15:36:02 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 24 15:36:02 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $

there is something between 09:4:10 and 15:36:02 i don´t get. Sorry have no ideas. I can´t measure power consumption of the THUMBDV Stick, I could plug it into a external powered usb 3.0 hub. But up to my knowledge the raspi 3 has usb 3.0 ports which provide enough power? I also run a SharkRF Openspot in the same network, but it is on a different port as i know.

73, anton

 




--


John D. Hays
Edmonds, WA
K7VE

   


anton.weigl@...
 

Unfortunately it doesn´t helped. I have checked my power supply it provides 2.5A  and than I put the ThumbDV in a 3.0 USB HUB with external power supply.

pi@compass:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled)
   Active: failed (Result: exit-code) since Sun 2018-03-25 13:26:02 CEST; 2h 26min ago
  Process: 4185 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/%i $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)
  Process: 4182 ExecStartPre=/bin/chmod 0660 /dev/%i (code=exited, status=0/SUCCESS)
  Process: 4179 ExecStartPre=/bin/chgrp dialout /dev/%i (code=exited, status=0/SUCCESS)
 Main PID: 4185 (code=exited, status=1/FAILURE)

Mar 25 12:55:55 compass systemd[1]: Started DV3000 Daemon.
Mar 25 12:55:55 compass AMBEserver[4185]: AMBEserver: Starting...
Mar 25 12:55:55 compass AMBEserver[4185]: AMBEserver: Opened serial port /dev/ttyUSB0 at 460800 bps.
Mar 25 12:55:55 compass AMBEserver[4185]: AMBEserver: Initialized AMBE3000R version V120.E100.XXXX.C106.G514.R009.B0010411.C0020208.
Mar 25 12:55:55 compass AMBEserver[4185]: AMBEserver: Listening for connections on UDP port 2460.
Mar 25 13:26:02 compass AMBEserver[4185]: AMBEserver: Couldn't find start byte in serial data
Mar 25 13:26:02 compass AMBEserver[4185]: AMBEserver: processSerial failed to read packet
Mar 25 13:26:02 compass systemd[1]: ambeserver@...: main process exited, code=exited, status=1/FAILURE
Mar 25 13:26:02 compass systemd[1]: Unit ambeserver@... entered failed state.
Mar 25 13:26:02 compass systemd[1]: Triggering OnFailure= dependencies of ambeserver@....
pi@compass:~ $


Maybe it is a problem with the BlueDV AMBE Software for Android by PA7LIM. I will deinstall it now and look what happens.

73, Anton


anton.weigl@...
 

I have now deletetd the BlueDV AMBE App from my smartphone. The AMBE-Server is now running without problems. I will monitor it during the day. With the Windows Version of BlueDV no problem :).