2010-01-04 13:51:14

by Gabriel C

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)

2009/2/12 Justin Piszcz <[email protected]>:
>
>
> On Thu, 12 Feb 2009, Gabriel C wrote:
>
>> Maxim Levitsky wrote:
>>
>>> On Wed, 2009-01-07 at 11:42 -0500, Justin Piszcz wrote:
>>>>
>>>> On Wed, 7 Jan 2009, Dan Williams wrote:
>>>>
>>>>> Justin Piszcz wrote:
>>>>>>
>>>>>> The HECI interface would allow lm_sensors developers to grab the
>>>>>> temperatures off the chips on the board.
>>>>>>
>>>>>> From 2005(?)-2008 there was some chatter about supporting it but it
>>>>>> never
>>>>>> seemed to happen, is there any eventual planned support for supporting
>>>>>> Intel's HECI interface or if the user wants to see the
>>>>>> temperatures/voltages just buy a different motherboard with an ITE I/O
>>>>>> controller?
>>>>>>
>>>>>> I have a couple DG965WH boards and it would be nice to see the
>>>>>> temperature of the chipset etc without having to reboot into the BIOS.
>>>>>>
>>>>> Hi Justin,
>>>>>
>>>>> I am not up to date on the progress in this area, but perhaps this site
>>>>> (http://www.openamt.org/) has what you are looking for?
>>>>>
>>>>> Regards,
>>>>> Dan
>>>>>
>>>> Yeah that is the site-- however, will it ever get merged? ?I have not
>>>> heard anything about it for a year or so.
>>>
>>> Nope, the heci is just a controller, but we need a way to tell that
>>> controller to show us the temperature data.
>>> But intel hasn't released the QST sdk, and probably never will.
>>>
>>> Sad,
>>
>>
>> Well I found this interesting thread about :
>>
>>
>> http://software.intel.com/en-us/forums/manageability-software-development/topic/54851/
>>
>> It looks like the QST SDK already exists and is planned to be released..
>> (
>> ?http://software.intel.com/en-us/forums/manageability-software-development/topic/54851/reply/74068/
>> )
> I volunteer to test any patches if/when they are created after the SDK is
> released.
>


Again me .. Well the SDK is *still* not released .. ?The Intel folks
said back in August :

"The latest word is that the SDK is being prepared for approval but it
is contingent upon an upcoming platform release."

( whatever that means )


Anyway Andriy Gapon has posted on lm-sensors some nice tool to read
the sensors output ( thx :) )
(http://lists.lm-sensors.org/pipermail/lm-sensors/2009-October/026830.html)

Today I'm out from hospital so I've decided to quick hack this tool
and make it work on Linux.

Here the output from my DQ45CB mobo:

crazy@thor:~/INTEL/QST/Li$ sudo ./heci-qst
CPU ?Temp: ? ? ?56.00 ? ?C
MB ? Temp: ? ? ?31.14 ? ?C
ICH ?Temp: ? ? ?67.37 ? ?C
MCH ?Temp: ? ? ?66.00 ? ?C
CPU ?Fan: ? ? ? 1080 ? ?RPM
INL ?Fan: ? ? ? 1202 ? ?RPM
OUTL Fan: ? ? ? 288 ? ? RPM
+12 ?Volts: ? ? 11.965 ?V
+5 ? Volts: ? ? 5.021 ? V
+3.3 Volts: ? ? 3.316 ? V
MCH ?Vccp: ? ? ?1.122 ? V
CPU1 Vccp: ? ? ?1.125 ? V

Justin I know is not based on released SDK of Intel but maybe you
still want to do some tests ?:)

( of course you need the heci kernel modules first )

@Andriy there is a smallish bug in your original code .. you should
use ..... , abs(value) ...., abs(value) ...);
that will solve the negative CPU TEMP values you get with your version.

Best Regards,

Gabriel C


Attachments:
heci-qst-linux.c (5.91 kB)

2010-01-04 13:54:12

by Justin Piszcz

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)



On Mon, 4 Jan 2010, Gabriel C wrote:

> 2009/2/12 Justin Piszcz <[email protected]>:
>>
>>
>> On Thu, 12 Feb 2009, Gabriel C wrote:
>>
>>> Maxim Levitsky wrote:
>>>
>>>> On Wed, 2009-01-07 at 11:42 -0500, Justin Piszcz wrote:
>>>>>
>>>>> On Wed, 7 Jan 2009, Dan Williams wrote:
>>>>>
>>>>>> Justin Piszcz wrote:
>>>>>>>
>>>>>>> The HECI interface would allow lm_sensors developers to grab the
>>>>>>> temperatures off the chips on the board.
>>>>>>>
>>>>>>> From 2005(?)-2008 there was some chatter about supporting it but it
>>>>>>> never
>>>>>>> seemed to happen, is there any eventual planned support for supporting
>>>>>>> Intel's HECI interface or if the user wants to see the
>>>>>>> temperatures/voltages just buy a different motherboard with an ITE I/O
>>>>>>> controller?
>>>>>>>
>>>>>>> I have a couple DG965WH boards and it would be nice to see the
>>>>>>> temperature of the chipset etc without having to reboot into the BIOS.
>>>>>>>
>>>>>> Hi Justin,
>>>>>>
>>>>>> I am not up to date on the progress in this area, but perhaps this site
>>>>>> (http://www.openamt.org/) has what you are looking for?
>>>>>>
>>>>>> Regards,
>>>>>> Dan
>>>>>>
>>>>> Yeah that is the site-- however, will it ever get merged? ?I have not
>>>>> heard anything about it for a year or so.
>>>>
>>>> Nope, the heci is just a controller, but we need a way to tell that
>>>> controller to show us the temperature data.
>>>> But intel hasn't released the QST sdk, and probably never will.
>>>>
>>>> Sad,
>>>
>>>
>>> Well I found this interesting thread about :
>>>
>>>
>>> http://software.intel.com/en-us/forums/manageability-software-development/topic/54851/
>>>
>>> It looks like the QST SDK already exists and is planned to be released..
>>> (
>>> ?http://software.intel.com/en-us/forums/manageability-software-development/topic/54851/reply/74068/
>>> )
>> I volunteer to test any patches if/when they are created after the SDK is
>> released.
>>
>
>
> Again me .. Well the SDK is *still* not released .. ?The Intel folks
> said back in August :
>
> "The latest word is that the SDK is being prepared for approval but it
> is contingent upon an upcoming platform release."
>
> ( whatever that means )
>
>
> Anyway Andriy Gapon has posted on lm-sensors some nice tool to read
> the sensors output ( thx :) )
> (http://lists.lm-sensors.org/pipermail/lm-sensors/2009-October/026830.html)
>
> Today I'm out from hospital so I've decided to quick hack this tool
> and make it work on Linux.
>
> Here the output from my DQ45CB mobo:
>
> crazy@thor:~/INTEL/QST/Li$ sudo ./heci-qst
> CPU ?Temp: ? ? ?56.00 ? ?C
> MB ? Temp: ? ? ?31.14 ? ?C
> ICH ?Temp: ? ? ?67.37 ? ?C
> MCH ?Temp: ? ? ?66.00 ? ?C
> CPU ?Fan: ? ? ? 1080 ? ?RPM
> INL ?Fan: ? ? ? 1202 ? ?RPM
> OUTL Fan: ? ? ? 288 ? ? RPM
> +12 ?Volts: ? ? 11.965 ?V
> +5 ? Volts: ? ? 5.021 ? V
> +3.3 Volts: ? ? 3.316 ? V
> MCH ?Vccp: ? ? ?1.122 ? V
> CPU1 Vccp: ? ? ?1.125 ? V
>
> Justin I know is not based on released SDK of Intel but maybe you
> still want to do some tests ?:)
Hi,

I upgraded my system and have a new board now, I do have another system that
uses the same board (DG965WH) if you have a patch/URL with the software I
can give it a run.

Justin.

>
> ( of course you need the heci kernel modules first )
>
> @Andriy there is a smallish bug in your original code .. you should
> use ..... , abs(value) ...., abs(value) ...);
> that will solve the negative CPU TEMP values you get with your version.
>
> Best Regards,
>
> Gabriel C
>

2010-01-04 14:09:22

by Gabriel C

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)

2010/1/4 Justin Piszcz <[email protected]>:
>
>
> On Mon, 4 Jan 2010, Gabriel C wrote:
>
>> 2009/2/12 Justin Piszcz <[email protected]>:
>>>
>>>
>>> On Thu, 12 Feb 2009, Gabriel C wrote:
>>>
>>>> Maxim Levitsky wrote:
>>>>
>>>>> On Wed, 2009-01-07 at 11:42 -0500, Justin Piszcz wrote:
>>>>>>
>>>>>> On Wed, 7 Jan 2009, Dan Williams wrote:
>>>>>>
>>>>>>> Justin Piszcz wrote:
>>>>>>>>
>>>>>>>> The HECI interface would allow lm_sensors developers to grab the
>>>>>>>> temperatures off the chips on the board.
>>>>>>>>
>>>>>>>> From 2005(?)-2008 there was some chatter about supporting it but it
>>>>>>>> never
>>>>>>>> seemed to happen, is there any eventual planned support for
>>>>>>>> supporting
>>>>>>>> Intel's HECI interface or if the user wants to see the
>>>>>>>> temperatures/voltages just buy a different motherboard with an ITE
>>>>>>>> I/O
>>>>>>>> controller?
>>>>>>>>
>>>>>>>> I have a couple DG965WH boards and it would be nice to see the
>>>>>>>> temperature of the chipset etc without having to reboot into the
>>>>>>>> BIOS.
>>>>>>>>
>>>>>>> Hi Justin,
>>>>>>>
>>>>>>> I am not up to date on the progress in this area, but perhaps this
>>>>>>> site
>>>>>>> (http://www.openamt.org/) has what you are looking for?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Dan
>>>>>>>
>>>>>> Yeah that is the site-- however, will it ever get merged? ?I have not
>>>>>> heard anything about it for a year or so.
>>>>>
>>>>> Nope, the heci is just a controller, but we need a way to tell that
>>>>> controller to show us the temperature data.
>>>>> But intel hasn't released the QST sdk, and probably never will.
>>>>>
>>>>> Sad,
>>>>
>>>>
>>>> Well I found this interesting thread about :
>>>>
>>>>
>>>>
>>>> http://software.intel.com/en-us/forums/manageability-software-development/topic/54851/
>>>>
>>>> It looks like the QST SDK already exists and is planned to be released..
>>>> (
>>>>
>>>> ?http://software.intel.com/en-us/forums/manageability-software-development/topic/54851/reply/74068/
>>>> )
>>>
>>> I volunteer to test any patches if/when they are created after the SDK is
>>> released.
>>>
>>
>>
>> Again me .. Well the SDK is *still* not released .. ?The Intel folks
>> said back in August :
>>
>> "The latest word is that the SDK is being prepared for approval but it
>> is contingent upon an upcoming platform release."
>>
>> ( whatever that means )
>>
>>
>> Anyway Andriy Gapon has posted on lm-sensors some nice tool to read
>> the sensors output ( thx :) )
>>
>> (http://lists.lm-sensors.org/pipermail/lm-sensors/2009-October/026830.html)
>>
>> Today I'm out from hospital so I've decided to quick hack this tool
>> and make it work on Linux.
>>
>> Here the output from my DQ45CB mobo:
>>
>> crazy@thor:~/INTEL/QST/Li$ sudo ./heci-qst
>> CPU ?Temp: ? ? ?56.00 ? ?C
>> MB ? Temp: ? ? ?31.14 ? ?C
>> ICH ?Temp: ? ? ?67.37 ? ?C
>> MCH ?Temp: ? ? ?66.00 ? ?C
>> CPU ?Fan: ? ? ? 1080 ? ?RPM
>> INL ?Fan: ? ? ? 1202 ? ?RPM
>> OUTL Fan: ? ? ? 288 ? ? RPM
>> +12 ?Volts: ? ? 11.965 ?V
>> +5 ? Volts: ? ? 5.021 ? V
>> +3.3 Volts: ? ? 3.316 ? V
>> MCH ?Vccp: ? ? ?1.122 ? V
>> CPU1 Vccp: ? ? ?1.125 ? V
>>
>> Justin I know is not based on released SDK of Intel but maybe you
>> still want to do some tests ?:)
>
> Hi,
>
> I upgraded my system and have a new board now, I do have another system that
> uses the same board (DG965WH) if you have a patch/URL with the software I
> can give it a run.

The file was attached ..

Just do:

gcc -o heci-qst heci-qst-linux.c

>
> Justin.

Gabriel

2010-01-04 14:22:59

by Justin Piszcz

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)



On Mon, 4 Jan 2010, Gabriel C wrote:

>>>
>>> Today I'm out from hospital so I've decided to quick hack this tool
>>> and make it work on Linux.
>>>
>>> Here the output from my DQ45CB mobo:
>>>
>>> crazy@thor:~/INTEL/QST/Li$ sudo ./heci-qst
>>> CPU ?Temp: ? ? ?56.00 ? ?C
>>> MB ? Temp: ? ? ?31.14 ? ?C
>>> ICH ?Temp: ? ? ?67.37 ? ?C
>>> MCH ?Temp: ? ? ?66.00 ? ?C
>>> CPU ?Fan: ? ? ? 1080 ? ?RPM
>>> INL ?Fan: ? ? ? 1202 ? ?RPM
>>> OUTL Fan: ? ? ? 288 ? ? RPM
>>> +12 ?Volts: ? ? 11.965 ?V
>>> +5 ? Volts: ? ? 5.021 ? V
>>> +3.3 Volts: ? ? 3.316 ? V
>>> MCH ?Vccp: ? ? ?1.122 ? V
>>> CPU1 Vccp: ? ? ?1.125 ? V
>>>
>>> Justin I know is not based on released SDK of Intel but maybe you
>>> still want to do some tests ?:)

DMI Info:

Handle 0x0004, DMI type 0, 24 bytes
BIOS Information
Vendor: Intel Corp.
Version: MQ96510J.86A.1754.2008.1117.0002

Handle 0x0006, DMI type 2, 20 bytes
Base Board Information
Manufacturer: Intel Corporation
Product Name: DG965WH
Version: AAD41692-304

Cool, first time I have ever seen this =)

# ./heci-qst-linux
CPU Temp: 36.55 ?C
MB Temp: 38.75 ?C
MCH Temp: 33.89 ?C
04: 64.90 ?C
05: 46.25 ?C
CPU Fan: 836 RPM
INL Fan: 1362 RPM
OUTL Fan: 836 RPM
AUX Fan: 2600 RPM
+12 Volts: 12.029 V
+5 Volts: 4.949 V
+3.3 Volts: 3.247 V
MCH Vccp: 1.260 V
CPU1 Vccp: 1.180 V

It appears to work.

Thanks,

Justin.

2010-01-04 14:44:01

by Gabriel C

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)

2010/1/4 Justin Piszcz <[email protected]>:
>
>
> On Mon, 4 Jan 2010, Gabriel C wrote:
>
>>>>
>>>> Today I'm out from hospital so I've decided to quick hack this tool
>>>> and make it work on Linux.
>>>>
>>>> Here the output from my DQ45CB mobo:
>>>>
>>>> crazy@thor:~/INTEL/QST/Li$ sudo ./heci-qst
>>>> CPU ?Temp: ? ? ?56.00 ? ?C
>>>> MB ? Temp: ? ? ?31.14 ? ?C
>>>> ICH ?Temp: ? ? ?67.37 ? ?C
>>>> MCH ?Temp: ? ? ?66.00 ? ?C
>>>> CPU ?Fan: ? ? ? 1080 ? ?RPM
>>>> INL ?Fan: ? ? ? 1202 ? ?RPM
>>>> OUTL Fan: ? ? ? 288 ? ? RPM
>>>> +12 ?Volts: ? ? 11.965 ?V
>>>> +5 ? Volts: ? ? 5.021 ? V
>>>> +3.3 Volts: ? ? 3.316 ? V
>>>> MCH ?Vccp: ? ? ?1.122 ? V
>>>> CPU1 Vccp: ? ? ?1.125 ? V
>>>>
>>>> Justin I know is not based on released SDK of Intel but maybe you
>>>> still want to do some tests ?:)
>
> DMI Info:
>
> Handle 0x0004, DMI type 0, 24 bytes
> BIOS Information
> ? ? ? ?Vendor: Intel Corp.
> ? ? ? ?Version: MQ96510J.86A.1754.2008.1117.0002
>
> Handle 0x0006, DMI type 2, 20 bytes
> Base Board Information
> ? ? ? ?Manufacturer: Intel Corporation
> ? ? ? ?Product Name: DG965WH
> ? ? ? ?Version: AAD41692-304
>
> Cool, first time I have ever seen this =)
>
> # ./heci-qst-linux CPU ?Temp: ? ? ?36.55 ? ?C
> MB ? Temp: ? ? ?38.75 ? ?C
> MCH ?Temp: ? ? ?33.89 ? ?C
> 04: ? ? 64.90 ? ?C
> 05: ? ? 46.25 ? ?C
> CPU ?Fan: ? ? ? 836 ? ? RPM
> INL ?Fan: ? ? ? 1362 ? ?RPM
> OUTL Fan: ? ? ? 836 ? ? RPM
> AUX ?Fan: ? ? ? 2600 ? ?RPM
> +12 ?Volts: ? ? 12.029 ?V
> +5 ? Volts: ? ? 4.949 ? V
> +3.3 Volts: ? ? 3.247 ? V
> MCH ?Vccp: ? ? ?1.260 ? V
> CPU1 Vccp: ? ? ?1.180 ? V
>
> It appears to work.
>
> Thanks,

NP :)

Anyway It seems like ICH8* has some different output .. can't tell yet
without docs =)

Please open heci-qst-linux.c and find :


const char * const temp_names[THERM_SENSOR_COUNT] = {
...

Change to look like this :


const char * const temp_names[THERM_SENSOR_COUNT] = {
? ? ? ?"CPU ?Temp",
? ? ? ?"MB1 ?Temp",
? ? ? ? NULL,
? ? ? ?"MB2 ?Temp",
? ? ? ?"ICH ?Temp",
? ? ? ?"MCH ?Temp",
? ? ? ?NULL,
? ? ? ?NULL,
? ? ? ?NULL,
? ? ? ?NULL,
? ? ? ?NULL,
? ? ? ?NULL,
};


Also can you post a lspci -nn please :)

>
> Justin.
>


Gabriel

2010-01-04 14:55:46

by Justin Piszcz

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)



On Mon, 4 Jan 2010, Gabriel C wrote:

> 2010/1/4 Justin Piszcz <[email protected]>:
>
> Anyway It seems like ICH8* has some different output .. can't tell yet
> without docs =)
>
> Please open heci-qst-linux.c and find :
>
>
> const char * const temp_names[THERM_SENSOR_COUNT] = {
> ...
>
> Change to look like this :
>
>
> const char * const temp_names[THERM_SENSOR_COUNT] = {
> ? ? ? ?"CPU ?Temp",
> ? ? ? ?"MB1 ?Temp",
> ? ? ? ? NULL,
> ? ? ? ?"MB2 ?Temp",
> ? ? ? ?"ICH ?Temp",
> ? ? ? ?"MCH ?Temp",
> ? ? ? ?NULL,
> ? ? ? ?NULL,
> ? ? ? ?NULL,
> ? ? ? ?NULL,
> ? ? ? ?NULL,
> ? ? ? ?NULL,
> };

Done:

# ./heci-qst-linux
CPU Temp: 34.37 ?C
MB1 Temp: 37.75 ?C
MB2 Temp: 34.89 ?C
ICH Temp: 65.59 ?C
MCH Temp: 46.25 ?C
CPU Fan: 840 RPM
INL Fan: 1398 RPM
OUTL Fan: 839 RPM
AUX Fan: 2607 RPM
+12 Volts: 12.040 V
+5 Volts: 4.954 V
+3.3 Volts: 3.247 V
MCH Vccp: 1.258 V
CPU1 Vccp: 1.165 V

> Also can you post a lspci -nn please :)
# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82P965/G965 Memory Controller Hub [8086:29a0] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82P965/G965 PCI Express Root Port [8086:29a1] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82G965 Integrated Graphics Controller [8086:29a2] (rev 02)
00:03.0 Communication controller [0780]: Intel Corporation 82P965/G965 HECI Controller [8086:29a4] (rev 02)
00:19.0 Ethernet controller [0200]: Intel Corporation 82566DC Gigabit Network Connection [8086:104b] (rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 02)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 02)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev f2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HH (ICH8DH) LPC Interface Controller [8086:2812] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA AHCI Controller [8086:2821] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 02)
01:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II [11ab:7042] (rev 02)
03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface [11ab:6101] (rev b1)
04:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller [1095:3132] (rev 01)
05:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller [1095:3132] (rev 01)
06:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller [1095:3132] (rev 01)
07:00.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
07:01.0 Ethernet controller [0200]: Intel Corporation 82541GI Gigabit Ethernet Controller [8086:1076]
07:02.0 Mass storage controller [0180]: Promise Technology, Inc. PDC40718 (SATA 300 TX4) [105a:3d17] (rev 02)
07:03.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) [104c:8023]

Justin.

2010-01-04 15:07:14

by Gabriel C

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)

2010/1/4 Justin Piszcz <[email protected]>:
>
>
> On Mon, 4 Jan 2010, Gabriel C wrote:
>
>> 2010/1/4 Justin Piszcz <[email protected]>:
>>
>> Anyway It seems like ICH8* has some different output .. can't tell yet
>> without docs =)
>>
>> Please open heci-qst-linux.c and find :
>>
>>
>> const char * const temp_names[THERM_SENSOR_COUNT] = {
>> ...
>>
>> Change to look like this :
>>
>>
>> const char * const temp_names[THERM_SENSOR_COUNT] = {
>> ? ? ? ?"CPU ?Temp",
>> ? ? ? ?"MB1 ?Temp",
>> ? ? ? ? NULL,
>> ? ? ? ?"MB2 ?Temp",
>> ? ? ? ?"ICH ?Temp",
>> ? ? ? ?"MCH ?Temp",
>> ? ? ? ?NULL,
>> ? ? ? ?NULL,
>> ? ? ? ?NULL,
>> ? ? ? ?NULL,
>> ? ? ? ?NULL,
>> ? ? ? ?NULL,
>> };
>
> Done:
>
> # ./heci-qst-linux CPU Temp: ? ? ? 34.37 ? ?C
> MB1 Temp: ? ? ? 37.75 ? ?C
> MB2 Temp: ? ? ? 34.89 ? ?C
> ICH Temp: ? ? ? 65.59 ? ?C
> MCH Temp: ? ? ? 46.25 ? ?C
> CPU ?Fan: ? ? ? 840 ? ? RPM
> INL ?Fan: ? ? ? 1398 ? ?RPM
> OUTL Fan: ? ? ? 839 ? ? RPM
> AUX ?Fan: ? ? ? 2607 ? ?RPM
> +12 ?Volts: ? ? 12.040 ?V
> +5 ? Volts: ? ? 4.954 ? V
> +3.3 Volts: ? ? 3.247 ? V
> MCH ?Vccp: ? ? ?1.258 ? V
> CPU1 Vccp: ? ? ?1.165 ? V
>


Ok that looks now right for your HW.

>> Also can you post a lspci -nn please :)
>
> # lspci -nn
> 00:00.0 Host bridge [0600]: Intel Corporation 82P965/G965 Memory Controller
> Hub [8086:29a0] (rev 02)
> 00:01.0 PCI bridge [0604]: Intel Corporation 82P965/G965 PCI Express Root
> Port [8086:29a1] (rev 02)
> 00:02.0 VGA compatible controller [0300]: Intel Corporation 82G965
> Integrated Graphics Controller [8086:29a2] (rev 02)
> 00:03.0 Communication controller [0780]: Intel Corporation 82P965/G965 HECI
> Controller [8086:29a4] (rev 02)
> 00:19.0 Ethernet controller [0200]: Intel Corporation 82566DC Gigabit
> Network Connection [8086:104b] (rev 02)
> 00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB
> UHCI Controller #4 [8086:2834] (rev 02)
> 00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB
> UHCI Controller #5 [8086:2835] (rev 02)
> 00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2
> EHCI Controller #2 [8086:283a] (rev 02)
> 00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio
> Controller [8086:284b] (rev 02)
> 00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
> Express Port 1 [8086:283f] (rev 02)
> 00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
> Express Port 2 [8086:2841] (rev 02)
> 00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
> Express Port 3 [8086:2843] (rev 02)
> 00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
> Express Port 4 [8086:2845] (rev 02)
> 00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
> Express Port 5 [8086:2847] (rev 02)
> 00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB
> UHCI Controller #1 [8086:2830] (rev 02)
> 00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB
> UHCI Controller #2 [8086:2831] (rev 02)
> 00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB
> UHCI Controller #3 [8086:2832] (rev 02)
> 00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2
> EHCI Controller #1 [8086:2836] (rev 02)
> 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e]
> (rev f2)
> 00:1f.0 ISA bridge [0601]: Intel Corporation 82801HH (ICH8DH) LPC Interface
> Controller [8086:2812] (rev 02)
> 00:1f.2 SATA controller [0106]: Intel Corporation 82801HR/HO/HH
> (ICH8R/DO/DH) 6 port SATA AHCI Controller [8086:2821] (rev 02)
> 00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus
> Controller [8086:283e] (rev 02)
> 01:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd.
> 88SX7042 PCI-e 4-port SATA-II [11ab:7042] (rev 02)
> 03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6101
> single-port PATA133 interface [11ab:6101] (rev b1)
> 04:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA
> Raid II Controller [1095:3132] (rev 01)
> 05:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA
> Raid II Controller [1095:3132] (rev 01)
> 06:00.0 RAID bus controller [0104]: Silicon Image, Inc. SiI 3132 Serial ATA
> Raid II Controller [1095:3132] (rev 01)
> 07:00.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit
> Ethernet Controller [8086:100e] (rev 02)
> 07:01.0 Ethernet controller [0200]: Intel Corporation 82541GI Gigabit
> Ethernet Controller [8086:1076]
> 07:02.0 Mass storage controller [0180]: Promise Technology, Inc. PDC40718
> (SATA 300 TX4) [105a:3d17] (rev 02)
> 07:03.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB22/A
> IEEE-1394a-2000 Controller (PHY/Link) [104c:8023]
>

Thx :)

> Justin.
>

Gabriel

2010-01-13 08:34:52

by Andriy Gapon

[permalink] [raw]
Subject: Re: [lm-sensors] Status/support for Linux HECI from Intel? (for temp/voltage monitoring)

on 04/01/2010 15:51 Gabriel C said the following:
> @Andriy there is a smallish bug in your original code .. you should
> use ..... , abs(value) ...., abs(value) ...);
> that will solve the negative CPU TEMP values you get with your version.

I wasn't sure about this, my impression was that negative temperatures were
offsets from some threshold. E.g. Tcur - Tcrit. In my case I saw negative
temperature only for CPU which fitted the hypothesis.

--
Andriy Gapon