gpsd-commit-watch
[Top][All Lists]
Advanced

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

[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-519


From: Fred Wright
Subject: [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-519-ge2471dd
Date: Fri, 23 Dec 2016 21:43:41 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".

The branch, master has been updated
       via  e2471ddd5934d24dff6802bdbe4b38e83878cc01 (commit)
       via  79c69b2b12e5f8ee3aa3f50b8886a0a7bbdd73f7 (commit)
      from  d1fd9ad44f320235b4d449988570ab5633f21bab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e2471ddd5934d24dff6802bdbe4b38e83878cc01
Author: Fred Wright <address@hidden>
Date:   Thu Dec 22 19:47:25 2016 -0800

    Adds Linux "fake PPS" detection and avoidance.
    
    If the Linux kernel is built with CONFIG_PPS_CLIENT_KTIMER=y, then a
    synthetic PPS source is added to allow testing without a real PPS
    source.  However, this source doesn't even run at exactly 1Hz, so any
    attempt to use it for real time synchronization is disastrous.
    
    To make matters worse, this is usually the first PPS driver
    configured, causing it to appear as /dev/pps0, which is the implied
    PPS device used by the "Magic HAT" kludge.
    
    This change adds detection for the fake source (based on its name),
    both to provide a warning if it is configured explicitly, and to skip
    over it when applying the "Magic HAT" kludge.
    
    TESTED:
    Tested both gpsmon and gpsd on a Beaglebone Black with added symlinks
    for testing "Magic HAT".  Did this with kernels with and without the
    KTIMER enabled.  Verified that the proper PPS device is selected by
    "Magic HAT", and that a warning is generated when expected.

commit 79c69b2b12e5f8ee3aa3f50b8886a0a7bbdd73f7
Author: Fred Wright <address@hidden>
Date:   Thu Dec 22 17:32:45 2016 -0800

    Makes MAGIC_HAT kludge optional.
    
    This adds a build option called 'magic_hat', and makes the code for
    MAGIC_HAT_GPS and MAGIC_LINK_GPS conditional on it.  It currently
    defaults to True on Linux and False otherwise.  It's meaningless on
    non-Linux platforms, though at present there are no
    conditionally-present options, so this one is also present on all
    platforms.
    
    TESTED:
    Tested on a Beaglebone Black with suitable symlinks added (and running
    a kernel with PPS_CLIENT_KTIMER turned off.  Verified that the kludge
    behaves as intended when enabled, and is inoperative when disabled.

-----------------------------------------------------------------------

Summary of changes:
 SConstruct  |    5 ++++-
 gpsmon.c    |   14 +++++++++-----
 ppsthread.c |   58 +++++++++++++++++++++++++++++++++++++++++++++++++---------
 ppsthread.h |    2 ++
 timehint.c  |   15 ++++++++++-----
 5 files changed, 74 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
GPSD



reply via email to

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