xref: /linux/Documentation/ABI/testing/sysfs-bus-acpi (revision 4f1c29d0dc7bde6df1c485f139fd8ee1d10b3485)
189ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../path
289ca78a0SLv ZhengDate:		December 2006
389ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
489ca78a0SLv ZhengDescription:
589ca78a0SLv Zheng		This attribute indicates the full path of ACPI namespace
689ca78a0SLv Zheng		object associated with the device object.  For example,
789ca78a0SLv Zheng		\_SB_.PCI0.
889ca78a0SLv Zheng		This file is not present for device objects representing
989ca78a0SLv Zheng		fixed ACPI hardware features (like power and sleep
1089ca78a0SLv Zheng		buttons).
1189ca78a0SLv Zheng
1289ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../modalias
1389ca78a0SLv ZhengDate:		July 2007
1489ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
1589ca78a0SLv ZhengDescription:
1689ca78a0SLv Zheng		This attribute indicates the PNP IDs of the device object.
1789ca78a0SLv Zheng		That is acpi:HHHHHHHH:[CCCCCCC:].  Where each HHHHHHHH or
1889ca78a0SLv Zheng		CCCCCCCC contains device object's PNPID (_HID or _CID).
1989ca78a0SLv Zheng
2089ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../hid
2189ca78a0SLv ZhengDate:		April 2005
2289ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
2389ca78a0SLv ZhengDescription:
2489ca78a0SLv Zheng		This attribute indicates the hardware ID (_HID) of the
2589ca78a0SLv Zheng		device object.  For example, PNP0103.
2689ca78a0SLv Zheng		This file is present for device objects having the _HID
2789ca78a0SLv Zheng		control method.
2889ca78a0SLv Zheng
2989ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../description
3089ca78a0SLv ZhengDate:		October 2012
3189ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
3289ca78a0SLv ZhengDescription:
3389ca78a0SLv Zheng		This attribute contains the output of the device object's
3489ca78a0SLv Zheng		_STR control method, if present.
3589ca78a0SLv Zheng
3689ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../adr
3789ca78a0SLv ZhengDate:		October 2012
3889ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
3989ca78a0SLv ZhengDescription:
4089ca78a0SLv Zheng		This attribute contains the output of the device object's
4189ca78a0SLv Zheng		_ADR control method, which is present for ACPI device
4289ca78a0SLv Zheng		objects representing devices having standard enumeration
4389ca78a0SLv Zheng		algorithms, such as PCI.
4489ca78a0SLv Zheng
4589ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../uid
4689ca78a0SLv ZhengDate:		October 2012
4789ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
4889ca78a0SLv ZhengDescription:
4989ca78a0SLv Zheng		This attribute contains the output of the device object's
5089ca78a0SLv Zheng		_UID control method, if present.
5189ca78a0SLv Zheng
5289ca78a0SLv ZhengWhat:		/sys/bus/acpi/devices/.../eject
5389ca78a0SLv ZhengDate:		December 2006
5489ca78a0SLv ZhengContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
5589ca78a0SLv ZhengDescription:
5689ca78a0SLv Zheng		Writing 1 to this attribute will trigger hot removal of
5789ca78a0SLv Zheng		this device object.  This file exists for every device
5889ca78a0SLv Zheng		object that has _EJ0 method.
59*4f1c29d0SAishwarya Pant
60*4f1c29d0SAishwarya PantWhat:		/sys/bus/acpi/devices/.../status
61*4f1c29d0SAishwarya PantDate:		Jan, 2014
62*4f1c29d0SAishwarya PantContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
63*4f1c29d0SAishwarya PantDescription:
64*4f1c29d0SAishwarya Pant		(RO) Returns the ACPI device status: enabled, disabled or
65*4f1c29d0SAishwarya Pant		functioning or present, if the method _STA is present.
66*4f1c29d0SAishwarya Pant
67*4f1c29d0SAishwarya Pant		The return value is a decimal integer representing the device's
68*4f1c29d0SAishwarya Pant		status bitmap:
69*4f1c29d0SAishwarya Pant
70*4f1c29d0SAishwarya Pant		Bit [0] –  Set if the device is present.
71*4f1c29d0SAishwarya Pant		Bit [1] –  Set if the device is enabled and decoding its
72*4f1c29d0SAishwarya Pant		           resources.
73*4f1c29d0SAishwarya Pant		Bit [2] –  Set if the device should be shown in the UI.
74*4f1c29d0SAishwarya Pant		Bit [3] –  Set if the device is functioning properly (cleared if
75*4f1c29d0SAishwarya Pant		           device failed its diagnostics).
76*4f1c29d0SAishwarya Pant		Bit [4] –  Set if the battery is present.
77*4f1c29d0SAishwarya Pant		Bits [31:5] –  Reserved (must be cleared)
78*4f1c29d0SAishwarya Pant
79*4f1c29d0SAishwarya Pant		If bit [0] is clear, then bit 1 must also be clear (a device
80*4f1c29d0SAishwarya Pant		that is not present cannot be enabled).
81*4f1c29d0SAishwarya Pant
82*4f1c29d0SAishwarya Pant		Bit 0 can be clear (not present) with bit [3] set (device is
83*4f1c29d0SAishwarya Pant		functional).  This case is used to indicate a valid device for
84*4f1c29d0SAishwarya Pant		which no device driver should be loaded.
85*4f1c29d0SAishwarya Pant
86*4f1c29d0SAishwarya Pant		More special cases are covered in the ACPI specification.
87*4f1c29d0SAishwarya Pant
88*4f1c29d0SAishwarya PantWhat:		/sys/bus/acpi/devices/.../hrv
89*4f1c29d0SAishwarya PantDate:		Apr, 2016
90*4f1c29d0SAishwarya PantContact:	Rafael J. Wysocki <rjw@rjwysocki.net>
91*4f1c29d0SAishwarya PantDescription:
92*4f1c29d0SAishwarya Pant		(RO) Allows users to read the hardware version of non-PCI
93*4f1c29d0SAishwarya Pant		hardware, if the _HRV control method is present.  It is mostly
94*4f1c29d0SAishwarya Pant		useful for non-PCI devices because lspci can list the hardware
95*4f1c29d0SAishwarya Pant		version for PCI devices.
96