Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 16:51:36 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@hilink.com.au>
To:        Dan Welch <WELCHDW@wofford.edu>
Cc:        HARDWARE@FreeBSD.ORG
Subject:   Re: heath gc1000 clock
Message-ID:  <Pine.BSF.3.96.990218164646.29436A-100000@enya.clari.net.au>
In-Reply-To: <990217201337.20e18285@wofford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 17 Feb 1999, Dan Welch wrote:

> This is a long shot. I have a Heath GC-1000 "Most Accurate Clock" in
> excellent condition that I would like to try attaching to my FreeBSD
> system as a time base. It's a short wave radio rcvr with RS232
> output that I cannot decode easily because I have misplaced the
> manual.  Anyone using, or ever used, one who knows the output signal
> coding or can share FreeBSD code for using it?   Thanks.

I think you'll find xntpd supports it. 

/usr/src/usr.sbin/xntpd/xntpd/refclock_heath.c

/*
 * refclock_heath - clock driver for Heath GC-1000 Most Accurate Clock
 */
#if defined(REFCLOCK) && defined(HEATH)
 
#include <stdio.h>
#include <ctype.h> 
#include <sys/time.h>
#include <time.h>
 
#include "ntpd.h"
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
 
/*
 * This driver supports the Heath GC-1000 Most Accurate Clock, with
 * RS232C Output Accessory. This is a WWV/WWVH receiver somewhat less
 * robust than other supported receivers. Its claimed accuracy is 100 ms
 * when actually synchronized to the broadcast signal, but this doesn't 
 * happen even most of the time, due to propagation conditions, ambient
 * noise sources, etc. When not synchronized, the accuracy is at the
 * whim of the internal clock oscillator, which can wander into the
 * sunset without warning. Since the indicated precision is 100 ms,
 * expect a host synchronized only to this thing to wander to and fro,
 * occasionally being rudely stepped when the offset exceeds the default
 * CLOCK_MAX of 128 ms.

...etc...



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990218164646.29436A-100000>