ts-7000
[Top] [All Lists]

Re: [ts-7000] RTC daughterboard on TS-7200 - how to use?

To:
Subject: Re: [ts-7000] RTC daughterboard on TS-7200 - how to use?
From: Kevin Cozens <>
Date: Tue, 22 Jan 2008 11:52:01 -0500
Jeff Cunningham wrote:
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0                    
>                                      
> rtc-m48t86 rtc-m48t86: battery 
[snip]
> Here's what hwclock says:
> 
> :root# 
> hwclock                                                                       
>                     
> 
> Cannot access the Hardware Clock via any known 
> method.                                                             
> Use the --debug option to see the details of our search for an access 
> method.                                      
> :root# hwclock 
> --debug                                                                       
>             
[snip]
> And here are my RTC related settings in the kernel .config:
> CONFIG_RTC_LIB=y
> CONFIG_RTC_CLASS=m
> # RTC interfaces
> CONFIG_RTC_INTF_SYSFS=y
> CONFIG_RTC_INTF_PROC=y
> CONFIG_RTC_INTF_DEV=y
[snip]
> # Platform RTC drivers
> # CONFIG_RTC_DRV_CMOS is not set
> # CONFIG_RTC_DRV_DS1553 is not set
> # CONFIG_RTC_DRV_STK17TA8 is not set
> # CONFIG_RTC_DRV_DS1742 is not set
> CONFIG_RTC_DRV_M48T86=m
> # CONFIG_RTC_DRV_M48T59 is not set
> # CONFIG_RTC_DRV_V3020 is not set
> # on-CPU RTC drivers
> CONFIG_RTC_DRV_EP93XX=m
> CONFIG_RTC_DRV_PL031=m
> 
> Does this look right to you?

If the clock chip you are using is (compatible with) the m48t86, it seems 
right. The only thing I notice is you have CONFIG_RTC_DRV_CMOS disabled. This 
might only be used to enable access to the RAM of the clock chip but it 
couldn't hurt to enable it.

The kernel configuration for 2.4 is quite different. There is only CONFIG_RTC 
and CONFIG_TS_RTC which are both set to on. On my desktop PC running Linux 2.6 
(with Fedora 8), the kernel config settings mentioning the RTC are:
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_RTC_CLASS is not set

The only other thing I can suggest is to check for any available 2.6 kernel 
patches for the TS boards.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172      |"Same thing we always do, Pinkutus:
                                 |  Try to assimilate the world!"
#include <disclaimer/favourite> |              -Pinkutus & the Borg


 
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