Am 22.08.2013 19:24, schrieb meino.cramer@gmx.de: > Hi, > > there are two RTC in my system. One is powered by the > power of the system itsself and will forget space and > time if the system is powered off. This is RTC0. > The second one is powered by a little CR3216. This one > will not forget the time. This is RTC1 > The system itsself is portable and will be used with and > without access to the internet (no ethernet, no eth0). > > Surely it is possible to hack together a script which will > run at boot time to figure out the source of the valid time. > But this is somehow less elegant and gentoo-ish as it should be. > > I didnt found an application (via eix) which address this "problem". > > What is the recommended way to accomplish this task? > > Thank you very much in advance for any help! > Best regards, > mcc > I'm slightly confused. Do you need to use rtc0 at all? You can simply configure your kernel to use rtc1 with CONFIG_RTC_HCTOSYS_DEVICE. And for the hwclock init script you could add "-f /dev/rtc1" to the options. What else is there to do? Regards, Florian Philipp