gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Non functional SiRF


From: Gary E. Miller
Subject: Re: [gpsd-users] Non functional SiRF
Date: Tue, 8 May 2018 12:49:09 -0700

Yo Dominic!

On Tue, 8 May 2018 15:40:41 -0400
Dominic Amann <address@hidden> wrote:

> On 7 May 2018 at 17:06, Gary E. Miller <address@hidden> wrote:
> >
> > Cool.  What version gpsd?  From where?
> >  
> 
> Sadly, version 3.7 from savannah.gnu.org. Reason for old version is
> that later versions wont compile under Yocto. I tried 3.15 and later
> versions and I got a weird Python include problem that I couldn't get
> to the bottom of. Yocto is a huge cross-compiling framework.

I happen to know people sucessfully using 3.17 with Yocto.  If you can
send us the error log it can be fixed.

Most likely you are just missing a python module or two.

> If you think a later version fixes the problem I can probably hack the
> compile to not bother with the python stuff (although Yocto makes it
> like doing keyhole surgery over a remote link).

If your issue needs a patch we would have to patch the git head.

> > Ouch.  Send a log file (gpspipe -R > GPS.log) and I'll look at it.
> >  
> 
> gpspipe doesn't appear to come with 3.7.

Ouch.  Can you just capture the serial somehow?  The nice thing about
gpspipe is it captures exactly what gpsd is seeing after it reconfigures
your GPS.

> > You might also try using gpsctl to put the GPS into NMEA mode and
> > then start gpsd with the -b flag so it does not overwrite your GPS
> > settings.
> >  
> 
> Yes I am trying that, it seems to work sometimes but not always. I
> need to do a bunch of other things in my startup to enable the serial
> port and gps first, and then I want to disable it so the user can
> switch it on or off manually. A bit of work on my part, but yes what
> you describe should be feasible.

Yeah, a PITA, there are long term plans to fix it.  A common thing for
people to do is modify the driver they are using to do the init
they want.

> > 'gpsctl -n' can be run while gpsd is running to try to put the GPS
> > in NMEA mode.  Give it a try.  
> 
> Tried that. Also not reliable (would sometimes hang indefinitely).

Yeah, and some of that is fixed in later versions.  More needs to be done.

One way to improve things is to only compile gpsd with the drivers that
you need.  The way gpsd gets lost is when it can't figure out which driver
the GPS needs.  TSIP is especially nasty and grabby.

RGDS
GARY
---------------------------------------------------------------------------
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

Attachment: pgpz9IRsJWdM6.pgp
Description: OpenPGP digital signature


reply via email to

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