[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aranym /dev/rtc



On Mon, Apr 27, 2009 at 10:33:14PM +0200, Geert Uytterhoeven wrote:
> On Mon, Apr 27, 2009 at 20:56, Stephen R Marenka <stephen@marenka.net> wrote:
> > It was recently pointed out to me that under aranym there is no
> > /dev/rtc and none of the rtc-*.ko modules helps.
> >
> > Of course openntpd does.
> >
> > Should rtc work? Did I miss something in the kernel config?
> 
> Works here!
> 
> $ hwclock -ur
> Tue Apr 28 00:25:59 2009  -1.010041 seconds
> $
> 
> There are actually 4 options, some will not work yet, though:
>   1. CONFIG_RTC_CLASS=n, CONFIG_GEN_RTC=[my], /dev/rtc = 10,135
>      This is what I was using, using the deprecated generic RTC interface.
>   2. CONFIG_RTC_CLASS=n, CONFIG_RTC=[my], /dev/rtc = 10,135
>      Old style CMOS RTC driver, used to work on PC and Atari.
>   3. CONFIG_RTC_CLASS=y, CONFIG_RTC_DRV_GENERIC=[my], /dev/rtc is dynamic
>      Should work, as of 2.6.30-rc1, using RTC class on top of the
> generic RTC interface.
>   4. CONFIG_RTC_CLASS=y, CONFIG_RTC_DRV_CMOS=[my], /dev/rtc is dynamic
>      While rtc-cmos can be enabled on Atari (it was derived from
> rtc.c), it won't work yet,
>      as the necessary rtc_cmos platform device is not yet created on Atari.

Config fixed for debian 2.6.29-4.

Thanks!

Stephen

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: