gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Is GPSD receiving PPS?


From: MAYER Hans
Subject: Re: [gpsd-users] Is GPSD receiving PPS?
Date: Thu, 3 Mar 2016 16:19:38 +0100

Hi Jon,

I think, this are 2 different pair of shoes.
The 1PPS you see with the "ppstest" command is a high/low signal on one of the 
pins of the GPIO module.
"gpsd" needs a serial interface on which data are received.
With which interface did you start "gpsd" ? Is this the line where Adafruit is 
sending information ? 
Can you read the data for example with "minicom" or another terminal program ? 
Did you disable this interface within the operating system to prevent that 
"getty" is starting on it ? 

Kind regards 
Hans



-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Jon Brase
Sent: Thursday, March 3, 2016 8:33 AM
To: address@hidden
Subject: [gpsd-users] Is GPSD receiving PPS?

Greetings,

I'm running GPSD on a Raspberry Pi with an Adafruit GPS hat. I know that the 
hardware supports PPS and that I've got the wiring and kernel configuration 
right because I i get timestamped assert messages with sequence numbers when I 
run "ppstest /dev/pps0". However, I am not certain that GPSD is actually 
receiving PPS data. Gpsmon does not indicate that I am getting any PPS data. 
When I run GPSD itself at debugging level 5 I do not get the carrier detect 
lines that http://www.catb.org/gpsd/gpsd-time-service-howto.html suggests I 
should be seeing. If I run CGPS, GPSD starts printing a bunch of lines similar 
to the following in its output:

gpsd:PROG: Changed mask:  
{ONLINE|TIME|LATLON|SPEED|TRACK|PACKET|REPORT|PPSTIME} with reliable cycle 
detection

I'm not sure if the "PPSTIME" bit indicates that I'm getting PPS or not.  
Is GPSD receiving PPS? If not, what could cause it not to receive PPS when the 
kernel is receiving PPS? "gpsd -l" indicates that GPSD is compiled with PPS 
support, and GPSD is being launched as root at boot.

Jon Brase

PS: A previous copy of this message got mangled by my mail client and sent out 
without a message body. My apologies for any confusion this may have caused.


reply via email to

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