|
Packit |
53d5b6 |
# Configuration file contributed by Martin Herrman.
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# LM-Sensors config file for Gigabyte GA-Z38MX-UD2H-B3 mainboard with
|
|
Packit |
53d5b6 |
# an Intel i5 Sandy Bridge quad core CPU installed.
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Tested with kernel 3.10.x and lm-sensors 3.3.x on Gentoo Linux.
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Created by Martin Herrman <martin@herrman.nl> with help from Jean Delvare
|
|
Packit |
53d5b6 |
# from the lm-sensors mailinglist.
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Questions, comments or additions? Please share on the lm-sensors mailinglist.
|
|
Packit Service |
5377e5 |
# More info at https://hwmon.wiki.kernel.org/feedbackandsupport
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Hint: Use sensors -u to list all variables.
|
|
Packit |
53d5b6 |
http://lists.lm-sensors.org/pipermail/lm-sensors/2014-January/040952.html
|
|
Packit |
53d5b6 |
chip "coretemp-*"
|
|
Packit |
53d5b6 |
# chip coretemp measures cpu temperatures from i5 CPU temperature sensor
|
|
Packit |
53d5b6 |
# _max, _crit and _crit_alarm are read from the cpu itself
|
|
Packit |
53d5b6 |
# when temp is at _max, all cooling options must be at full throttle
|
|
Packit |
53d5b6 |
# when temp is at _crit, cpu starts to fail
|
|
Packit |
53d5b6 |
# _crit_alarm is automatically set by hardware when _input is at or above _crit
|
|
Packit |
53d5b6 |
# libsensors currently doesn't support the trigger of a notification system
|
|
Packit |
53d5b6 |
label temp1 "CPU Package temp"
|
|
Packit |
53d5b6 |
label temp2 "Core 0"
|
|
Packit |
53d5b6 |
label temp3 "Core 1"
|
|
Packit |
53d5b6 |
label temp4 "Core 2"
|
|
Packit |
53d5b6 |
label temp5 "Core 3"
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# IT8728F is on the mainboard and provides voltages and cpu/case fan speed
|
|
Packit |
53d5b6 |
chip "it8728-*"
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# scythe kozuti min = 800
|
|
Packit |
53d5b6 |
# output of sensors will show ALARM (_alarm is set to 1) when actual fan
|
|
Packit |
53d5b6 |
# speed (_input) is below set minimum (_min). If _beep is set to 1, and
|
|
Packit |
53d5b6 |
# the motherboard is wired between the temperature sehttp://lists.lm-sensors.org/pipermail/lm-sensors/2014-January/040952.htmlnsor and the
|
|
Packit |
53d5b6 |
# PC speaker, the PC speaker will start beeping.
|
|
Packit |
53d5b6 |
# Unfortunately Gigabyte GA-Z68MX-UD2H-B3 is not properly wired.
|
|
Packit |
53d5b6 |
label fan1 "CPU fan"
|
|
Packit |
53d5b6 |
set fan1_min 800
|
|
Packit |
53d5b6 |
set fan1_beep 1
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# I don't have a case fan installed via PWM
|
|
Packit |
53d5b6 |
label fan2 "Case fan"
|
|
Packit |
53d5b6 |
#set fan2_min 1000
|
|
Packit |
53d5b6 |
#set fan2_beep 1
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Motherboard temps
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Note: tempX_type indicates the type of sensor and is set by the BIOS
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# When comparing temp1 and temp2 with BIOS value, temp1 seems to be similar to BIOS system temperature.
|
|
Packit |
53d5b6 |
# temp2 increases like temp1 does, so I assume that it is another case temp but not shown in BIOS.
|
|
Packit |
53d5b6 |
label temp1 "Case temp (shown in BIOS)"
|
|
Packit |
53d5b6 |
label temp2 "Case temp (hidden in BIOS)"
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# The reported values seem to be correct. No need to add offset or compute.
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Let's set some real world values for min and max
|
|
Packit |
53d5b6 |
set temp1_min 25
|
|
Packit |
53d5b6 |
set temp1_max 50
|
|
Packit |
53d5b6 |
set temp2_min 25
|
|
Packit |
53d5b6 |
set temp2_max 50
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Let's alarm when temperatures are outside range
|
|
Packit |
53d5b6 |
set temp1_beep 1
|
|
Packit |
53d5b6 |
set temp2_beep 1
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# temp3 increases when cpu high load, so assuming this is CPU temperature.
|
|
Packit |
53d5b6 |
label temp3 "CPU temp"
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Note: PECI value is negative value relative to _crit, but driver calculates
|
|
Packit |
53d5b6 |
# to real value.
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Adding 10 to correct wrong BIOS values.
|
|
Packit |
53d5b6 |
# Change offset is more efficient than computing new value, because offset is done in hardware.
|
|
Packit |
53d5b6 |
# Note: using compute also increases min and max values. You will need to set the min and max values below.
|
|
Packit |
53d5b6 |
# Note: offset default value is 72, so add 10 makes 82.
|
|
Packit |
53d5b6 |
#compute temp3 @+10,@-10
|
|
Packit |
53d5b6 |
set temp3_offset 82
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# In BIOS it is possible to set CPU warning temperature, but this does not influence
|
|
Packit |
53d5b6 |
# temp3_input. However, it does change the temp3_max. My bios setting is at 60
|
|
Packit |
53d5b6 |
# degrees. Coretemp defines maximum of 76. I want a warning at 60.
|
|
Packit |
53d5b6 |
# _min, _max
|
|
Packit |
53d5b6 |
set temp3_min 25
|
|
Packit |
53d5b6 |
#set temp3_max 60
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# Let's alarm when temperature is outside range
|
|
Packit |
53d5b6 |
set temp3_beep 1
|
|
Packit |
53d5b6 |
|
|
Packit |
53d5b6 |
# ignore intrusion detection (case open?)
|
|
Packit |
53d5b6 |
ignore intrusion0
|