Re: hwclock issue: RTC_SET_DELAY_SECS = 0.5s assumption not always true

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

 



On Mon, May 16, 2016 at 04:43:44PM +0300, Anssi Hannula wrote:
> -       const double RTC_SET_DELAY_SECS = 0.5;      /* 500 ms */
> +       const double RTC_SET_DELAY_SECS = 0.0;      /* 0 ms */
> Then it works with MC34708, but this obviously breaks it with other RTCs.

Is there a way how to detect currently used HW (/sys/class/rtc/name) ?
If yes, we can set the delay. The another possible way would be to
add command line option (--delay-on-set <ms>).
    
        Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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