Re: 500 ms delay in time saved into RTC

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux