Dear Karel,

Would be possible to somehow detect what is the right default setting for
--delay? I mean for example detect architecture / clock HW, etc.

I have no problem with --delay, but it's tuning for advanced users and
HW specific stuff. It would be nice to have something more portable.

     Karel


As I understood, issue exists only at x86 platform, where MC146818-compatible RTC used.

But even if you will correctly detect platform, there is no guaranty to get exactly MC146818 RTC. RTC can be other type. It even can be not single in the system.

What is more or less usable is "/sys/class/rtc/rtcX/name" file, which contains driver name. For x86 and MC146818-compatible RTC its name is "rtc_cmos". And it can be used to distinguish RTC type by hwclock utility.

Best wishes.
--
Igor Plyatov

--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rtc-linux+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to