You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



How to deal with broken RTC (real time clock)

Author (Read 3509 times)

0 Members and 1 Guest are viewing this topic.

How to deal with broken RTC (real time clock)
« Reply #1 on: August 24, 2020, 05:32:36 PM »
 

minesheep

  • Forum Regular
  • ***
  • 140
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
My computer has time and date going ahead even days. This started when I upgraded to LL 5.0 but It is now happening even with LL4.6. I understand I cant have time without internet and without hardware RTC. Bios battery have already being changed with no help. Since computers with no hw rtcs exist (raspberry pi for example) I wonder if it's possible to override hw rtc when internet is available.
Code: [Select]
linux  ~  sudo hwclock --get
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
linux  ~ 
When that happens I have to enter time manually with time and date (preinstalled software) in order to access some websites.
sudo hwclock --get usually works but when it fails my computer loses time.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section