tmehtonen
Topic Author
Posts: 1
Joined: 11 Sep 2019, 13:47

Enabling RTC

11 Sep 2019, 13:54

Hi

Im having difficulties enablling RTC in my revpi connect. I set up time using:
sudo timedatectl set-time "2019-09-11 19:50:00"
but still after this
timedatectl  
shows
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: 588
Joined: 15 Dec 2016, 13:19
Location: Ostfildern
Contact:

Re: Enabling RTC

18 Sep 2019, 12:51

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
KUNBUS
Posts: 34
Joined: 16 Apr 2019, 13:31

Re: Enabling RTC

06 Nov 2019, 15:33

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

Who is online

Users browsing this forum: No registered users and 2 guests