Article 7145 of comp.protocols.time.ntp:
Path: matra.meer.net!news.spies.com!genmagic!news.sgi.com!enews.sgi.com!news.mathworks.com!newsfeed.internetmci.com!in3.uu.net!news.u.washington.edu!root
From: epc <epc@u.washington.edu>
Newsgroups: comp.protocols.time.ntp
Subject: subject is: help with ppsclock and led
Date: Fri, 16 Aug 1996 18:17:08 -0700
Organization: University of Washington
Lines: 43
Distribution: inet
Message-ID: <32151D94.6C9D@u.washington.edu>
References: <4v2h1p$3li@nwestmail.nwest.mccaw.com>
NNTP-Posting-Host: cs114-12.u.washington.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Macintosh; I; PPC)

ooops. That's what I get for using a V1.0 newsreader (name withheld).

--herman

Greetings.

..followup to my original posting on how to get a Sun to ticktock with
electrical pulses. The most promising response I received was to try
ppsclock in the NTP distribution.

Anyone have any experience with ppsclock? The following test code 
which
should make the front panel LED blink compiles but cores and I have no
documentation on using AUXIO_REG. I'm using a Sparc 5 and Sparc 20 
under
Solaris 2.5.

#include <sys/param.h>
#include "/usr/platform/sun4m/include/sys/auxio.h"
#define LED_ON          *(u_char *)AUXIO_REG = 
AUX_MBO|AUX_EJECT|AUX_LED
#define LED_OFF         *(u_char *)AUXIO_REG = AUX_MBO|AUX_EJECT
main() {
while (1) {
  LED_OFF;
  sleep(1);
  LED_ON;
  sleep(1);
}
}


Thanks.

--herman
 
==================================================================
Herman Chien                         Voice: (206) 990-4628
AT&T Wireless Services               Fax:   (206) 990-4200
Messaging Division                   email: herman.chien@attws.com
110 110th Ave. N.E., Suite 200
Bellevue, WA  98004
==================================================================


