Hello Alexandre, On 26.07.19 11:39, Alexandre Belloni wrote:
Maybe this problem is only relevant for the S35390A and PCF8563 chip which both lack the UIE support needed by hwclock. Both have only alarm triggers in a minute accuracy according to the driver source code.AFAIK the rtc framework should then emulate this event somehow.I don't think so. When the rtc chip is not able to trigger an event with a one second resolution - how can you emulate that?CONFIG_RTC_INTF_DEV_UIE_EMUL emulates it by polling the RTC.
Just booted my NAS box and /boot/config-4.19.0-5-marvell contains # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set Would be cool when this would make hwclock happy. Best regards, Oliver