Skip to contentSkip to conversation

sensors.conf for DFI LP MI P55-T36 (it8720-*)

lm-sensors Lars Kr.Lundin 2 participants 12 messages Jun 6, 2010 – Jun 27, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I have created a sensors.conf for my
DFI LP MI P55-T36 board at
http://www.eso.org/~llundin/sff/sensors.conf

- please feel free to

1) include into the lm-sensors project anything
from this file that is deemed useful.

2) post corrections and improvements to the configuration.

Many thanks,
-Lars Lundin.

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

#1 lore raw

Hi Lars,

Quoted 10 lines · Lars Kr.Lundin

Hi,

I have created a sensors.conf for my
DFI LP MI P55-T36 board at
http://www.eso.org/~llundin/sff/sensors.conf

- please feel free to

1) include into the lm-sensors project anything
from this file that is deemed useful.

I've added a copy of your configuration file at:
http://www.lm-sensors.org/wiki/Configurations/DFI/Lanparty%20MI%20P55-T36

Quoted 5 lines

2) post corrections and improvements to the configuration.

Many thanks,
-Lars Lundin.

Thank YOU for your contribution :)

Signature · 6 lines
Jean Delvare

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

Hi Lars,

Quoted 10 lines · Lars Kr.Lundin

I have created a sensors.conf for my
DFI LP MI P55-T36 board at
http://www.eso.org/~llundin/sff/sensors.conf

- please feel free to

1) include into the lm-sensors project anything
from this file that is deemed useful.

2) post corrections and improvements to the configuration.

Could you please provide a dump of the configuration register space of your chip? I'd like to check something:

# isaset -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7

(If it doesn't work, try with 0x4e 0x4f instead of 0x2e 0x2f.)

Together with the output of "sensors", and the revision of your chip (printed in the kernel logs when you load the it87 driver).

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#3 lore raw
In reply to Lars Kr.Lundin
Quoted 5 lines · Jean Delvare

Hi Lars,

Could you please provide a dump of the configuration register space of your chip? I'd like to check something:

Hi Jean,

Thanks for your interest in this board.

Quoted 3 lines
# isaset -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7

The -k option is not supported by /usr/sbin/isaset under Ubuntu 10.04:

$ sudo isaset
Syntax for I2C-like access:
  isaset [-y] ADDRREG DATAREG ADDRESS VALUE [MASK]
Syntax for flat address space:
  isaset [-y] -f ADDRESS VALUE [MASK]
Quoted 2 lines

Together with the output of "sensors", and the revision of your chip (printed in the kernel logs when you load the it87 driver).

$ grep it87 /var/log/dmesg
[    3.992279] it87: Found IT8720F chip at 0xa10, revision 8
[    3.992288] it87: in3 is VCC (+5V)
[    3.992290] it87: in7 is VCCH (+5V Stand-By)
$ sensors
it8720-isa-0a10
Adapter: ISA adapter
Vcore:        +0.90 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
Vtt:          +1.15 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
+3.30V:       +3.28 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
in3:          +2.91 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
in4:          +2.83 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
CPU PLL:      +1.81 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
DRAM Voltage: +1.65 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
in7:          +2.90 V  (min =  +4.08 V, max =  +4.08 V)   ALARM
Vbat:         +3.36 V
PWM fan:        0 RPM  (min =    0 RPM)
CPU fan:      448 RPM  (min =    0 RPM)
PCH Temp:     +43.0���C  (low  =  -1.0���C, high =  -1.0���C)  ALARM  sensor = thermistor
PWM Temp:     +43.0���C  (low  =  -1.0���C, high =  -1.0���C)  ALARM  sensor = thermistor
CPU Temp:     +30.0���C  (low  = +13.0���C, high = +13.0���C)  ALARM  sensor = disabled
cpu0_vid:    +1.300 V
Quoted 4 lines

Thanks,
--
Jean Delvare

You are welcome to ask for other tests.

-Lars Lundin.

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

#4 lore raw
In reply to Lars Kr.Lundin
Quoted 15 lines · Lars Kr.Lundin
Quoted 5 lines · Jean Delvare

Hi Lars,

Could you please provide a dump of the configuration register space of your chip? I'd like to check something:

Hi Jean,

Thanks for your interest in this board.

Quoted 3 lines
# isaset -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7
Quoted 7 lines

The -k option is not supported by /usr/sbin/isaset under Ubuntu 10.04:

$ sudo isaset
Syntax for I2C-like access:
  isaset [-y] ADDRREG DATAREG ADDRESS VALUE [MASK]
Syntax for flat address space:
  isaset [-y] -f ADDRESS VALUE [MASK]

My mistake, the -k is correct, what's not is the command name. Please try instead:

# isadump -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#5 lore raw
In reply to Lars Kr.Lundin
Quoted 7 lines · Jean Delvare

try instead:

# isadump -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7

Thanks,
--
Jean Delvare

$ sudo isadump -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
20: 87 20 08 00 00 01 fe 30 43 10 00 00 1f 00 00 00 
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60: 00 00 0a 20 0a 30 00 00 00 00 00 00 00 00 00 00 
70: 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
b0: 00 00 00 00 00 00 00 00 20 00 70 30 00 00 00 00 
c0: 01 42 30 01 00 00 00 00 01 42 30 01 00 00 00 00 
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
e0: 00 00 00 00 00 00 00 00 00 03 03 03 00 3e 3e 0c 
f0: 00 00 00 00 00 00 40 00 00 00 00 00 cf 00 00 00 

(I have to wonder what one can learn from the above :-)

-Lars Lundin.

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

#6 lore raw
In reply to Lars Kr.Lundin

Hi Lars,

Quoted 29 lines · Lars Kr.Lundin
Quoted 7 lines · Jean Delvare

try instead:

# isadump -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7

Thanks,
--
Jean Delvare

$ sudo isadump -y -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
20: 87 20 08 00 00 01 fe 30 43 10 00 00 1f 00 00 00 
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60: 00 00 0a 20 0a 30 00 00 00 00 00 00 00 00 00 00 
70: 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
b0: 00 00 00 00 00 00 00 00 20 00 70 30 00 00 00 00 
c0: 01 42 30 01 00 00 00 00 01 42 30 01 00 00 00 00 
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
e0: 00 00 00 00 00 00 00 00 00 03 03 03 00 3e 3e 0c 
f0: 00 00 00 00 00 00 40 00 00 00 00 00 cf 00 00 00 
Quoted 1 line

(I have to wonder what one can learn from the above :-)

I was specifically interested in the value of register 0x1f. the lower 2 bits control internal routing and scaling of in3 and in7. The IT8720F datasheet documents the default value of this register as 0x03, but many boards I've see had value 0x01, which isn't correct because in7 should _always_ be routed internally (the chip has no physical pin for in7!).

The bottom line is that your chip is properly configured and won't be affected by the fix I'm working on.

Also note that you could improve your configuration file by adding the following:

   label  in3  "+5V"
   label  in7  "5VSB"
   compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
   compute  in7  @ * (6.8/10+1), @ / (6.8/10+1)

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#7 lore raw
In reply to Lars Kr.Lundin

Hi Lars,

Quoted 10 lines · Jean Delvare

I was specifically interested in the value of register 0x1f. the lower 2 bits control internal routing and scaling of in3 and in7. The IT8720F datasheet documents the default value of this register as 0x03, but many boards I've see had value 0x01, which isn't correct because in7 should _always_ be routed internally (the chip has no physical pin for in7!).

The bottom line is that your chip is properly configured and won't be affected by the fix I'm working on.

Quoted 7 lines

Also note that you could improve your configuration file by adding the following:

   label  in3  "+5V"
   label  in7  "5VSB"
   compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
   compute  in7  @ * (6.8/10+1), @ / (6.8/10+1)

Oh, and while we're here, in4 is +12V. This is confirmed by this snapshot I've found:
http://img19.imageshack.us/img19/6122/dmip55os2.png

The only missing thing is the scaling factor. Apparently it's not the standard one, otherwise it would read between +10.48 V and +11.32 V on your system, which is definitely too low.

Is +12V really not displayed in the hardware monitoring section of your BIOS? This is very surprising.

I suppose you don't have Windows running on your machine for comparison with the DFI software?

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#8 lore raw
In reply to Lars Kr.Lundin
Quoted 2 lines · Jean Delvare
Quoted 2 lines

The bottom line is that your chip is properly configured and won't be affected by the fix I'm working on.

Many thanks for doing this.

Quoted 8 lines
Quoted 8 lines

Also note that you could improve your configuration file by adding the following:

   label  in3  "+5V"
   label  in7  "5VSB"
   compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
   compute  in7  @ * (6.8/10+1), @ / (6.8/10+1)

Thanks! I have updated my sensors.conf at
http://www.eso.org/~llundin/sff/sensors.conf

For in[01256] I assumed that the reported value _is_ the voltage. Is this a valid assumption?

Quoted 11 lines

Oh, and while we're here, in4 is +12V. This is confirmed by this snapshot I've found:
http://img19.imageshack.us/img19/6122/dmip55os2.png

The only missing thing is the scaling factor. Apparently it's not the standard one, otherwise it would read between +10.48 V and +11.32 V on your system, which is definitely too low.

Is +12V really not displayed in the hardware monitoring section of your BIOS? This is very surprising.

The +12V is displayed in the BIOS, an example readout is 11.776V, see
http://www.eso.org/~llundin/sff/p1010501_800x600.jpg

Based on your comments it is now apparent that the voltages displayed in the BIOS are reported by sensors in the exact same order. I guess I didn't realize this because I didn't know that (some of) the voltages would need scaling by sensors.

In one case sensors report in4 as 2.62V. If you have a suggestion for how to determine the in4 scaling factor then I will be happy to help.

(I wonder if this could have the slightest relevance, but my board is powered by a 200W PW-200-M from MINI-Box).

Quoted 2 lines

I suppose you don't have Windows running on your machine for comparison with the DFI software?

No, I did my last Windows installation around 2002. Although I would like to help, I cannot say I am sorry about this.

Many thanks again for your interest, help and explanations, -Lars Lundin.
PS. Is there any effort to have LM sensors detect an Nvidia GPU temperature? I have a collection of (new and old) low-end Nvidia cards and would be happy to help.

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

#9 lore raw
In reply to Lars Kr.Lundin
Quoted 16 lines · Lars Kr.Lundin
Quoted 2 lines · Jean Delvare
Quoted 2 lines

The bottom line is that your chip is properly configured and won't be affected by the fix I'm working on.

Many thanks for doing this.

Quoted 8 lines
Quoted 8 lines

Also note that you could improve your configuration file by adding the following:

   label  in3  "+5V"
   label  in7  "5VSB"
   compute  in3  @ * (6.8/10+1), @ / (6.8/10+1)
   compute  in7  @ * (6.8/10+1), @ / (6.8/10+1)
Quoted 5 lines

Thanks! I have updated my sensors.conf at
http://www.eso.org/~llundin/sff/sensors.conf

For in[01256] I assumed that the reported value _is_ the voltage. Is this a valid assumption?

Yes it is. The IT8720F uses a 4V ADV, so all voltage lines below 3.5V can be monitored directly.

Quoted 9 lines
Quoted 9 lines

Oh, and while we're here, in4 is +12V. This is confirmed by this snapshot I've found:
http://img19.imageshack.us/img19/6122/dmip55os2.png

The only missing thing is the scaling factor. Apparently it's not the standard one, otherwise it would read between +10.48 V and +11.32 V on your system, which is definitely too low.

Quoted 6 lines
Quoted 3 lines

Is +12V really not displayed in the hardware monitoring section of your BIOS? This is very surprising.

The +12V is displayed in the BIOS, an example readout is 11.776V, see
http://www.eso.org/~llundin/sff/p1010501_800x600.jpg

Can you please wait a bit in this screen and try to gather other sample values for +12V? If you can gather 2 or 3 different samples, we may be able to guess the scaling factor.

Quoted 7 lines

Based on your comments it is now apparent that the voltages displayed in the BIOS are reported by sensors in the exact same order. I guess I didn't realize this because I didn't know that (some of) the voltages would need scaling by sensors.

In one case sensors report in4 as 2.62V. If you have a suggestion for how to determine the in4 scaling factor then I will be happy to help.

2.62V in sensors for 11.776V in the BIOS suggests a scaling factor of about 4.5. For something more accurate, we need more samples from both the BIOS (see above) and the it87 driver. "sensors" only displays 2 decimal places, so better get the exact reading from sysfs directly:

cat /sys/class/hwmon/hwmon*/device/in4_input

If you can gather 2 or 3 samples of each, finding the scaling factor should be reasonably easy.

Quoted 2 lines

(I wonder if this could have the slightest relevance, but my board is powered by a 200W PW-200-M from MINI-Box).

Wow, this is cute :) Yes, this probably explains why your voltages are rather below the average.

Quoted 5 lines
Quoted 2 lines

I suppose you don't have Windows running on your machine for comparison with the DFI software?

No, I did my last Windows installation around 2002. Although I would like to help, I cannot say I am sorry about this.

I fully understand :)

Quoted 5 lines

Many thanks again for your interest, help and explanations, -Lars Lundin.
PS. Is there any effort to have LM sensors detect an Nvidia GPU temperature? I have a collection of (new and old) low-end Nvidia cards and would be happy to help.

We can write the sensor chip drivers (and have done so for many
already: LM63, LM99 etc.) but the I2C access to these chips is the graphics driver's job. Which are improving over time in this respect, so it should work someday. I'm not actively working on this though (probably due to the lack of nVidia card in my systems.)

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#10 lore raw
In reply to Lars Kr.Lundin
Quoted 11 lines · Jean Delvare

Can you please wait a bit in this screen and try to gather other sample values for +12V? If you can gather 2 or 3 different samples, we may be able to guess the scaling factor.

2.62V in sensors for 11.776V in the BIOS suggests a scaling factor of about 4.5. For something more accurate, we need more samples from both the BIOS (see above) and the it87 driver. "sensors" only displays 2 decimal places, so better get the exact reading from sysfs directly:

Quoted 4 lines

cat /sys/class/hwmon/hwmon*/device/in4_input

If you can gather 2 or 3 samples of each, finding the scaling factor should be reasonably easy.

Good idea. I temporarily modified /usr/sbin/fancontrol to log the in4 to a file, so the values would be logged right before and after reboot, i.e. close in time to my BIOS readout.

The BIOS +12V readout changes in increments of 64mV and the in4 in increments of 16mV. The ratio between the values is exactly 4.

Quoted 5 lines
Quoted 2 lines

(I wonder if this could have the slightest relevance, but my board is powered by a 200W PW-200-M from MINI-Box).

Wow, this is cute :) Yes, this probably explains why your voltages are rather below the average.

Thanks. :-)

Since my BIOS +12V was quite a bit below 12V, I took the opportunity to increase the voltage of my external 12V PSU, since this caused the +12V to increase. The new +12V and in4 voltages also have a ratio of exactly 4.

Unfortunately, the in4 readout seems to indicate that the voltage on the +12V rail of my PW-200-M drops when the CPU goes from idle to fully loaded. With a short, thick (load-speaker) cable between the PW-200-M and the external 12V PSU this drop is 128mV, with a longer, thinner cable this drop can exceed 600mV. :-(

But now I can at least monitor my +12V via LM sensors. :-)

Quoted 5 lines

We can write the sensor chip drivers (and have done so for many
already: LM63, LM99 etc.) but the I2C access to these chips is the graphics driver's job. Which are improving over time in this respect, so it should work someday. I'm not actively working on this though (probably due to the lack of nVidia card in my systems.)

OK, thanks for the info.

I have updated
http://www.eso.org/~llundin/sff/sensors.conf
with the complete voltage labeling + scaling.

Many thanks for helping with this,
-Lars Lundin.
PS. I have one or two other mainboards. If I happen to find some new configuration info for them, what is the best way to provide that to the LM sensors project?

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

#11 lore raw
In reply to Lars Kr.Lundin
Quoted 17 lines · Lars Kr.Lundin
Quoted 11 lines · Jean Delvare

Can you please wait a bit in this screen and try to gather other sample values for +12V? If you can gather 2 or 3 different samples, we may be able to guess the scaling factor.

2.62V in sensors for 11.776V in the BIOS suggests a scaling factor of about 4.5. For something more accurate, we need more samples from both the BIOS (see above) and the it87 driver. "sensors" only displays 2 decimal places, so better get the exact reading from sysfs directly:

Quoted 4 lines

cat /sys/class/hwmon/hwmon*/device/in4_input

If you can gather 2 or 3 samples of each, finding the scaling factor should be reasonably easy.

Quoted 6 lines

Good idea. I temporarily modified /usr/sbin/fancontrol to log the in4 to a file, so the values would be logged right before and after reboot, i.e. close in time to my BIOS readout.

The BIOS +12V readout changes in increments of 64mV and the in4 in increments of 16mV. The ratio between the values is exactly 4.

This is the standard scaling factor then. Alright.

Quoted 27 lines
Quoted 6 lines
Quoted 3 lines

(I wonder if this could have the slightest relevance, but my board is powered by a 200W PW-200-M from MINI-Box).

Wow, this is cute :) Yes, this probably explains why your voltages are rather below the average.

Thanks. :-)

Since my BIOS +12V was quite a bit below 12V, I took the opportunity to increase the voltage of my external 12V PSU, since this caused the +12V to increase. The new +12V and in4 voltages also have a ratio of exactly 4.

Unfortunately, the in4 readout seems to indicate that the voltage on the +12V rail of my PW-200-M drops when the CPU goes from idle to fully loaded. With a short, thick (load-speaker) cable between the PW-200-M and the external 12V PSU this drop is 128mV, with a longer, thinner cable this drop can exceed 600mV. :-(

But now I can at least monitor my +12V via LM sensors. :-)

Quoted 5 lines

We can write the sensor chip drivers (and have done so for many
already: LM63, LM99 etc.) but the I2C access to these chips is the graphics driver's job. Which are improving over time in this respect, so it should work someday. I'm not actively working on this though (probably due to the lack of nVidia card in my systems.)

Quoted 5 lines

OK, thanks for the info.

I have updated
http://www.eso.org/~llundin/sff/sensors.conf
with the complete voltage labeling + scaling.

I've updated the lm-sensors.org wiki copy.

Quoted 5 lines

Many thanks for helping with this,
-Lars Lundin.
PS. I have one or two other mainboards. If I happen to find some new configuration info for them, what is the best way to provide that to the LM sensors project?

If you intend to become a regular contributor, we can create a wiki account for you. If not, just keep posting your findings to the discussion list and we'll take care.

Thanks,

Signature · 6 lines
Jean Delvare

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