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