Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/acpi/devices/.../path
0002 Date:           December 2006
0003 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0004 Description:
0005                 This attribute indicates the full path of ACPI namespace
0006                 object associated with the device object.  For example,
0007                 \_SB_.PCI0.
0008 
0009                 This file is not present for device objects representing
0010                 fixed ACPI hardware features (like power and sleep
0011                 buttons).
0012 
0013 What:           /sys/bus/acpi/devices/.../modalias
0014 Date:           July 2007
0015 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0016 Description:
0017                 This attribute indicates the PNP IDs of the device object.
0018                 That is acpi:HHHHHHHH:[CCCCCCC:].  Where each HHHHHHHH or
0019                 CCCCCCCC contains device object's PNPID (_HID or _CID).
0020 
0021 What:           /sys/bus/acpi/devices/.../hid
0022 Date:           April 2005
0023 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0024 Description:
0025                 This attribute indicates the hardware ID (_HID) of the
0026                 device object.  For example, PNP0103.
0027                 This file is present for device objects having the _HID
0028                 control method.
0029 
0030 What:           /sys/bus/acpi/devices/.../description
0031 Date:           October 2012
0032 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0033 Description:
0034                 This attribute contains the output of the device object's
0035                 _STR control method, if present.
0036 
0037 What:           /sys/bus/acpi/devices/.../adr
0038 Date:           October 2012
0039 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0040 Description:
0041                 This attribute contains the output of the device object's
0042                 _ADR control method, which is present for ACPI device
0043                 objects representing devices having standard enumeration
0044                 algorithms, such as PCI.
0045 
0046 What:           /sys/bus/acpi/devices/.../uid
0047 Date:           October 2012
0048 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0049 Description:
0050                 This attribute contains the output of the device object's
0051                 _UID control method, if present.
0052 
0053 What:           /sys/bus/acpi/devices/.../eject
0054 Date:           December 2006
0055 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0056 Description:
0057                 Writing 1 to this attribute will trigger hot removal of
0058                 this device object.  This file exists for every device
0059                 object that has _EJ0 method.
0060 
0061 What:           /sys/bus/acpi/devices/.../status
0062 Date:           Jan, 2014
0063 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0064 Description:
0065                 (RO) Returns the ACPI device status: enabled, disabled or
0066                 functioning or present, if the method _STA is present.
0067 
0068                 The return value is a decimal integer representing the device's
0069                 status bitmap:
0070 
0071                 ===========  ==================================================
0072                 Bit [0]      Set if the device is present.
0073                 Bit [1]      Set if the device is enabled and decoding its
0074                              resources.
0075                 Bit [2]      Set if the device should be shown in the UI.
0076                 Bit [3]      Set if the device is functioning properly (cleared
0077                              if device failed its diagnostics).
0078                 Bit [4]      Set if the battery is present.
0079                 Bits [31:5]  Reserved (must be cleared)
0080                 ===========  ==================================================
0081 
0082                 If bit [0] is clear, then bit 1 must also be clear (a device
0083                 that is not present cannot be enabled).
0084 
0085                 Bit 0 can be clear (not present) with bit [3] set (device is
0086                 functional).  This case is used to indicate a valid device for
0087                 which no device driver should be loaded.
0088 
0089                 More special cases are covered in the ACPI specification.
0090 
0091 What:           /sys/bus/acpi/devices/.../hrv
0092 Date:           Apr, 2016
0093 Contact:        Rafael J. Wysocki <rjw@rjwysocki.net>
0094 Description:
0095                 (RO) Allows users to read the hardware version of non-PCI
0096                 hardware, if the _HRV control method is present.  It is mostly
0097                 useful for non-PCI devices because lspci can list the hardware
0098                 version for PCI devices.