Support pc87366 thermistor inputs.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2545 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-05-17 19:02:47 +00:00
1 parent aa2149f032
commit e71960cfb5
2 files changed
+39 -7

No files matched your search

+24 -7
View File
@@ -2084,7 +2084,6 @@ chip "pc87366-*"
label temp3_crit "S-IO Crit"
# On some systems, thermistors are used instead of these thermal diodes
# (thermistors are not yet supported by the driver)
# ignore temp1
# ignore temp2
@@ -2098,18 +2097,36 @@ chip "pc87366-*"
set temp3_max 70
set temp3_crit 85
# Thermistors
# 3435 is the thermistor beta.
# This assumes that the thermistor forms a resistor divider with a resistor
# equal to its nominal value at 25 degres Celcius. If not, change the values.
# We also assume that you have a working in10 (which is forcibly enabled by
# default). If not, use 3.3 instead, but you lose accuracy.
compute temp4 3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
compute temp5 3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
compute temp6 3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
set temp4_min 0
set temp4_max 70
set temp4_crit 85
set temp5_min 0
set temp5_max 70
set temp5_crit 85
set temp6_min 0
set temp6_max 70
set temp6_crit 85
# Fan inputs
# Ignore fans you don't have
# ignore fan2
# ignore fan3
# Increase clock dividers if you have very low speed fans and readings
# overflow
# set fan1_div 8
# set fan2_div 8
# set fan3_div 8
set fan1_min 2000
set fan2_min 2000
set fan3_min 2000
+15
View File
@@ -1689,18 +1689,33 @@
#define SENSORS_PC87360_TEMP1 171 /* R */
#define SENSORS_PC87360_TEMP2 172 /* R */
#define SENSORS_PC87360_TEMP3 173 /* R */
#define SENSORS_PC87360_TEMP4 174 /* R */
#define SENSORS_PC87360_TEMP5 175 /* R */
#define SENSORS_PC87360_TEMP6 176 /* R */
#define SENSORS_PC87360_TEMP1_MIN 181 /* RW */
#define SENSORS_PC87360_TEMP2_MIN 182 /* RW */
#define SENSORS_PC87360_TEMP3_MIN 183 /* RW */
#define SENSORS_PC87360_TEMP4_MIN 184 /* RW */
#define SENSORS_PC87360_TEMP5_MIN 185 /* RW */
#define SENSORS_PC87360_TEMP6_MIN 186 /* RW */
#define SENSORS_PC87360_TEMP1_MAX 191 /* RW */
#define SENSORS_PC87360_TEMP2_MAX 192 /* RW */
#define SENSORS_PC87360_TEMP3_MAX 193 /* RW */
#define SENSORS_PC87360_TEMP4_MAX 194 /* RW */
#define SENSORS_PC87360_TEMP5_MAX 195 /* RW */
#define SENSORS_PC87360_TEMP6_MAX 196 /* RW */
#define SENSORS_PC87360_TEMP1_CRIT 201 /* RW */
#define SENSORS_PC87360_TEMP2_CRIT 202 /* RW */
#define SENSORS_PC87360_TEMP3_CRIT 203 /* RW */
#define SENSORS_PC87360_TEMP4_CRIT 204 /* RW */
#define SENSORS_PC87360_TEMP5_CRIT 205 /* RW */
#define SENSORS_PC87360_TEMP6_CRIT 206 /* RW */
#define SENSORS_PC87360_TEMP1_STATUS 211 /* R */
#define SENSORS_PC87360_TEMP2_STATUS 212 /* R */
#define SENSORS_PC87360_TEMP3_STATUS 213 /* R */
#define SENSORS_PC87360_TEMP4_STATUS 214 /* R */
#define SENSORS_PC87360_TEMP5_STATUS 215 /* R */
#define SENSORS_PC87360_TEMP6_STATUS 216 /* R */
#define SENSORS_LM92_PREFIX "lm92"