7mtr schreef :
Linux, RPI and all the operating systems discussed here are not my cup of tea to be honest...
I think all the problems presented here in this thread, stem for the fact that I run AVnav on my desktop, with OpenCPN right next to it. My eventual implementation would be on the Pi (cheap, solid, low power consumption) through image-installation. My expectation is that I encounter NONE of the presented problems.
When I've made the step to the Pi, I'll you eport back ofcourse. Maybe you can then reconsider your stance. Or at least have some honest background info about AVnav on a pi.
BlackSea schreef :
Then clean up the system
sudo apt update && sudo apt autoremove
As I already stated, whenever I hit 'apt update' I'm welcomed whith a huge nummer of errors:
W: Opvragen van het in de configuratie vermeld bestand 'contrib/cnf/Commands-amd64' overgeslagen, vermits pakketbron 'https://www.free-x.de/ubuntu jammy InRelease' de component 'contrib' niet bevat (fout gespelde component in sources.list?)
This stems from the modification of the package-source (as you suggested). I can see, not all packages in the debian/buster PPA are avialable in ubuntu/jammy, thus the errors.
Reinstall OpenCPN from "jammy-backports". There is current 5.6.2 in there.
I do not have jammy-backports active (yet). But before I do that, I want to get rid of the errors shown above, right now my system is a bit untable.
Let the AvNav act as multiplexer ( it is quite suitable for this. AvNav automatically finds all serial inputs (GPS, AIS etc) and connect OpenCPN to localhost port 34567 TCP. AvNav spits out all NMEA0183 records on this port.
I can see port 34567 is up and running when AVnav is active. So what you say I can tap into the NMEA-bus trough this port, and that would be fantastic! One of my idea's is to make an AIS-alarm on the Pi (by using the pins as output), apart from AVnav. So when a ship comes near to me, say 5 miles, a very load audible alarm goes off. This is probably already covered in AVnav itself, but I do not want to be solely dependent of AVnav and/or the browser-device which connects to the AVnav-server.
Have you any documentation or examples concerning the use of this NMEA-port?
... connect OpenCPN to localhost port 34567 TCP
I'll try this. The result should be that OpenCPN is not blocking GPS for AVnav anymore