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. 594f1c29d0SAishwarya Pant 604f1c29d0SAishwarya PantWhat: /sys/bus/acpi/devices/.../status 614f1c29d0SAishwarya PantDate: Jan, 2014 624f1c29d0SAishwarya PantContact: Rafael J. Wysocki <rjw@rjwysocki.net> 634f1c29d0SAishwarya PantDescription: 644f1c29d0SAishwarya Pant (RO) Returns the ACPI device status: enabled, disabled or 654f1c29d0SAishwarya Pant functioning or present, if the method _STA is present. 664f1c29d0SAishwarya Pant 674f1c29d0SAishwarya Pant The return value is a decimal integer representing the device's 684f1c29d0SAishwarya Pant status bitmap: 694f1c29d0SAishwarya Pant 70*34433332SMauro Carvalho Chehab =========== ================================================== 71*34433332SMauro Carvalho Chehab Bit [0] Set if the device is present. 72*34433332SMauro Carvalho Chehab Bit [1] Set if the device is enabled and decoding its 734f1c29d0SAishwarya Pant resources. 74*34433332SMauro Carvalho Chehab Bit [2] Set if the device should be shown in the UI. 75*34433332SMauro Carvalho Chehab Bit [3] Set if the device is functioning properly (cleared 76*34433332SMauro Carvalho Chehab if device failed its diagnostics). 77*34433332SMauro Carvalho Chehab Bit [4] Set if the battery is present. 78*34433332SMauro Carvalho Chehab Bits [31:5] Reserved (must be cleared) 79*34433332SMauro Carvalho Chehab =========== ================================================== 804f1c29d0SAishwarya Pant 814f1c29d0SAishwarya Pant If bit [0] is clear, then bit 1 must also be clear (a device 824f1c29d0SAishwarya Pant that is not present cannot be enabled). 834f1c29d0SAishwarya Pant 844f1c29d0SAishwarya Pant Bit 0 can be clear (not present) with bit [3] set (device is 854f1c29d0SAishwarya Pant functional). This case is used to indicate a valid device for 864f1c29d0SAishwarya Pant which no device driver should be loaded. 874f1c29d0SAishwarya Pant 884f1c29d0SAishwarya Pant More special cases are covered in the ACPI specification. 894f1c29d0SAishwarya Pant 904f1c29d0SAishwarya PantWhat: /sys/bus/acpi/devices/.../hrv 914f1c29d0SAishwarya PantDate: Apr, 2016 924f1c29d0SAishwarya PantContact: Rafael J. Wysocki <rjw@rjwysocki.net> 934f1c29d0SAishwarya PantDescription: 944f1c29d0SAishwarya Pant (RO) Allows users to read the hardware version of non-PCI 954f1c29d0SAishwarya Pant hardware, if the _HRV control method is present. It is mostly 964f1c29d0SAishwarya Pant useful for non-PCI devices because lspci can list the hardware 974f1c29d0SAishwarya Pant version for PCI devices. 98