chutinhha / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

ACPI Thermal Zone temperatures are not reported #169

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
To add these one way is to issue a IOCTL_THERMAL_QUERY_INFORMATION from your 
driver (must be from Kernel mode) which will return a THERMAL_INFORMATION 
structure (see the WDK .H files). To get the devices I use use 
SetupDiEnumDeviceInterfaces( &GUID_DEVICE_THERMAL_ZONE ) and then pass the 
physical device name into my driver by typically opening 
"\\.\SIVDRIVER\Device\00000044". Within my driver I pass PFILE_OBJECT->FileName 
into IoGetDeviceObjectPointer() to do a kernel mode open and save the context 
in a block pointed to by PFILE_OBJECT->FsContext. I have seen systems with 5 
thermal zones.

Original issue reported on code.google.com by r...@rh-software.com on 10 Feb 2011 at 2:59

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by moel.mich on 15 Jan 2012 at 9:17