• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Feature request for FOG 1.6.x - Install RTC Class Driver in FOS Kernel

    Scheduled Pinned Locked Moved
    Feature Request
    1
    1
    302
    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.
    • george1421G
      george1421 Moderator
      last edited by george1421

      The issue is the FOG Admin can not set the local time of the target computer during imaging using a post install script. The linux utility hwclock is included in the FOS ints but running the command produces the following error:

      # hwclock --debug
      hwclock: cannot open /dev/rtc: Device or resource busy
      No usable clock interface found.
      hwclock: Cannot access the Hardware Clock via any known method.
      

      This error is thrown because the /dev/rtc device driver is not enabled in the FOS Linux kernel. Enabling the RTC Class in the kernel is all that is needed for the hwclock utility to interface with the hardware clock.

      In the kernel config:

      Device Drivers -> Real Time Clock
      
      --- Real Time Clock                                                           x
       x [*]   Set system time from RTC on startup and resume (NEW)                 x
       x     (rtc0)  RTC used to set the system time (NEW)                          x
       x [*]   Set the RTC time based on NTP synchronization (NEW)                  x
       x     (rtc0)  RTC used to synchronize NTP adjustment (NEW)                   x
       x [ ]   RTC debug support (NEW)                                              x
       x [*]   RTC non volatile storage support (NEW)                               x
       x       *** RTC interfaces ***                                               x
       x [*]   /sys/class/rtc/rtcN (sysfs) (NEW)                                    x
       x [*]   /proc/driver/rtc (procfs for rtcN) (NEW)                             x
       x [*]   /dev/rtcN (character devices) (NEW)                                  x
      

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 1
      • 1 / 1
      • First post
        Last post

      208

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project