Hi, On 26/05/2020 21:57:50+0300, Igor Plyatov wrote: > I have found that my RTC (M41T00) is capable to make precise compensation > of offset in the Control register. > > Its driver, rtc-ds1307.c has support for such offset compensation and > provide the /sys/class/rtc/rtc0/offset file. > > Compensation tested and operate as expected, when I manually read/write > offset value (in PPB) from/into the /sys/class/rtc/rtc0/offset file. > > Does handling of such RTC offset already automatized somehow instead of > doing this manually? > No, my plan was to add support for that in chrony. chrony is already able to calculate the correct offset but it doesn't make use of it for the moment. What are you using to calculate the offset? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com