Re: ThumbDV used as an AMBE Server


These are two separate issues.  If you are not using bluetooth, uninstall/purge those two packages.

It appears that the daemon is not getting a response to a reset command on the ThumbDV.  Make sure you have it on /dev/ttyUSB0 (or adjust accordingly) -- and make sure to have the baud rate set to 460800 in the configuration file (see the Wiki for instructions).

Perhaps your DVMega and ThumbDV are on different USB port numbers than what you have configured.

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

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/                                                                                        MA0.service to /lib/systemd/system/ambeserver@.service.
Errors were encountered while processing:
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.


John D. Hays

PO Box 1223, Edmonds, WA 98020-1223

Join to automatically receive all group messages.