January 30th, 2010
[Tips] IT8720 super i/o fixing readout in lm_sensors with 2.6.31 kernel
Computer Hardware & Software, Tips & trick, by brigs.
High performance system usually need to be temperature monitoring everyday to preventing from hardware failure by the overseeding heat trap. In Windows mode like Windows 7 or Vista, we don’t founding hard problem with hardware monitoring software but somehow we must spent extratime to patch for working experience in opensource operating system like linux does.
Many Linux distribution still using same low level driver monitor likes lm_sensors for super i/o hardware monitoring readout. We can using 3th party linux distribution package help for GUI (graphics user interface) windows mode if you like some eyecandy in your desktop. The problem appears in new 2.6.31 kernel if we working with it87 driver in lm_sensors configuration
$ modprobe it87
FATAL: Error inserting it87 (/lib/modules/2.6.31.8-0.1-desktop/kernel/drivers/hwmon/it87.ko): Device or resource busy
There is kindly like little buggy kernel ACPI driver conflict that must registered first from BIOS code.
Hardware spesification for testing purpose
CPU Intel Core i5 750 @4Ghz cooled by Cogage Arrow with dual 12cm high performance fan (push pull)
Motherboard Biostar Tpower i55 with ITE 8720 Super I/O chipset
Memory 2×2Gb Team Extreme LV PC15000 CL8
Forsa Geforce 9600GT
WD Black 1Tb
PC Power & Cooling 750W
For Linux operating system and testing i using Opensuse 11.2 x64 that upgrading with 2.6.31.8-0.1-desktop kernel.
… And here a simple step for answering the problem
1. Download and install lm_sensors driver and 3th party program if u like
$ sudo zypper in sensors gkrellm ksensors conky
2. Configuring them with (root console)
$ sensors-detect
Shutting down sensors: done
# sensors-detect revision 5729 (2009-06-02 15:51:29 +0200)
# System: BIOSTAR Group TPower I55
This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions, unless you know what you’re doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Silicon Integrated Systems SIS5595… No
VIA VT82C686 Integrated Sensors… No
VIA VT8231 Integrated Sensors… No
AMD K8 thermal sensors… No
AMD K10 thermal sensors… No
Intel Core family thermal sensor… No
Intel AMB FB-DIMM thermal sensor… No
VIA C7 thermal and voltage sensors… No
…..
3. Put my sensors code if you have the same motherboard in /etc/sensors3.conf or you can custom name for different sensors source. You can compare your source sensors from windows based software monitoring or from the Bios itself
######### BIOSTAR TPOWER I55 V.1.1 IT 8720 SUPER I/O ##########
chip “it87-*” “it8712-*” “it8716-*” “it8718-*” “it8720-*”
label in0 “V-CPU”
label in1 “V-PCH”
label in2 “V-VTT”
label in3 “+5V”
label in4 “V-MCH”
label in5 “V-Dimm”
label in6 “V-PLL”
label in7 “+5VSB”
label in8 “VBat”# in0 will depend on your processor VID value, set to voltage specified in
# bios setup screen
# set in0_min 1.2 * 0.95
# set in0_max 1.2 * 1.05
# set in1_min 1.05 * 0.95
# set in1_max 1.05 * 0.95
# set in2_min 3.3 * 0.95
# set in2_max 3.3 * 1.05
# set in3_min 5.0 * 0.95
# set in3_max 5.0 * 1.05
# +- 12V are very poor tolerance on this board. Verified with voltmeter
# set in4_min 12 * 0.90
# set in4_max 12 * 1.10
# set in5_min 3.3 * 0.95
# set in5_max 3.3 * 1.05
# set in6_max -12 * 0.90
# set in6_min -12 * 1.10
# set in7_min 5 * 0.95
# set in7_max 5 * 1.05
# vid not monitored by IT8705Fignore cpu0_vid
compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1)
# compute in4 ((30/10) +1)*@ , @/((30/10) +1)
# compute in6 (1+232/56)*@ – 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)# Temperature
ignore temp1
label temp2 “System Temp”
label temp3 “CPU Temp”# Fans
# The CPU fan can be any of fan1, fan2 or fan3 – it’s motherboard
# dependent. Same for the case fan.label fan1 “CPU Fan”
label fan2 “System Fan1″
label fan3 “System Fan2″
# set fan1_min 2000
# set fan2_min 2000
And here sensors3.conf for w83627ehf and w83l786ng for J&W P45D2 ultra motherboard. You don’t have to fix ACPI boot for winbond base I/O chip (ignore step 4)
# Winbond W83627EHF configuration by brigs lab’s
# This is for an J&W P45D2 Ultrachip “w83627ehf-*” “w83627dhg-*”label in0 “VCore”label in1 “Vdimm”label in2 “AVCC”label in3 “+3.3V”label in4 “VMCH”label in5 “VICH”label in6 “VTT”label in7 “VSB”label in8 “VBAT”# The W83627DHG has no in9, uncomment the following lineignore in9# Vdimm readout in1compute in1 @*(1+(10/10)), @/(1+(10/10))# compute in6 @*(1+(22/10)), @/(1+(22/10))set in0_min 1.25*0.75set in0_max 1.25*1.25set in1_min 1.8*0.9set in1_max 1.8*1.5# set in2_min 3.3*0.95# set in2_max 3.3*1.05set in3_min 3.3*0.95set in3_max 3.3*1.05set in4_min 1.1*0.95set in4_max 1.1*1.25set in5_min 1.5*0.95set in5_max 1.5*1.1set in6_min 1.2*0.95set in6_max 1.2*1.1set in7_min 3.3*0.95set in7_max 3.3*1.05set in8_min 3.0*0.95set in8_max 3.0*1.05# Fanslabel fan1 ”Case Fan”label fan2 ”CPU Fan”label fan3 ”Aux Fan”ignore fan5ignore fan4# set fan1_min 1200# set fan2_min 1700# Temperatureslabel temp1 “Sys Temp”label temp2 “CPU Temp”label temp3 “AUX Temp”# ignore temp3# set temp1_over 45# set temp1_hyst 40# set temp2_over 45# set temp2_hyst 40chip “w83l786ng-*”label in0 “+5V”label in1 “+12V”ignore in2ignore fan1ignore fan2ignore temp1ignore temp2compute in0 @*(1+(36.5/10)), @/(1+(36.5/10))compute in1 @*(1+(61.5/10)), @/(1+(61.5/10))set in0_min 5.0*0.95set in0_max 5.0*1.05set in1_min 12*0.95set in1_max 12*1.05
update : 30 March 2010
# Fintek F71882FG configuration by brigs lab’s
# This is for an Jetway HA-07 Ultra
chip “f71882fg-*”label in0 “+3.3V”
label in1 “VCore”
label in2 “V-NB”
ignore in3
label in4 “+5V”
label in5 “+12V”
label in6 “Vdimm”
label in7 “3VSB”
label in8 “Vbat”compute in0 @*2, @/2
compute in4 @*4.5, @/4.5
compute in5 @*13, @/13
compute in6 @*2, @/2
compute in7 @*2, @/2
compute in8 @*2, @/2# Fans
label fan1 “CPU Fan”
label fan2 “Fan 1″
label fan3 “Fan 2″
label fan4 “Fan 3″
# set fan1_min 1200
# set fan2_min 1700# Temperatures
label temp1 “CPU Temp”
label temp2 “SYS Temp”
label temp3 “NB Temp”
4. Fixing ACPI boot problem with add lines in kernel boot option menu.1st and don’t forget to put lm_sensors daemon in startup
acpi_enforce_resources=lax
5. Now you can test your system sensor monitoring in your console, like i said above you can adding some flavour for better looking in your desktop like gkrellm or conky scripting.

conky














Responses to “[Tips] IT8720 super i/o fixing readout in lm_sensors with 2.6.31 kernel”
Leave a Reply