[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3 |
Date: |
Mon, 25 Apr 2016 11:01:45 -0700 |
Yo Hal!
On Mon, 25 Apr 2016 10:54:15 -0700
Hal Murray <address@hidden> wrote:
> >> address@hidden said:
> >>> Nothing confusing to gpsd at all. gpsd is just reporting there
> >>> is no PPS
> or
> >>> PPS available on that serial line. Which is exactly true. Maybe
> >>> the message could be clearer.
>
> address@hidden said:
> >> There are two cases of "no PPS". One is that nothing is wired to
> >> that pin.
> > Right. We know this isn't the problem as ppstest can see RFC2783
> > events through .dev/pps0
>
> The real problem is that gpsd doesn't have the idea of stand-alone
> PPS files (/dev/pps0 and such). It assumes everything on the command
> line is a TTY and that it can get the PPS stuff from there.
Uh, no. gpsd very much detects standalone PPS and handles it differently.
Check out the source_pps flag. I'm not saying it is perfect, but gpsd
does try to do the right thing.
> I was pointing out that things get messy if you try to make decisions
> based on the presence of PPS data when you open the TTY file and then
> setup the RFC2783 stuff from there.
Good, cause gpsd does not do it that way.
> I think the fix will require something like a flag on the command
> line that says the next parameter is the PPS for the previous TTY.
> Maybe: gpsd /dev/ttyX0 --pps /dev/pps0
No need, it is auto detected. Bug reports welcome.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
pgp9TlDPoOCaR.pgp
Description: OpenPGP digital signature
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, (continued)
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Hal Murray, 2016/04/23
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Gary E. Miller, 2016/04/23
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Hal Murray, 2016/04/23
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Hal Murray, 2016/04/23
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Eric S. Raymond, 2016/04/25
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Gary E. Miller, 2016/04/25
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Hal Murray, 2016/04/25
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3,
Gary E. Miller <=
- Re: [gpsd-dev] PPS not showing in gpsmon/gpsd on RPi 3, Fred Wright, 2016/04/28