TABLE OF CONTENTS
Overview
The Cardshark device includes a real-time clock (RTC) that plays an important role in maintaining accurate system time, even across power cycles. The RTC is available at /dev/rtc0 and is managed through the standard Linux interfaces and APIs designed for real-time clock operations.
This section covers the basic commands required to set and retrieve the RTC values using common Linux utilities.
Setting the Real-Time Clock
To set the real-time clock, use the following command. Adjust the date and time to the desired value:
sudo hwclock --set --date "8/11/2013 23:10:45"
Getting the Real-Time Clock
To display the current value of the real-time clock, use:
sudo hwclock --get
Further configuration details and troubleshooting tips for the RTC may be added in future updates.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article