ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7800 RTC problem

To:
Subject: [ts-7000] Re: TS-7800 RTC problem
From: Alexander Clouter <>
Date: Tue, 11 Mar 2008 17:32:56 +0000
Hi,

jirimacku <> [20080311 16:45:34 -0000]:
>
> --- In  "Michael" <> wrote:
> >
> > > The time obtained from RTC by rtc7800 makes random jumps. To find out
> > > more details I added following to crontab:
> 
>
I would be interested in your results for *after* the jump too, as well as at 
(5+10x) minutely intervals.  Does it give you a sane value or is the huge 
offset maintained?  Problem is I vaguely recall the utility does not support 
"just give me the time that the RTC thinks it is", you *have* to set the time 
too :-/

More so strange is that the mainline 2.6.24 rtc-m48t86.c driver does not do 
this locking...maybe just an oversight as how likely are you going to boot 
your machine and it enters the 'm48t86_rtc_read_time' fuction just as the 
clock rolls over to 0:00:00.

> > Can you download and install this program to your board (should overwrite 
> > the existing copy in /usr/local/bin/rtc7800) and let me know if it fixes 
> > the problem?
>
> [snipped]
>
> I've compiled the patched source (thanks Charlie!) and will report the
> result tomorrow.
>
The rtc7800.c file I have (downloaded on the 4th March) already has this 
locking code....

:/usr/src/ts7800$ md5sum rtc7800.c 
6f81e9b8568aeababd889f0ebfc1a61e  rtc7800.c

The plot thickens...

Cheers

Alex

-- 
 _________________________________
/ One good turn deserves another. \
|                                 |
\ -- Gaius Petronius              /
 ---------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU