Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WMI: Win32_Fan, Win32_TemperatureProbe, Win32_VoltageProbe, and Win32_CurrentPro

302 views
Skip to first unread message

William Wang

unread,
Dec 13, 2002, 5:27:22 PM12/13/02
to
Could anyone let me know if any additional software
setup was required (such as additonal providers were
needed) to obtain the Win32_Fan, Win32_TemperatureProbe,
Win32_VoltageProbe, and Win32_CurrentProbe instances and
properties? (Assuming all hardware, sensors and firmware
were properly installed, connected and configured.)

I have been able to get the Win32_BaseBoard instance, but
not on the others as listed above.

--William Wang

[MS] Scott McNairy

unread,
Dec 13, 2002, 5:45:24 PM12/13/02
to
Most of these return data based on how current your SMBios version is.
Sometimes older computers don't report this information through older
versions of SMBios.

--
[MS] Scott McNairy
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"William Wang" <willia...@leitch.com> wrote in message
news:031901c2a2f6$ce6a4240$d3f82ecf@TK2MSFTNGXA10...

William Wang

unread,
Dec 13, 2002, 6:25:39 PM12/13/02
to
Thanks for the info. But Fan, Temperaute, Power-Supply
info do not appear to be in the SMBIOS basd upon the
quotes taken from SMBIOS Table < http://
msdn.microsoft.com/ library/ en-us/ wmeother/ hh/
wmeother/ smbios_55k5.asp >, which item could it be under?
as follows (After the quotes, attached is my computer's
Win32_BIOS instance and properties dump, i.e., supposed to
be current from Intel with ReleaseDate 20010326):

"Windows 98/Me: Windows DDK

SMBIOS Table
A representative list of information residing within
SMBIOS is presented in the following table. This is not an
exhaustive list.

Attr. ID Description Type
DMTF|ComponentID|001
1. Component Id Group MIF Description
1 Manufacturer String
2 Product String
3 Version String
4 Serial Number String
DMTF|System BIOS|001
DMTF|System BIOS|001
4. System BIOS Group MIF Definition
3 Version String
4 BIOS ROM Size Integer
5 BIOS Starting Address INT64
6 BIOS Ending Address INT64
8 BIOS Release Date DATE
DMTF|BIOS Characteristic|003
5. BIOS Characteristic Group Definition
1 BIOS Characteristic Index Integer
2 BIOS Number Integer
3 BIOS Characteristics ENUM
4 BIOS Characteristics Description String
Type
Processor Family ENUM
Processor Upgrade ENUM
Number of Expansion Slots Integer
10. System Cache
1 System Cache Index Integer
3 System Cache Speed Integer
4 System Cache Size Integer
5 System Cache Write Policy ENUM
11. Parallel Ports
5 Connector Type ENUM
6 Connector Pinout ENUM
8 Parallel Port Capabilities Integer
19. System Slots
1 Slot Index Integer
2 Slot Type INT64
3 Slot Width ENUM
4 Current Usage Integer
5 Slot Description String
6 Slot Category ENUM
7 Virtual Slot ENUM
8 Resource User ID Integer

Built on Wednesday, July 24, 2002"

Instance to get: Win32_BIOS.Name="L440GX - PhoenixBIOS 4.0
Release 6.0 ",SoftwareElementID="L440GX - PhoenixBIOS
4.0 Release
6.0 ",SoftwareElementState=3,TargetOperatingSystem=0,Ve
rsion="L440GX+ PhoenixBIOS L440GX+ Production Release 14.3"

BiosCharacteristics (uint16) ==>
BuildNumber (string) ==> <null>
Caption (string) ==> "L440GX - PhoenixBIOS 4.0 Release
6.0 "
CodeSet (string) ==> <null>
CurrentLanguage (string) ==> "en|US|iso8859-1"
Description (string) ==> "L440GX - PhoenixBIOS 4.0
Release 6.0 "
IdentificationCode (string) ==> <null>
InstallableLanguages (uint16) ==> 6 (0x6)
InstallDate (datetime) ==> <null>
LanguageEdition (string) ==> <null>
ListOfLanguages (string) ==>
Manufacturer (string) ==> "Intel Corporation"
Name (string)* ==> "L440GX - PhoenixBIOS 4.0 Release
6.0 "
OtherTargetOS (string) ==> <null>
PrimaryBIOS (boolean) ==> TRUE
ReleaseDate (datetime) ==> "20010326******.******+***"
SerialNumber (string)
==> " "
SMBIOSBIOSVersion (string)
==> "L440GX0.86B.0133.P14.0103261759 "
SMBIOSMajorVersion (uint16) ==> 2 (0x2)
SMBIOSMinorVersion (uint16) ==> 1 (0x1)
SMBIOSPresent (boolean) ==> TRUE
SoftwareElementID (string)* ==> "L440GX - PhoenixBIOS
4.0 Release 6.0 "
SoftwareElementState (uint16)* ==> 3 (0x3)
Status (string) ==> "OK"
TargetOperatingSystem (uint16)* ==> 0 (0x0)
Version (string)* ==> "L440GX+ PhoenixBIOS L440GX+
Production Release 14.3"

>.
>

Ivan Brugiolo [MSFT]

unread,
Dec 13, 2002, 11:25:36 PM12/13/02
to
This is the cut and past of a post given in the past in this forum about
the TemperatureProbe class.
It gives an idea about how to cross check if your SMBIOS implementation
exposes the info.

/////////////////////////////////////
Your system "supports" SMBIOS.
It means that it has a table with values that comply to a certain format.
This table is available in the SMBios data byte array of the
root\wmi:MSSmBios_RawSMBiosTables class.

instance of MSSmBios_RawSMBiosTables
{
Size = 1507;
SMBiosData = {} // a bunch of bytes
}

now you can download the spec for the format of the table from the DMTF web
site,
and parse the table. It will take you 20-30 minutes to do it by hand.
If you find the group information for Type 28,
then your SMBIOS compliant hardware exposes the temperature in a compatible
way.
If not, there is no hope for the "interesting" properties of
Win32_TemperatureProbe
and/or for the ThermalZone class to work.
The degree of errors may sound not logical at first, but that would be a
different long story.


--


This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"William Wang" <willia...@leitch.com> wrote in message

news:07ff01c2a2fe$f27211b0$cef82ecf@TK2MSFTNGXA08...

Dave Methvin

unread,
Dec 16, 2002, 12:44:04 PM12/16/02
to
There's a utility at ftp://ftp.pcpitstop.com/pcpbios.zip that can get the
raw BIOS tables and decode them, might save you 20 minutes (per system). It
doesn't seem that a lot of vendors provide the probe functionality via
SMBIOS.

"Ivan Brugiolo [MSFT]" <ivan...@online.microsoft.com> wrote in message
news:uON0VjyoCHA.216@TK2MSFTNGP12...

William Wang

unread,
Dec 16, 2002, 5:01:26 PM12/16/02
to
Thanks Dave, Ivan and Scott for your info.

I had downloaded the zip file and got a BIOS.TXT.
For the system at question with SMBios version 2.1, it
only goes from types 0 to 17. Based upon Ivan's statement
since it does not include Type 28, (from www.dmtf.org
DSP0119.pdf I found Voltage Probe (Type 26), Cooling
Device (Type 27), Temperature Probe (Type 28) and
Electrical Current Probe (Type 29)), so I shall
accordingly assume that this SMBios does not support those
probes at question.

--wm

>.
>

0 new messages