(2020-11-30, 05:31 PM)ironman Wrote: Note that I had to run opencpn as root to get access to the uart at /dev/ttyAMA0. Interested to hear how to run it as an unprivileged user.Try:
ls -al /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Mar 28 07:12 /dev/ttyAMA0
If it reads the same as above, try "sudo usermod -a -G dialout opencpnuser" to add the opencpnuser to the dialout group.
With OpenCPN you also might want to check the groups for /dev/ttyS0 and /dev/ttyUSB0 if they exist and if you get a warning message.