3b1 real time clock runs fast

Stewart gmark at ihlpf.ATT.COM
Fri Feb 10 10:42:31 AEST 1989


In article <671 at gvgspd.GVG.TEK.COM>, mrk at gvgspd.GVG.TEK.COM (Michael R. Kesti) writes:
> I have found that my 3b1's real time clock gains about a minute per week, and
> was wondering if any of you hardware types out there might be able to steer
> me toward a trim cap or something to correct this annoying, if not monumental,
Actually, a simpler way to do this (my opinion) is to just look in
crontab and modify the job that updates the display and have it
reset the time.  Write a simple program that takes the time you
type in at one-week or even one-month intervals that you consider
correct and calculates the deviation of the date stored over that
period.  In other words, you type in a time, program checks if it
agrees, and if not, checks the last time it was updated (timestamp
on a file you created at the last update) and figures the percentage
deviation.  Putting this percentage into a file, modify the crontab
file to not only update the display, but to update the time setting
by this percentage each time, or a separate entry to fudge it
every day or week or so.  This has the advantage of being dynamic
and correcting for things like thermal fluctuation (I don't know
how significant that is on the UNIX-PC).  I have found that
all the UNIX-PCs I know about have positive deviations.  Do 
others find that's true?  Maybe they run hot?  


				- Mark

				G. Mark Stewart
				ATT_BTL, Naperville, Ill. ix1g266
				ihlpq!gms (312)979-0914



More information about the Comp.sys.att mailing list