Subject: Realtime clock
To: None <firstname.lastname@example.org>
From: Blaz Zupan <email@example.com>
Date: 11/05/1994 18:40:49
Recently I installed a "gettime" program in my ip-up script
for PPP (so that gettime reads the correct time from a nearby
NTP server when my PPP link commes up). The gettime program
then sets the time but - of course - I got the message
"Cannot set clock". I looked at the code in
"/sys/arch/amiga/dev/clock.c" and removed the `#ifdef notyet'
around the A2000 clock write code. After fixing to unresolved
symbols (two unexisting defines were used) I booted with the
new kernel and try to set the realtime clock with the
"date" command and everything worked just ok (I also checked
the clock with "setclock load" under AmigaDOS and it was OK).
So why was this code removed? The comments indicate that
there is some kind of problem but I can't find any.
Any comments? Does anybody want to test this on his A3000?
(I only tested the A2000 code and left the A3000 code
Blaz Zupan, Ljubljanska 19/b, 62000 Maribor, Slovenia
firstname.lastname@example.org, 2:380/104.40, GMIZO::BLAZ