18c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/ 28c2ecf20Sopenharmony_ciDate: March 2006 38c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 48c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci The rtc/ class subdirectory belongs to the RTC subsystem. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/ 98c2ecf20Sopenharmony_ciDate: March 2006 108c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 118c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 128c2ecf20Sopenharmony_ciDescription: 138c2ecf20Sopenharmony_ci The /sys/class/rtc/rtc{0,1,2,3,...} directories correspond 148c2ecf20Sopenharmony_ci to each RTC device. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/date 178c2ecf20Sopenharmony_ciDate: March 2006 188c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 198c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 208c2ecf20Sopenharmony_ciDescription: 218c2ecf20Sopenharmony_ci (RO) RTC-provided date in YYYY-MM-DD format 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/hctosys 248c2ecf20Sopenharmony_ciDate: September 2009 258c2ecf20Sopenharmony_ciKernelVersion: 2.6.32 268c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 278c2ecf20Sopenharmony_ciDescription: 288c2ecf20Sopenharmony_ci (RO) 1 if the RTC provided the system time at boot via the 298c2ecf20Sopenharmony_ci CONFIG_RTC_HCTOSYS kernel option, 0 otherwise 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/max_user_freq 328c2ecf20Sopenharmony_ciDate: October 2007 338c2ecf20Sopenharmony_ciKernelVersion: 2.6.24 348c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 358c2ecf20Sopenharmony_ciDescription: 368c2ecf20Sopenharmony_ci (RW) The maximum interrupt rate an unprivileged user may request 378c2ecf20Sopenharmony_ci from this RTC. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/name 408c2ecf20Sopenharmony_ciDate: March 2006 418c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 428c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 438c2ecf20Sopenharmony_ciDescription: 448c2ecf20Sopenharmony_ci (RO) The name of the RTC corresponding to this sysfs directory 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/range 478c2ecf20Sopenharmony_ciDate: January 2018 488c2ecf20Sopenharmony_ciKernelVersion: 4.16 498c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 508c2ecf20Sopenharmony_ciDescription: 518c2ecf20Sopenharmony_ci Valid time range for the RTC, as seconds from epoch, formatted 528c2ecf20Sopenharmony_ci as [min, max] 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/since_epoch 558c2ecf20Sopenharmony_ciDate: March 2006 568c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 578c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 588c2ecf20Sopenharmony_ciDescription: 598c2ecf20Sopenharmony_ci (RO) RTC-provided time as the number of seconds since the epoch 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/time 628c2ecf20Sopenharmony_ciDate: March 2006 638c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 648c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 658c2ecf20Sopenharmony_ciDescription: 668c2ecf20Sopenharmony_ci (RO) RTC-provided time in 24-hour notation (hh:mm:ss) 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/offset 698c2ecf20Sopenharmony_ciDate: February 2016 708c2ecf20Sopenharmony_ciKernelVersion: 4.6 718c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 728c2ecf20Sopenharmony_ciDescription: 738c2ecf20Sopenharmony_ci (RW) The amount which the rtc clock has been adjusted in 748c2ecf20Sopenharmony_ci firmware. Visible only if the driver supports clock offset 758c2ecf20Sopenharmony_ci adjustment. The unit is parts per billion, i.e. The number of 768c2ecf20Sopenharmony_ci clock ticks which are added to or removed from the rtc's base 778c2ecf20Sopenharmony_ci clock per billion ticks. A positive value makes a day pass more 788c2ecf20Sopenharmony_ci slowly, longer, and a negative value makes a day pass more 798c2ecf20Sopenharmony_ci quickly. 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ciWhat: /sys/class/rtc/rtcX/wakealarm 828c2ecf20Sopenharmony_ciDate: February 2007 838c2ecf20Sopenharmony_ciKernelVersion: 2.6.20 848c2ecf20Sopenharmony_ciContact: linux-rtc@vger.kernel.org 858c2ecf20Sopenharmony_ciDescription: 868c2ecf20Sopenharmony_ci (RW) The time at which the clock will generate a system wakeup 878c2ecf20Sopenharmony_ci event. This is a one shot wakeup event, so must be reset after 888c2ecf20Sopenharmony_ci wake if a daily wakeup is required. Format is seconds since the 898c2ecf20Sopenharmony_ci epoch by default, or if there's a leading +, seconds in the 908c2ecf20Sopenharmony_ci future, or if there is a leading +=, seconds ahead of the 918c2ecf20Sopenharmony_ci current alarm. 92