Hi Jiri --
--- In "jirimacku" <> wrote:
>
> Hello,
>
> I've tried the armel-lenny distro with the latest TS kernel (2008-10-10). It
> runs well with one flaw:
>
> hwclock utility doesn't work, it complains about /dev/rtc missing
>
> But the kernel recognizes the rtc chip:
>
> rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
> rtc-m48t86 rtc-m48t86: battery ok
>
> the /sys/class/rtc/rtc0 with respective files exist
>
> and /proc/driver/rtc seems be also ok:
>
> 7800:/proc/driver# cat rtc
> rtc_time : 09:27:53
> rtc_date : 2009-04-22
> 24hr : yes
> mode : bcd
> battery : ok
>
> But in /dev directory there is no rtc* device
Can you check the kernel config to see if CONFIG_RTC_INTF_DEV is selected?
Without that, /dev/rtc? will not be created.
Checking my copy of TS kernel sources from Jul-08, it doesn't look like
CONFIG_RTC_CLASS is set at all in the TS-7800 defconfig. WTF? And
CONFIG_RTC_INTF_DEV depends on CONFIG_RTC_CLASS.
Looks like you either have to compile your own kernel or go back to the rtc7800
utility.
(Once /dev/rtc0 is created, you may need to symlink it to /dev/rtc, depending
on the age of your hwclock utility, but you probably knew that).
regards, ......... Charlie
>
> In the previous version I used the rtc7800 utility but it was abandoned.
>
> I'm stuck at that point, any suggestions are very appreciated.
> Jiri
>
------------------------------------
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/
|