How to access/read ACPI space from a PCI enumerated device

Hello Experts,

Is there any way to access/read the ACPI information for my device from PCI function driver ?

regards,
Jagadish Hadimani

You can use ACPI IOCTLs:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff536106(v=vs.85).aspx

Adam

yes i have seen this interface , but issue is how can i get the device object of the ACPI.sys driver in my USB driver ? If i want to get the ACPI driver object i need to use the function IoGetDeviceObjectPointer(). BUt this function uses “ObjectName” as a parameter. So can some one provide me the ObjectName for ACPI driver.

-regards,
Jagadish

xxxxx@gmail.com wrote:

yes i have seen this interface , but issue is how can i get the device object of the ACPI.sys driver in my USB driver ? If i want to get the ACPI driver object i need to use the function IoGetDeviceObjectPointer(). BUt this function uses “ObjectName” as a parameter. So can some one provide me the ObjectName for ACPI driver.

No. ACPI lurks in your device stack like a parasite. Just send the
ioctls to the next driver below you.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

> yes i have seen this interface , but issue is how can i get the device object of the ACPI.sys driver in

my USB driver ?

How can your device be both PCI and USB?


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com