Re: aranym /dev/rtc
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.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: