On Sunday 21 January 2001 18:24, Edward Muller wrote:
> On Sunday 21 January 2001 7:25 pm, Devin Butterfield wrote:
> > On Sunday 21 January 2001 13:32, Stuart Lynne wrote:
> > > >> I've been checking out sa1100_rtc :-)
> > > >> I notice if I reset the ipaq, the date jumps +1 year +1 month +1
> > > >> day. Strange, huh?
> > > >
> > > >That is indeed strange...
> > > >
> > > >> I haven't yet figured out the algorithm for the hh:mm:ss shift that
> > > >> also happens.
> > > >> Also, does anyone have docs for the hwclock app?
> > > >
> > > >Read the source Luke ;)
> > > >To honest that is exactly what I did when I wrote the RTC driver. The
> > > >RTC should be reset-proof and is this with my iPaq. Maybe there is
> > > >something strange going on in another place.
> > > >Is it possible that some other application resets your RTC date on
> > > >boot-up after the reset?
> > >
> > > I noticed this as well. Although it wasn't always exactly the same
> > > amount.
> > >
> > > I ended up abandoning any attempt to believe the RTC and just use
> > > ntpdate to set the time and date after booting. This works well
> > > for me as my iPaq has an ethernet connection.
> >
> > Hmmm...my ipaq always boots up with the same date: Mon Jan 1 00:00:00
> > 2001. Which is interesting because I recall that it used to boot up
> > thinking that it was 1969! Why it seems to remember the year now is a
> > mystery to me. I would be very nice if it would remember both date and
> > time. :)
> >
> > For now, I too must use ntpdate. :(
> > --
> > Regards, Devin.
>
> Devin? Are you using the Familiar distribution? If so. It sounds like you
> ran backupToFlash after using the system settings application, which stores
> the last date it recorded into /etc/lastdate. Our linuxrc script runs:
>
> date `cat /etc/lastdate`
>
> on startup. Mostly because the rtc stuff is not setup right (aparently) in
> our distro.
Ah, that is what's happening. It will really be nice when the RTC works
correctly. :) But for now...
-- Regards, Devin.Received on Sun Jan 21 23:27:19 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:51 EDT