ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to sync RTC to UTC in voxl2?

    Ask your questions right here!
    2
    3
    127
    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.
    • K
      kay.han
      last edited by

      Hello,

      I am using voxl2. Whenever I connect the battery, the device resets the RTC(Real Time Clock) to 1970-01-01. This is understandable.

      My issue is that I tried to sync the RTC to UTC using several ways, but I couldn't. Can I know the how to sync the RTC to the UTC?

      c596d8db-962e-4332-ad61-278fdbf4be27-image.png

      I tried to use "$ sudo timedatectl set-local-rtc 0", it didn't work.
      38ef0769-e9be-47a3-b9a5-ecd52f488939-image.png

      Another approach is using hwclock, but it didn't work either.
      57757204-a47b-498e-b86b-8dfcf4dad1e6-image.png

      The last approach is the below command, but I met permission denied, even though I am a root user.
      091151ba-0d99-4270-af97-57ead381a201-image.png

      How can I RTC to UTC?

      Thanks,
      Kay

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @kay.han
        last edited by

        @kay-han VOXL2 does not have an RTC

        K 1 Reply Last reply Reply Quote 0
        • K
          kay.han @Eric Katzfey
          last edited by

          @Eric-Katzfey Oh, do you mean I can see the "RTC time" by timedatectl, but it doesn't mean voxl2 has the RTC? I see. Thank you for your answer.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors