^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/rtc/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) The rtc/ class subdirectory belongs to the RTC subsystem.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) What: /sys/class/rtc/rtcX/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The /sys/class/rtc/rtc{0,1,2,3,...} directories correspond
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) to each RTC device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) What: /sys/class/rtc/rtcX/date
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) (RO) RTC-provided date in YYYY-MM-DD format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) What: /sys/class/rtc/rtcX/hctosys
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Date: September 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) KernelVersion: 2.6.32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) (RO) 1 if the RTC provided the system time at boot via the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) CONFIG_RTC_HCTOSYS kernel option, 0 otherwise
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) What: /sys/class/rtc/rtcX/max_user_freq
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Date: October 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) KernelVersion: 2.6.24
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) (RW) The maximum interrupt rate an unprivileged user may request
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) from this RTC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) What: /sys/class/rtc/rtcX/name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) (RO) The name of the RTC corresponding to this sysfs directory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) What: /sys/class/rtc/rtcX/range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Date: January 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) KernelVersion: 4.16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Valid time range for the RTC, as seconds from epoch, formatted
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) as [min, max]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) What: /sys/class/rtc/rtcX/since_epoch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) (RO) RTC-provided time as the number of seconds since the epoch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) What: /sys/class/rtc/rtcX/time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) (RO) RTC-provided time in 24-hour notation (hh:mm:ss)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) What: /sys/class/rtc/rtcX/offset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Date: February 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) KernelVersion: 4.6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) (RW) The amount which the rtc clock has been adjusted in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) firmware. Visible only if the driver supports clock offset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) adjustment. The unit is parts per billion, i.e. The number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) clock ticks which are added to or removed from the rtc's base
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) clock per billion ticks. A positive value makes a day pass more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) slowly, longer, and a negative value makes a day pass more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) quickly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) What: /sys/class/rtc/rtcX/wakealarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) Date: February 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) KernelVersion: 2.6.20
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Contact: linux-rtc@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) (RW) The time at which the clock will generate a system wakeup
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) event. This is a one shot wakeup event, so must be reset after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) wake if a daily wakeup is required. Format is seconds since the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) epoch by default, or if there's a leading +, seconds in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) future, or if there is a leading +=, seconds ahead of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) current alarm.