Yo Hans! On Tue, 13 Jan 2026 16:38:32 +0100 Hans Mayer <[email protected]> wrote:
> > A full log output, at a higher level (-D6?) will show how the URL is > > parsed. > > Here it is with -D9 actually not much more information than -D6 > > root# /usr/local/sbin/gpsd -N -D9 /dev/serial0 /dev/pps0 > ntrip://my.user:[email protected]:2101/TRF200AUT0 [...] > gpsd:INFO: stashing device > ntrip://my.user:[email protected]:2101/TRF200AUT0 at slot 2 > gpsd:ERROR: CORE: > stat(ntrip://my.user:[email protected]:2101/TRF200AUT0) failed, > errno No such file or directory(2) When I run your command I get the same: # gpsd -N -D9 /dev/serial0 /dev/pps0 ntrip://my.user:[email protected]:2101/TRF200AUT0 gpsd:INFO: stashing device ntrip://my.user:[email protected]:2101/TRF200AUT0 at slot 2 gpsd:ERROR: CORE: stat(/dev/serial0) failed, errno No such file or directory(2) gpsd:ERROR: CORE: stat(/dev/pps0) failed, errno No such file or directory(2) gpsd:ERROR: CORE: stat(ntrip://my.user:[email protected]:2101/TRF200AUT0 ) failed, errno No such file or directory(2) o I can duplicate. But works for me this way: # gpsd -ND 5 -nG /dev/ttyACM1 ntrip://XXXXXX:[email protected]:9879/BNDM_GG3x gpsd:INFO: stashing device ntrip://XXXX:[email protected]:9879/BNDM_GG3x at slot 1 gpsd:PROG: CORE: open_device(ntrip://XXXX:[email protected]:9879/BNDM_GG3x) fd -1 gpsd:PROG: CORE: gpsd_activate(ntrip://XXXX:[email protected]:9879/BNDM_GG3x, 2) fd -1 What happens when you run my command? I know that it will fail because you have no /dev/ttyACM1, just as I have no /dev/serial0 This comment is in the code before the stat(): // FIMME: don't stat() if not a decice or file. So it looks like we are both doing a stat(), one fails the other not. The simplest thing will be to implement that FIXME. > Finally this info: > > root# /usr/local/sbin/gpsd -l > # Magic Hat enabled. Why no MAGIC HAT? RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 [email protected] Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin
pgpaKnxHtdrzY.pgp
Description: OpenPGP digital signature
