Re: PiDV, AMBEserver and Buster


Mechanical_Mac
 

John,

I followed the instructions for enabling the mini UART serial port and I disabled the serial console. I modified the AMBESERVER_FLAGS in /etc/opendv/ambeserver-ttyS0.conf to AMBESERVER_FLAGS="-s 230400" to set the baud rate of the DV3000. I left UDP_PORT=2460 unchanged. This is the result.

pi@raspberrypi:~/Downloads $ python ambesocketest.py
^CTraceback (most recent call last):
  File "ambesocketest.py", line 23, in <module>
    d = s.recvfrom(1024)
KeyboardInterrupt
--
pi@raspberrypi:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; v
   Active: failed (Result: exit-code) since Tue 2020-04-21 14:20:21 ED
  Process: 838 ExecStartPre=/bin/chgrp dialout /dev/ttyS0 (code=exited

Apr 21 14:20:21 raspberrypi systemd[1]: Starting DV3000 Daemon...
Apr 21 14:20:21 raspberrypi systemd[838]: ambeserver@...: Fa
Apr 21 14:20:21 raspberrypi systemd[838]: ambeserver@...: Fa
Apr 21 14:20:21 raspberrypi systemd[1]: ambeserver@...: Cont
Apr 21 14:20:21 raspberrypi systemd[1]: ambeserver@...: Fail
Apr 21 14:20:21 raspberrypi systemd[1]: Failed to start DV3000 Daemon.
Apr 21 14:20:21 raspberrypi systemd[1]: ambeserver@...: Trig

pi@raspberrypi:~ $ sudo journalctl -xe
Apr 21 14:20:21 raspberrypi sudo[831]: pam_unix(sudo:session): session
Apr 21 14:20:21 raspberrypi systemd[1]: Started Serial Getty on ttyS0.
-- Subject: A start job for unit serial-getty@... has finish
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit serial-getty@... has finished succes
--
-- The job identifier is 665.
Apr 21 14:21:12 raspberrypi sudo[844]:       pi : TTY=pts/0 ; PWD=/hom
Apr 21 14:21:12 raspberrypi sudo[844]: pam_unix(sudo:session): session
Apr 21 14:21:21 raspberrypi sudo[844]: pam_unix(sudo:session): session
Apr 21 14:24:15 raspberrypi sudo[857]:       pi : TTY=pts/0 ; PWD=/hom
Apr 21 14:24:15 raspberrypi sudo[857]: pam_unix(sudo:session): session
Apr 21 14:24:20 raspberrypi sudo[857]: pam_unix(sudo:session): session
Apr 21 14:24:46 raspberrypi sudo[867]:       pi : TTY=pts/0 ; PWD=/hom
Apr 21 14:24:46 raspberrypi sudo[867]: pam_unix(sudo:session): session

pi@raspberrypi:~ $

Colin
Colin G. MacArthur B.A., LL.B.


On Mon, Apr 20, 2020 at 6:58 PM John D Hays - K7VE <john@...> wrote:
OK. So first thing is to make sure the PiDV is properly seated on the pins.
Here is information on using the serial port from the GPIO (turn off console to it) https://www.abelectronics.co.uk/kb/article/1035/raspberry-pi-3--4-and-zero-w-serial-port-usage
Use the ambetest.py program(s) to verify the serial port is communicating with the PiDV HAT.  (Baud Rate is 230K unless the board has been modified).

If it passes all of that, then try the AMBEserver.

Make sure nothing else is installed that might be grabbing the port.  I suggest the current version of Buster and AMBEserver alone to get going.


On Mon, Apr 20, 2020 at 3:33 PM Mechanical_Mac <c.g.macarthur@...> wrote:
The dv3000 which is now the PiDV as I understand.

Colin
Colin G. MacArthur B.A., LL.B.


On Mon, Apr 20, 2020 at 5:11 PM John D Hays - K7VE <john@...> wrote:
Are you using a PiDV™ or ThumbDV™ the errors look like you are trying a PiDV™

On Mon, Apr 20, 2020 at 1:36 PM Mechanical_Mac <c.g.macarthur@...> wrote:
Ladies and gents,
 
HELP!!
 
Before I pull out the remaining few strands of hair I have left, for the love of God, can someone please tell me what I'm doing wrong? I initially attempted to install my DV3000 on my Raspberry Pi 3 B+ according to the instruction found at:

 
Having failed miserably, I followed John's advice at:


and attempted to install it using the latest version of Buster and the Quick Build on Linux method outlined at:
 
Still no success. Any advice much appreciated. Here are the results:
---
login as: pi 
pi@....3's password:
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l
 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr 20 14:25:56 2020
pi@raspberrypi:~ $ sudo systemctl status ambeserver@...
● ambeserver@... - DV3000 Daemon
   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-04-20 14:25:48 EDT; 4min 33s ago
  Process: 405 ExecStartPre=/bin/chgrp dialout /dev/ttyS0 (code=exited, status=217/USER)
 
Apr 20 14:25:48 raspberrypi systemd[1]: Starting DV3000 Daemon...
Apr 20 14:25:48 raspberrypi systemd[405]: ambeserver@...: Failed to determine user credent
Apr 20 14:25:48 raspberrypi systemd[405]: ambeserver@...: Failed at step USER spawning /bi
Apr 20 14:25:48 raspberrypi systemd[1]: ambeserver@...: Control process exited, code=exite
Apr 20 14:25:48 raspberrypi systemd[1]: ambeserver@...: Failed with result 'exit-code'.
Apr 20 14:25:48 raspberrypi systemd[1]: Failed to start DV3000 Daemon.
Apr 20 14:25:48 raspberrypi systemd[1]: ambeserver@...: Triggering OnFailure= dependencies
 
pi@raspberrypi:~ $ sudo journalctl -xe
-- Kernel start-up required 1794003 microseconds.
--
-- Initial RAM disk start-up required INITRD_USEC microseconds.
--
-- Userspace start-up required 97195633 microseconds.
Apr 20 14:28:44 raspberrypi sshd[857]: Accepted password for pi from 192.168.1.2 port 51407 ssh2
Apr 20 14:28:44 raspberrypi sshd[857]: pam_unix(sshd:session): session opened for user pi by (uid=0)
Apr 20 14:28:44 raspberrypi systemd-logind[297]: New session c3 of user pi.
-- Subject: A new session c3 has been created for user pi
-- Defined-By: systemd
--
-- A new session with the ID c3 has been created for the user pi.
--
-- The leading process of the session is 857.
Apr 20 14:28:44 raspberrypi systemd[1]: Started Session c3 of user pi.
-- Subject: A start job for unit session-c3.scope has finished successfully
-- Defined-By: systemd
--
-- A start job for unit session-c3.scope has finished successfully.
--
-- The job identifier is 791.
Apr 20 14:29:53 raspberrypi sudo[848]: pam_unix(sudo:session): session closed for user root
Apr 20 14:30:21 raspberrypi sudo[884]:       pi : TTY=pts/1 ; PWD=/home/pi ; USER=root ; COMMAND=/bi
Apr 20 14:30:21 raspberrypi sudo[884]: pam_unix(sudo:session): session opened for user root by pi(ui
Apr 20 14:30:44 raspberrypi sudo[884]: pam_unix(sudo:session): session closed for user root
Apr 20 14:33:51 raspberrypi sudo[896]:       pi : TTY=pts/1 ; PWD=/home/pi ; USER=root ; COMMAND=/bi
Apr 20 14:33:52 raspberrypi sudo[896]: pam_unix(sudo:session): session opened for user root by pi(ui
 
pi@raspberrypi:~ $



--
John D. Hays
Kingston, WA
K7VE

 



--
John D. Hays
Kingston, WA
K7VE

 

Join ambe@nw-digital-radio.groups.io to automatically receive all group messages.