• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop

RTC battery on board?

PI CM5 Laptop
2
5
382
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • plumlis
    plumlis last edited by Jun 27, 2024, 3:07 PM

    I saw there is an RTC battery slot on mainboard.
    Is it possible to add a RTC battery on it?

    cool pi laptop with ubuntu 24.04 seems won't save datetime after powered off.

    checked /proc/driver/rtc it works fine but won't sync to system datetime.

    blog: https://plumz.me

    G 1 Reply Last reply Jun 28, 2024, 12:57 AM Reply Quote 0
    • G
      george @plumlis last edited by Jun 28, 2024, 12:57 AM

      @plumlis
      Firstly, there is no need to add a separate RTC battery on the motherboard. RTC defaults to using the system's 38WH battery storage time.
      The issue of not being able to save time is a system software issue, not an RTC hardware issue. This can be confirmed by the following command:

      cat  /proc/driver/rtc
      

      Regarding how to synchronize the hardware RTC time to the system, the following command can be used:

      timedatectl set-local-rtc 1 --adjust-system-clock
      

      We will try to modify and add it to the system later. Thank you for your support.

      plumlis 1 Reply Last reply Jun 28, 2024, 2:18 AM Reply Quote 0
      • plumlis
        plumlis @george last edited by Jun 28, 2024, 2:18 AM

        @george
        I already tested.

        cat  /proc/driver/rtc
        

        works quite well, but its UTC time.

        after

        timedatectl set-local-rtc 1 --adjust-system-clock
        

        System dateime will sync to UTC with out +8 beijing region.

        blog: https://plumz.me

        1 Reply Last reply Reply Quote 0
        • plumlis
          plumlis last edited by Jun 30, 2024, 2:38 PM

          Could you tell me what's the type of RTC battery connect pin?

          1mm? 0.8mm?

          I'd like to have a try.

          blog: https://plumz.me

          G 1 Reply Last reply Jul 1, 2024, 12:35 AM Reply Quote 0
          • G
            george @plumlis last edited by Jul 1, 2024, 12:35 AM

            @plumlis
            The battery of the RTC connector has a spacing of 0.8mm. From the current phenomenon, it is not that the hardware RTC cannot save time, but rather that the hardware RTC time has not been synchronized with the system. So adding this battery won't make any changes.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 out of 5
            • First post
              1/5
              Last post