ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: RTC daughterboard on TS-7200 - how to use?
From: Jeff Cunningham <>
Date: Tue, 22 Jan 2008 20:49:12 -0800
charliem_1216 wrote:
>
>
> Both the ep93xx and the DS12887 have worked OK for me (TS-7250), from
> about 2.6.19. You're right, now multiple RTCs can be used, but most
> userspace code seemed to look for /dev/rtc and crap out if it was
> missing. Try symlinking /dev/rtc0 (or rtc1) to /dev/rtc in a startup
> script.
>
> I don't have a TS7800 to play with yet. AFAIK there are no general
> problems with RTCs on ARM as long as you have a chipset driver and do
> the platform device registration for the RTC. There's a lot of Orion
> code waiting for 2.6.25 to open up ... but no TS-7800 platform code
> (hint hint :)
>
> Regards, ...... Charlie
>


I have the opposite problem: /dev/rtc exists, but hwclock doesn't recognize it.

I believe I have the right chipset driver. The chip says: M48T86PC1 on it, with the trademark "ST" in the corner. And when I modprobe rtc_m48t86 into the system it shows up in dmesg this way:

  rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
  rtc-m48t86 rtc-m48t86: battery ok

So, it thinks it's the right chipset and the module seems to be talking to it alright. But hwclock still can't see it.

:dev# hwclock --debug
hwclock from util-linux-2.12p
hwclock: Open of /dev/rtc failed, errno=19: No such device.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.

I also tried building the rtc_cmos module but it won't work:

  :dev# modprobe rtc-cmos
  FATAL: Error inserting rtc_cmos (/lib/modules/2.6.23-rc1ide_2/kernel/drivers/rtc/rtc-cmos.ko): No such device

--Jeff
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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