[Top][All Lists]

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

Re: [gpsd-users] SHM number changing on reconnect

From: Zach LaCelle
Subject: Re: [gpsd-users] SHM number changing on reconnect
Date: Thu, 13 Sep 2018 17:16:23 -0400

I'll get to this as soon as possible...sorry for the delay! I'll try enabling hotplug and see what happens.

On Thu, Sep 13, 2018, 3:34 PM Gary E. Miller <address@hidden> wrote:
Yo Martin!

On Thu, 13 Sep 2018 09:09:44 +0200
Martin Burnicki <address@hidden> wrote:

> Just an idea: According to the docs at

Just remember, gpsd is NTP Classic compliant, but their doc is
not controlling on gpsd.

> "The shared memory-segment is created with owner-only access by
> default, unless otherwise requested by the mode word for units ≥2.
> Units 0 and 1 are always created with owner-only access for backward
> compatibility."
> So maybe this depends on whether a program runs as root or a different
> user, if it has dropped root privileges, or not, etc.

Yes, most certainly.  gpsd has to be root to get to SHM(0) and SHM(1).

Still unexplained is how this guy's gpsd is doing any hotplug
at all the way he has it configured without hot plug.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

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

reply via email to

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