gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] Fwd: Re: Issue with Rasbian Jessie


From: hans mayer
Subject: [gpsd-users] Fwd: Re: Issue with Rasbian Jessie
Date: Sat, 05 Mar 2016 00:14:34 +0100
User-agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.1.1



hi george

NTPD needs to start first to create the shared memory
segment that GPSD can use.

no. it's the other way around.
ntpd does not create any shared memory blocks.
gpsd is creating shared memory and ntpd is reading from it afterwards.

maybe there is another issue if you have to restart both
after a reboot. maybe PATH or LD_LIBRARY_PATH missing.


// hans



Am 04.03.2016 19:23, schrieb George Sexton:


On 3/4/2016 11:05 AM, Gary E. Miller wrote:
Yo David!

On Fri, 4 Mar 2016 17:08:16 -0000
"David J Taylor"<address@hidden>  wrote:

I have used GPSD on quite a large number of Raspberry Pi cards,
without issue, under Raspbian Wheezy.  However, on a new RPi 2, the
following happens:
I find that no distro gets gpsd auto-start correctly.
One of the problems that I run into on OpenSUSE with NTPD is that
there's kind of a chicken and egg thing happening with Shared Memory
that was related to permissions.

NTPD needs to start first to create the shared memory segment that GPSD
can use. However, since GPSD isn't available, the GPS clocks aren't
available to NTPD. What I end up doing is after boot is re-starting
GPSD, and then re-starting NTPD.

Another issue is the auto-baud/search feature in GPSD. It means that
it's not available, or at least kicking out anything useful for a few
minutes. I've improved that by adding:

/usr/bin/stty --file=/dev/ttyS5 speed 38400

to bypass auto-baud.

I'm running from memory here, but that's what I remember happening.

I always just put the gpsd start in something like /etc/init.d/local

You are likely using the raspbian flavor of debian and their scripts
have been resistant to our changes.

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

--
George Sexton
*MH Software, Inc.*
Voice: 303 438 9585
http://www.connectdaily.com





reply via email to

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