gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GPSD 3.24: Prevent from auto-reconfiguring u-blox NEO-M9N


From: Gary E. Miller
Subject: Re: GPSD 3.24: Prevent from auto-reconfiguring u-blox NEO-M9N
Date: Tue, 6 Dec 2022 10:26:06 -0800

Yo ZB!

On Tue, 6 Dec 2022 06:55:50 -0700
ZB <balinfd3@gmail.com> wrote:

> I have a U-Blox NEO-M9N (SparkFun), connected via USB-C (for data and
> power) to Linux Mint 20.3 64-bit, running GPSD v3.24 (compiled from
> source) and CHRONY v4.2 (compiled from source).

Fair enough.

> The issue I am having is that when I run gpsd it auto-reconfigures
> the M9N receiver.

As documented.  Very intentional.

> What I mean is this:  I have used U-Center from u-blox to configure
> my M9N so that it only pushes GPGGA and GPRMC NMEA messages.

Not a good idea.

> If I run
> gpsd with the "-b" flag option,

  -b, --readonly            = bluetooth-safe: open data sources read-only

You are running MEO-M8N on bluetooth?  Otherwise, the option you
are looking for is "-p".

> BUT...if I run gpsd as I
> normally would: "gpsd -n /dev/ttyACM0", then the M9N starts spitting
> out a TON of NMEA message types:GPGSV, GPRMC, GPGGA, GPZDA, NAV,
> etc...etc...

That is a good thing.

> The problem is that if I leave gpsd running with "gpsd -b -n
> /dev/ttyACM0", then the CHRONY socket "refclock SHM 0 refid GPS
> precision 1e-3 poll 3" stops communicating with GPSD: the reach
> slowly fades away from 377 down to 0.

Because just GPGGA and GPRMC may not be sufficent for NTP.
 
> If I run gpsd without the "-b" option, then the reach gets to 377 very
> quickly on the CHRONY socket but the u-blox spits out a ton of NMEA
> messages.

Both good things.

> Question:  how can I prevent GPSD from modifying my u-blox receiver
> whilst at the same time have the CHRONY socket  SHM 0 also work
> properly ??

Use -p, and configure your M8N properly.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpDkCeBa_QVH.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]