Compiled 5.8.0 in Fedora 37 last night from master, and started playing with it this morning (at home) with -p option.
First I ran an old vdr_pi file, which worked.
Then stopped vdr_pi, and plugged in a GPS-Mouse.
Setting the connection to
nmea 183, etc and checking the NMEA-log I saw in green (accepted) :
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,091412.323,4643.8475,N,01341.5139,E,0,0,,10 4.4,M,45.6,M,,*4A
$GPGLL,4643.8475,N,01341.5139,E,091412.323,V,N*4E $GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,2,10,05,18,070,,12,09,119,,02,08,041,,16, 07,301,*7C
$GPRMC,091412.323,V,4643.8475,N,01341.5139,E,0.00, 0.00,190914,,,N*7D
...
So clearly a position in RMC and GGA
But O did show an active (!) position (boat icon red) where I had stopped the vdr file 120 km away...
I restarted O, same thing : SOG/course updated, but
boat showed red with wrong position 120 km away from where I am with the GPS mouse.
Then on the interface
screen I found this new button
Adjust communication priorities ...
Looking into these, there was only Speed/Course pointing to the /dev/ttyUSB0 which was set for the GPS mouse.
All the rest was set to "virtual" (from the vdr file, I guess).
Pushed the refresh button, no change, although RMC and GGA come in with a valid position, they did not appear as
serial port /dev/ttyUSB0, only as "virtual" ...
Pushed the "Deselect all" ("Alle Abwählen" in german) : no change.
Restarted O again, no change, no valid position.
Finally I ran another vdr file, while the GPS mouse was connected, went back into the communication priority setting, deleted all and refreshed.
And only then I got RMC and GGA selectable as /dev/ttyUSB0 and voilà, I had the correct position ...
BUT : after stopping the vdr file I still have these virtual records, and although there's nothing coming in they seem to prevent the timeout for certain instrument channels.
I still have a
depth and speed through
water, although there's no more STW /
depth anymore since an hour ...
(see attached picture)
After a restart of O, STW and depth values are gone, but I still have these virtual priorities which do not exist anymore ...
I think that whole thing needs some rework...
Especially the fact that
instruments do no time out anymore
[Edit:]
and refresh does not add existing incoming
nmea record as /dev/ttyUSB0
[end Edit]
is an issue ...
BR,
Thomas