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. 8*54a19b4dSMauro Carvalho Chehab 989ca78a0SLv Zheng This file is not present for device objects representing 1089ca78a0SLv Zheng fixed ACPI hardware features (like power and sleep 1189ca78a0SLv Zheng buttons). 1289ca78a0SLv Zheng 1389ca78a0SLv ZhengWhat: /sys/bus/acpi/devices/.../modalias 1489ca78a0SLv ZhengDate: July 2007 1589ca78a0SLv ZhengContact: Rafael J. Wysocki <rjw@rjwysocki.net> 1689ca78a0SLv ZhengDescription: 1789ca78a0SLv Zheng This attribute indicates the PNP IDs of the device object. 1889ca78a0SLv Zheng That is acpi:HHHHHHHH:[CCCCCCC:]. Where each HHHHHHHH or 1989ca78a0SLv Zheng CCCCCCCC contains device object's PNPID (_HID or _CID). 2089ca78a0SLv Zheng 2189ca78a0SLv ZhengWhat: /sys/bus/acpi/devices/.../hid 2289ca78a0SLv ZhengDate: April 2005 2389ca78a0SLv ZhengContact: Rafael J. Wysocki <rjw@rjwysocki.net> 2489ca78a0SLv ZhengDescription: 2589ca78a0SLv Zheng This attribute indicates the hardware ID (_HID) of the 2689ca78a0SLv Zheng device object. For example, PNP0103. 2789ca78a0SLv Zheng This file is present for device objects having the _HID 2889ca78a0SLv Zheng control method. 2989ca78a0SLv Zheng 3089ca78a0SLv ZhengWhat: /sys/bus/acpi/devices/.../description 3189ca78a0SLv ZhengDate: October 2012 3289ca78a0SLv ZhengContact: Rafael J. Wysocki <rjw@rjwysocki.net> 3389ca78a0SLv ZhengDescription: 3489ca78a0SLv Zheng This attribute contains the output of the device object's 3589ca78a0SLv Zheng _STR control method, if present. 3689ca78a0SLv Zheng 3789ca78a0SLv ZhengWhat: /sys/bus/acpi/devices/.../adr 3889ca78a0SLv ZhengDate: October 2012 3989ca78a0SLv ZhengContact: Rafael J. Wysocki <rjw@rjwysocki.net> 4089ca78a0SLv ZhengDescription: 4189ca78a0SLv Zheng This attribute contains the output of the device object's 4289ca78a0SLv Zheng _ADR control method, which is present for ACPI device 4389ca78a0SLv Zheng objects representing devices having standard enumeration 4489ca78a0SLv Zheng algorithms, such as PCI. 4589ca78a0SLv Zheng 4689ca78a0SLv ZhengWhat: /sys/bus/acpi/devices/.../uid 4789ca78a0SLv ZhengDate: October 2012 4889ca78a0SLv ZhengContact: Rafael J. Wysocki <rjw@rjwysocki.net> 4989ca78a0SLv ZhengDescription: 5089ca78a0SLv Zheng This attribute contains the output of the device object's 5189ca78a0SLv Zheng _UID control method, if present. 5289ca78a0SLv Zheng 5389ca78a0SLv ZhengWhat: /sys/bus/acpi/devices/.../eject 5489ca78a0SLv ZhengDate: December 2006 5589ca78a0SLv ZhengContact: Rafael J. Wysocki <rjw@rjwysocki.net> 5689ca78a0SLv ZhengDescription: 5789ca78a0SLv Zheng Writing 1 to this attribute will trigger hot removal of 5889ca78a0SLv Zheng this device object. This file exists for every device 5989ca78a0SLv Zheng object that has _EJ0 method. 604f1c29d0SAishwarya Pant 614f1c29d0SAishwarya PantWhat: /sys/bus/acpi/devices/.../status 624f1c29d0SAishwarya PantDate: Jan, 2014 634f1c29d0SAishwarya PantContact: Rafael J. Wysocki <rjw@rjwysocki.net> 644f1c29d0SAishwarya PantDescription: 654f1c29d0SAishwarya Pant (RO) Returns the ACPI device status: enabled, disabled or 664f1c29d0SAishwarya Pant functioning or present, if the method _STA is present. 674f1c29d0SAishwarya Pant 684f1c29d0SAishwarya Pant The return value is a decimal integer representing the device's 694f1c29d0SAishwarya Pant status bitmap: 704f1c29d0SAishwarya Pant 7134433332SMauro Carvalho Chehab =========== ================================================== 7234433332SMauro Carvalho Chehab Bit [0] Set if the device is present. 7334433332SMauro Carvalho Chehab Bit [1] Set if the device is enabled and decoding its 744f1c29d0SAishwarya Pant resources. 7534433332SMauro Carvalho Chehab Bit [2] Set if the device should be shown in the UI. 7634433332SMauro Carvalho Chehab Bit [3] Set if the device is functioning properly (cleared 7734433332SMauro Carvalho Chehab if device failed its diagnostics). 7834433332SMauro Carvalho Chehab Bit [4] Set if the battery is present. 7934433332SMauro Carvalho Chehab Bits [31:5] Reserved (must be cleared) 8034433332SMauro Carvalho Chehab =========== ================================================== 814f1c29d0SAishwarya Pant 824f1c29d0SAishwarya Pant If bit [0] is clear, then bit 1 must also be clear (a device 834f1c29d0SAishwarya Pant that is not present cannot be enabled). 844f1c29d0SAishwarya Pant 854f1c29d0SAishwarya Pant Bit 0 can be clear (not present) with bit [3] set (device is 864f1c29d0SAishwarya Pant functional). This case is used to indicate a valid device for 874f1c29d0SAishwarya Pant which no device driver should be loaded. 884f1c29d0SAishwarya Pant 894f1c29d0SAishwarya Pant More special cases are covered in the ACPI specification. 904f1c29d0SAishwarya Pant 914f1c29d0SAishwarya PantWhat: /sys/bus/acpi/devices/.../hrv 924f1c29d0SAishwarya PantDate: Apr, 2016 934f1c29d0SAishwarya PantContact: Rafael J. Wysocki <rjw@rjwysocki.net> 944f1c29d0SAishwarya PantDescription: 954f1c29d0SAishwarya Pant (RO) Allows users to read the hardware version of non-PCI 964f1c29d0SAishwarya Pant hardware, if the _HRV control method is present. It is mostly 974f1c29d0SAishwarya Pant useful for non-PCI devices because lspci can list the hardware 984f1c29d0SAishwarya Pant version for PCI devices. 99