hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/ABI/testing/sysfs-bus-acpi
....@@ -5,6 +5,7 @@
55 This attribute indicates the full path of ACPI namespace
66 object associated with the device object. For example,
77 \_SB_.PCI0.
8
+
89 This file is not present for device objects representing
910 fixed ACPI hardware features (like power and sleep
1011 buttons).
....@@ -67,14 +68,16 @@
6768 The return value is a decimal integer representing the device's
6869 status bitmap:
6970
70
- Bit [0] – Set if the device is present.
71
- Bit [1] – Set if the device is enabled and decoding its
72
- resources.
73
- Bit [2] – Set if the device should be shown in the UI.
74
- Bit [3] – Set if the device is functioning properly (cleared if
75
- device failed its diagnostics).
76
- Bit [4] – Set if the battery is present.
77
- Bits [31:5] – Reserved (must be cleared)
71
+ =========== ==================================================
72
+ Bit [0] Set if the device is present.
73
+ Bit [1] Set if the device is enabled and decoding its
74
+ resources.
75
+ Bit [2] Set if the device should be shown in the UI.
76
+ Bit [3] Set if the device is functioning properly (cleared
77
+ if device failed its diagnostics).
78
+ Bit [4] Set if the battery is present.
79
+ Bits [31:5] Reserved (must be cleared)
80
+ =========== ==================================================
7881
7982 If bit [0] is clear, then bit 1 must also be clear (a device
8083 that is not present cannot be enabled).