Skip to contentSkip to conversation

GM965 IGP temperature detector

lm-sensors lu zhihe 2 participants 4 messages Oct 26, 2008 – Nov 5, 2008

lore
Share & tools
lore

lu zhihe

author
#0 lore raw

Dear all:

I just write a little tool to detect my GM965 IGP's temperatue, it
bases on coreboot's inteltool.
Several people try it ,and it seems work.
Do you think it can be adapt to Lm-sensors ?
It just use PCI read/write, maybe don't fall on i2c,isa or acpi bus.

The code is here:

http://www.coreboot.org/pipermail/coreboot/attachments/20081026/0f52e1e7/attachment-0001.gz

It's format is tar.gz

Signature · 3 lines
Thx

Lu Zhihe

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 7 lines · lu zhihe

Dear all:

I just write a little tool to detect my GM965 IGP's temperatue, it
bases on coreboot's inteltool.
Several people try it ,and it seems work.
Do you think it can be adapt to Lm-sensors ?
It just use PCI read/write, maybe don't fall on i2c,isa or acpi bus.

Yes, it should be easy to adapt to lm-sensors, all you need to do is move the code to a Linux kernel driver and add sysfs attributes to export the temperature to users-space.

The fact that this is a PCI device isn't a problem at all, we already have several hwmon drivers for PCI devices: k8temp, sis5595, via686a, vt8231 and, I believe, i5k_amb.

Quoted 5 lines

The code is here:

http://www.coreboot.org/pipermail/coreboot/attachments/20081026/0f52e1e7/attachment-0001.gz

It's format is tar.gz

A couple notes:

* You make use of PCI_FILL_CLASS while as far as I can tell you don't need it. This prevents your tool from building with older pci header files so you may want to stop using it.

* On my laptop with an ICH7, the tool reports "Your GPU temperature is under 40 degrees Centigrade". This laptop has an ATI Radeon graphics chip so the Intel IGP isn't used. So I am curious if the value returned by your tool is meaningful or not?

* Note that the correct unit name is degree Celsius, not degree Centigrade.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#2 lore raw
In reply to lu zhihe

Dear Jean:

Thank you for your advises.

Maybe your north bridge is GM945? And the support for GM945 is under
development, according to Intel's datasheet, it only report mem. temperature. On some 945G the vaule is always 0xFF. I had update the "calibrated current temperature" transfer to "degree Celsius" by refer to Intel's earlier document.

2008/11/2 Delvare <[email protected]>

Quoted 42 lines · lu zhihe
Quoted 7 lines

Dear all:

I just write a little tool to detect my GM965 IGP's temperatue, it
bases on coreboot's inteltool.
Several people try it ,and it seems work.
Do you think it can be adapt to Lm-sensors ?
It just use PCI read/write, maybe don't fall on i2c,isa or acpi

bus.

Yes, it should be easy to adapt to lm-sensors, all you need to do is move the code to a Linux kernel driver and add sysfs attributes to export the temperature to users-space.

The fact that this is a PCI device isn't a problem at all, we already have several hwmon drivers for PCI devices: k8temp, sis5595, via686a, vt8231 and, I believe, i5k_amb.

Quoted 3 lines

The code is here:

http://www.coreboot.org/pipermail/coreboot/attachments/20081026/0f52e1e7/attachment-0001.gz

Quoted 2 lines

It's format is tar.gz

A couple notes:

* You make use of PCI_FILL_CLASS while as far as I can tell you don't need it. This prevents your tool from building with older pci header files so you may want to stop using it.

* On my laptop with an ICH7, the tool reports "Your GPU temperature is under 40 degrees Centigrade". This laptop has an ATI Radeon graphics chip so the Intel IGP isn't used. So I am curious if the value returned by your tool is meaningful or not?

* Note that the correct unit name is degree Celsius, not degree Centigrade.

--
Jean Delvare

Signature · 3 lines
Thx

Lu Zhihe

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to lu zhihe
Quoted 3 lines · lu zhihe

Maybe your north bridge is GM945? And the support for GM945 is under
development, according to Intel's datasheet, it only report mem. temperature. On some 945G the vaule is always 0xFF.

Your tool says:
Intel Northbridge: 8086:27a0 (i945)

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors