Re: PiDV, AMBEserver and Buster


KB5ZUR
 

John,
Her you go.
-DS

pi@DV3000SVR:~/ambeserver-install $ ls -l /dev/tty*
crw-rw-rw- 1 root tty       5,  0 Sep 29 15:13 /dev/tty
crw--w---- 1 root tty       4,  0 Sep 29 15:13 /dev/tty0
crw------- 1 pi   tty       4,  1 Sep 29 15:13 /dev/tty1
crw--w---- 1 root tty       4, 10 Sep 29 15:13 /dev/tty10
crw--w---- 1 root tty       4, 11 Sep 29 15:13 /dev/tty11
crw--w---- 1 root tty       4, 12 Sep 29 15:13 /dev/tty12
crw--w---- 1 root tty       4, 13 Sep 29 15:13 /dev/tty13
crw--w---- 1 root tty       4, 14 Sep 29 15:13 /dev/tty14
crw--w---- 1 root tty       4, 15 Sep 29 15:13 /dev/tty15
crw--w---- 1 root tty       4, 16 Sep 29 15:13 /dev/tty16
crw--w---- 1 root tty       4, 17 Sep 29 15:13 /dev/tty17
crw--w---- 1 root tty       4, 18 Sep 29 15:13 /dev/tty18
crw--w---- 1 root tty       4, 19 Sep 29 15:13 /dev/tty19
crw--w---- 1 root tty       4,  2 Sep 29 15:13 /dev/tty2
crw--w---- 1 root tty       4, 20 Sep 29 15:13 /dev/tty20
crw--w---- 1 root tty       4, 21 Sep 29 15:13 /dev/tty21
crw--w---- 1 root tty       4, 22 Sep 29 15:13 /dev/tty22
crw--w---- 1 root tty       4, 23 Sep 29 15:13 /dev/tty23
crw--w---- 1 root tty       4, 24 Sep 29 15:13 /dev/tty24
crw--w---- 1 root tty       4, 25 Sep 29 15:13 /dev/tty25
crw--w---- 1 root tty       4, 26 Sep 29 15:13 /dev/tty26
crw--w---- 1 root tty       4, 27 Sep 29 15:13 /dev/tty27
crw--w---- 1 root tty       4, 28 Sep 29 15:13 /dev/tty28
crw--w---- 1 root tty       4, 29 Sep 29 15:13 /dev/tty29
crw--w---- 1 root tty       4,  3 Sep 29 15:13 /dev/tty3
crw--w---- 1 root tty       4, 30 Sep 29 15:13 /dev/tty30
crw--w---- 1 root tty       4, 31 Sep 29 15:13 /dev/tty31
crw--w---- 1 root tty       4, 32 Sep 29 15:13 /dev/tty32
crw--w---- 1 root tty       4, 33 Sep 29 15:13 /dev/tty33
crw--w---- 1 root tty       4, 34 Sep 29 15:13 /dev/tty34
crw--w---- 1 root tty       4, 35 Sep 29 15:13 /dev/tty35
crw--w---- 1 root tty       4, 36 Sep 29 15:13 /dev/tty36
crw--w---- 1 root tty       4, 37 Sep 29 15:13 /dev/tty37
crw--w---- 1 root tty       4, 38 Sep 29 15:13 /dev/tty38
crw--w---- 1 root tty       4, 39 Sep 29 15:13 /dev/tty39
crw--w---- 1 root tty       4,  4 Sep 29 15:13 /dev/tty4
crw--w---- 1 root tty       4, 40 Sep 29 15:13 /dev/tty40
crw--w---- 1 root tty       4, 41 Sep 29 15:13 /dev/tty41
crw--w---- 1 root tty       4, 42 Sep 29 15:13 /dev/tty42
crw--w---- 1 root tty       4, 43 Sep 29 15:13 /dev/tty43
crw--w---- 1 root tty       4, 44 Sep 29 15:13 /dev/tty44
crw--w---- 1 root tty       4, 45 Sep 29 15:13 /dev/tty45
crw--w---- 1 root tty       4, 46 Sep 29 15:13 /dev/tty46
crw--w---- 1 root tty       4, 47 Sep 29 15:13 /dev/tty47
crw--w---- 1 root tty       4, 48 Sep 29 15:13 /dev/tty48
crw--w---- 1 root tty       4, 49 Sep 29 15:13 /dev/tty49
crw--w---- 1 root tty       4,  5 Sep 29 15:13 /dev/tty5
crw--w---- 1 root tty       4, 50 Sep 29 15:13 /dev/tty50
crw--w---- 1 root tty       4, 51 Sep 29 15:13 /dev/tty51
crw--w---- 1 root tty       4, 52 Sep 29 15:13 /dev/tty52
crw--w---- 1 root tty       4, 53 Sep 29 15:13 /dev/tty53
crw--w---- 1 root tty       4, 54 Sep 29 15:13 /dev/tty54
crw--w---- 1 root tty       4, 55 Sep 29 15:13 /dev/tty55
crw--w---- 1 root tty       4, 56 Sep 29 15:13 /dev/tty56
crw--w---- 1 root tty       4, 57 Sep 29 15:13 /dev/tty57
crw--w---- 1 root tty       4, 58 Sep 29 15:13 /dev/tty58
crw--w---- 1 root tty       4, 59 Sep 29 15:13 /dev/tty59
crw--w---- 1 root tty       4,  6 Sep 29 15:13 /dev/tty6
crw--w---- 1 root tty       4, 60 Sep 29 15:13 /dev/tty60
crw--w---- 1 root tty       4, 61 Sep 29 15:13 /dev/tty61
crw--w---- 1 root tty       4, 62 Sep 29 15:13 /dev/tty62
crw--w---- 1 root tty       4, 63 Sep 29 15:13 /dev/tty63
crw--w---- 1 root tty       4,  7 Sep 29 15:13 /dev/tty7
crw--w---- 1 root tty       4,  8 Sep 29 15:13 /dev/tty8
crw--w---- 1 root tty       4,  9 Sep 29 15:13 /dev/tty9
crw-rw---- 1 root dialout 204, 64 Sep 29 15:13 /dev/ttyAMA0
crw------- 1 root root      5,  3 Sep 29 15:13 /dev/ttyprintk
crw--w---- 1 root tty       4, 64 Sep 29 17:56 /dev/ttyS0

On Tue, Sep 29, 2020 at 6:38 PM John D Hays - K7VE <john@...> wrote:
Provide a listing of the command

ls -l /dev/tty*

On Tue, Sep 29, 2020 at 2:12 PM KB5ZUR <kb5zur@...> wrote:
On Fri, Apr 24, 2020 at 06:42 PM, John D Hays - K7VE wrote:
sudo usermod -G dialout opendv
Hi John,
I'm at exactly this same point with my PiDV on a new Raspberry pi 3B+ install.
PiDV works with ttl to usb adaptor in wibdows and passed AMBEtest3.py fine.

Tried the "sudo usermod -G dialout opendv with no success. I still get the following errors when trying to run ambeserver@ttyS0
pi@DV3000SVR:~/ambeserver-install $ sudo systemctl status ambeserver@...
● ambeserver@... - AMBEserver Daemon
   Loaded: loaded (/etc/systemd/system/ambeserver@.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-09-29 15:38:36 CDT; 34s ago
 Main PID: 1546 (code=exited, status=1/FAILURE)
 
Sep 29 15:38:36 DV3000SVR systemd[1]: Starting AMBEserver Daemon...
Sep 29 15:38:36 DV3000SVR systemd[1]: Started AMBEserver Daemon.
Sep 29 15:38:36 DV3000SVR AMBEserver[1546]: AMBEserver: Starting...
Sep 29 15:38:36 DV3000SVR AMBEserver[1546]: AMBEserver: Opened serial port /dev/ttyS0 at 230400 bps.
Sep 29 15:38:36 DV3000SVR AMBEserver[1546]: AMBEserver: Unable to open GPIO export interface: Permission denied
Sep 29 15:38:36 DV3000SVR AMBEserver[1546]: AMBEserver: Could not initialize the DV3K!
Sep 29 15:38:36 DV3000SVR systemd[1]: ambeserver@...: Main process exited, code=exited, status=1/FAIL
Sep 29 15:38:36 DV3000SVR systemd[1]: ambeserver@...: Failed with result 'exit-code'.
Sep 29 15:38:36 DV3000SVR systemd[1]: ambeserver@...: Triggering OnFailure= dependencies.
lines 1-14/14 (END)


seems to be some sort of GPIO Permission denied error.

Driving me a bit crazy trying to figure this out. Any help is appreciated.



--
John D. Hays
Kingston, WA
K7VE

 

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