Page 1 of 1

Enabling RTC

Posted: 11 Sep 2019, 13:54
by tmehtonen
Hi

Im having difficulties enablling RTC in my revpi connect. I set up time using:

Code: Select all

sudo timedatectl set-time "2019-09-11 19:50:00"
but still after this

Code: Select all

timedatectl  
shows

Code: Select all

pi@RevPi11201:~ $ timedatectl
      Local time: Wed 2019-09-11 19:50:25 CST
  Universal time: Wed 2019-09-11 11:50:25 UTC
        RTC time: n/a
       Time zone: Asia/Shanghai (CST, +0800)
 Network time on: no
NTP synchronized: no
 RTC in local TZ: no
What could be the problem

Re: Enabling RTC

Posted: 18 Sep 2019, 12:51
by dirk
Hi tmehtonen, there is no problem at all. The command "timedatectl" you are using is the right way to set the RTC. Maybe you expected the "NTP Synchronized: no" and "RTC in local TZ: no" to be "yes", right?
This is normal that the RTC is not synchronized via NTP. And the clock is always synchronized according to UTC so this explains the TZ output.

Re: Enabling RTC

Posted: 06 Nov 2019, 15:33
by zhan
Hi,
I doubt whether the rtc chip has been successfully initiated.
To confirm this, could you pls send the output of "sudo vcdbg log msg" and "dmesg"