Enabling RTC

Topics about the Software of Revolution Pi
Post Reply
tmehtonen
Posts: 1
Joined: 11 Sep 2019, 13:47
Answers: 0

Enabling RTC

Post 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
User avatar
dirk
KUNBUS
Posts: 1942
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Enabling RTC

Post 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.
zhan
Posts: 52
Joined: 16 Apr 2019, 13:31
Answers: 0

Re: Enabling RTC

Post 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"
Simon
Post Reply