[Top][All Lists]

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

Re: [gpsd-users] gpsd not capturing device on startup

From: Gary E. Miller
Subject: Re: [gpsd-users] gpsd not capturing device on startup
Date: Tue, 15 Nov 2016 10:36:11 -0800

Yo Joshua!

On Tue, 15 Nov 2016 09:54:10 -0500
"Joshua Quesenberry" <address@hidden> wrote:

> 1.       I'm having some issues with gpsd on startup. I'm putting my
> device in the DEVICES variable in /etc/default/gpsd however after a
> restart, even though I see through ps aux that the DEVICES variable
> is included in the run string, when I run my test application to read
> from shared memory it's reporting all values as zero (0). Only after
> killing gpsd and re-running it manually do I get data in shared
> memory. What am I missing?

Ah, don't do that.  gpsd does not run well from systemd.  remove
what ever way your distribution starts up gpsd and do it yourself
with a simple script.
> 2.       Is there a way to view list of attached devices and what
> driver is being used for that device? I know there are things like
> cgps and gpspipe, but it seems that those may do something extra in
> the background to force thing to work, things not being done when I
> simply open shared memory or start gpsd manually. So just looking for
> non-gps-interactive gpsd status command or something.

cgps is your friend.  Do not fear it.  Or start gpsd in debug mode.

> 3.       Whenever I set START_DAEMON and USBAUTO to false I notice
> that gpsd will still be running after a reboot. Should this not
> prevent autostart?

Once again, systemd is messing with your head.  Rip out the systemd
stuff and start gpsd manually.

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

Attachment: pgpwdsCPO9lnH.pgp
Description: OpenPGP digital signature

reply via email to

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