sysfs-class-rtc 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. What: /sys/class/rtc/
  2. Date: March 2006
  3. KernelVersion: 2.6.17
  4. Contact: linux-rtc@vger.kernel.org
  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: linux-rtc@vger.kernel.org
  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: linux-rtc@vger.kernel.org
  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: linux-rtc@vger.kernel.org
  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: linux-rtc@vger.kernel.org
  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: linux-rtc@vger.kernel.org
  38. Description:
  39. (RO) The name of the RTC corresponding to this sysfs directory
  40. What: /sys/class/rtc/rtcX/since_epoch
  41. Date: March 2006
  42. KernelVersion: 2.6.17
  43. Contact: linux-rtc@vger.kernel.org
  44. Description:
  45. (RO) RTC-provided time as the number of seconds since the epoch
  46. What: /sys/class/rtc/rtcX/time
  47. Date: March 2006
  48. KernelVersion: 2.6.17
  49. Contact: linux-rtc@vger.kernel.org
  50. Description:
  51. (RO) RTC-provided time in 24-hour notation (hh:mm:ss)
  52. What: /sys/class/rtc/rtcX/*/nvmem
  53. Date: February 2016
  54. KernelVersion: 4.6
  55. Contact: linux-rtc@vger.kernel.org
  56. Description:
  57. (RW) The non volatile storage exported as a raw file, as
  58. described in Documentation/nvmem/nvmem.txt
  59. What: /sys/class/rtc/rtcX/offset
  60. Date: February 2016
  61. KernelVersion: 4.6
  62. Contact: linux-rtc@vger.kernel.org
  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: linux-rtc@vger.kernel.org
  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.