sysfs-devices-platform-ACPI-TAD 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. ACPI Time and Alarm (TAD) device attributes.
  2. What: /sys/bus/platform/devices/ACPI000E:00/caps
  3. Date: March 2018
  4. Contact: Rafael J. Wysocki <[email protected]>
  5. Description:
  6. (RO) Hexadecimal bitmask of the TAD attributes are reported by
  7. the platform firmware (see ACPI 6.2, section 9.18.2):
  8. ======= ======================================================
  9. BIT(0): AC wakeup implemented if set
  10. BIT(1): DC wakeup implemented if set
  11. BIT(2): Get/set real time features implemented if set
  12. BIT(3): Real time accuracy in milliseconds if set
  13. BIT(4): Correct status reported for wakeups from S4/S5 if set
  14. BIT(5): The AC timer wakes up from S4 if set
  15. BIT(6): The AC timer wakes up from S5 if set
  16. BIT(7): The DC timer wakes up from S4 if set
  17. BIT(8): The DC timer wakes up from S5 if set
  18. ======= ======================================================
  19. The other bits are reserved.
  20. What: /sys/bus/platform/devices/ACPI000E:00/ac_alarm
  21. Date: March 2018
  22. Contact: Rafael J. Wysocki <[email protected]>
  23. Description:
  24. (RW) The AC alarm timer value.
  25. Reads return the current AC alarm timer value in seconds or
  26. "disabled", if the AC alarm is not set to wake up the system.
  27. Write a new AC alarm timer value in seconds or "disabled" to it
  28. to set the AC alarm timer or to disable it, respectively.
  29. If the AC alarm timer is set through this attribute and it
  30. expires, it will immediately wake up the system from the S3
  31. sleep state (and from S4/S5 too if supported) until its status
  32. is explicitly cleared via the ac_status attribute.
  33. What: /sys/bus/platform/devices/ACPI000E:00/ac_policy
  34. Date: March 2018
  35. Contact: Rafael J. Wysocki <[email protected]>
  36. Description:
  37. (RW) The AC alarm expired timer wake policy (see ACPI 6.2,
  38. Section 9.18 for details).
  39. Reads return the current expired timer wake delay for the AC
  40. alarm timer or "never", if the policy is to discard AC timer
  41. wakeups if the system is on DC power.
  42. Write a new expired timer wake delay for the AC alarm timer in
  43. seconds or "never" to it to set the expired timer wake delay for
  44. the AC alarm timer or to set its expired wake policy to discard
  45. wakeups if the system is on DC power, respectively.
  46. What: /sys/bus/platform/devices/ACPI000E:00/ac_status
  47. Date: March 2018
  48. Contact: Rafael J. Wysocki <[email protected]>
  49. Description:
  50. (RW) The AC alarm status.
  51. Reads return a hexadecimal bitmask representing the AC alarm
  52. timer status with the following meaning of bits (see ACPI 6.2,
  53. Section 9.18.5):
  54. ======= ======================================================
  55. Bit(0): The timer has expired if set.
  56. Bit(1): The timer has woken up the system from a sleep state
  57. (S3 or S4/S5 if supported) if set.
  58. ======= ======================================================
  59. The other bits are reserved.
  60. Reads also cause the AC alarm timer status to be reset.
  61. Another way to reset the status of the AC alarm timer is to
  62. write (the number) 0 to this file.
  63. If the status return value indicates that the timer has expired,
  64. it will immediately wake up the system from the S3 sleep state
  65. (and from S4/S5 too if supported) until its status is explicitly
  66. cleared through this attribute.
  67. What: /sys/bus/platform/devices/ACPI000E:00/dc_alarm
  68. Date: March 2018
  69. Contact: Rafael J. Wysocki <[email protected]>
  70. Description:
  71. (RW,optional) The DC alarm timer value.
  72. This attribute is only present if the TAD supports a separate
  73. DC timer.
  74. It is analogous to the ac_alarm attribute.
  75. What: /sys/bus/platform/devices/ACPI000E:00/dc_policy
  76. Date: March 2018
  77. Contact: Rafael J. Wysocki <[email protected]>
  78. Description:
  79. (RW,optional) The DC alarm expired timer wake policy.
  80. This attribute is only present if the TAD supports a separate
  81. DC timer.
  82. It is analogous to the ac_policy attribute.
  83. What: /sys/bus/platform/devices/ACPI000E:00/dc_status
  84. Date: March 2018
  85. Contact: Rafael J. Wysocki <[email protected]>
  86. Description:
  87. (RW,optional) The DC alarm status.
  88. This attribute is only present if the TAD supports a separate
  89. DC timer.
  90. It is analogous to the ac_status attribute.