gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS


From: Frank Nicholas
Subject: Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS
Date: Thu, 5 May 2016 19:40:14 -0400

I think these are not working for me…  See my other mention in another thread.  
I found them, when troubleshooting why my Pi, with a git clone from yesterday, 
wasn’t working with Eric’s How To.

> On May 5, 2016, at 7:18 PM, Gary E. Miller <address@hidden> wrote:
> 
> Yo Frank!
> 
> Eric did that, he can fix it.
> 
> On Thu, 5 May 2016 19:13:13 -0400
> Frank Nicholas <address@hidden> wrote:
> 
>> I find 2 x files that deal with detecting the Raspberry Pi hat with
>> PPS.  They are enclosed in “if defined (PPS_ENABLE)” sections:
>> dev2-rpi gpsd # grep pps_thread.devicename *.c gpsmon.c:
>> if (strcmp(session.pps_thread.devicename, MAGIC_HAT_GPS) == 0
>> timehint.c:      if (strcmp(session->pps_thread.devicename,
>> "/dev/ttyAMA0") == 0
>> 
>> They are inconsistent.  It looks like the should work the same
>> (MAGIC_HAT_GPS=“/dev/ttyAMA0” - from “SConstruct”), but probably
>> “timehint.c" should be changed to match “gpsmon.c”.
> 
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>       address@hidden  Tel:+1 541 382 8588




reply via email to

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