ReliaGATE 10-12 User manual Rev. 2-1
12.14 How the RTC is exposed
The ReliaGATE 10-12 exposes the RTC as follows:
RTC:
l
/dev/rtc1 offers three read-only timestamp registers:
Timestamp register
sys/class/rtc/rtc1/device/timestamp1
sys/class/rtc/rtc1/device/timestamp2
sys/class/rtc/rtc1/device/timestamp3
To read a timestamp (for example: timestamp2), enter the following command:
cat /sys/class/rtc/rtc1/device/timestamp2
/dev/rtc1
What it contains
Reserved data
The timestamp that the system last lost power (only if a successful
initialization has been achieved)
The timestamp that the system last has been powered
(only if a successful initialization has been achieved)
12 How to manage interfaces in Linux
87 / 118