sysfs-class-rtc 2.7 KB

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