mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
Support the Linux 2.6 lm92 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2919 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
8db3815961
commit
4a4dafa487
3 files changed
+18
-1
No files matched your search
@@ -2270,3 +2270,18 @@ chip "adm1031-*"
|
||||
chip "w83l785ts-*"
|
||||
|
||||
label temp1 "CPU Diode"
|
||||
|
||||
chip "lm92-*"
|
||||
|
||||
label temp "CPU Temp"
|
||||
|
||||
# Change limits as you see fit
|
||||
# set temp_low 14
|
||||
# set temp_high 60
|
||||
# set temp_crit 72
|
||||
# Hysteresis is computed from critical limit for Linux 2.6,
|
||||
# and from high limit for Linux 2.4. That might change in the future.
|
||||
# Whatever, the same relative hysteresis is used for all of low, high
|
||||
# and critical limits.
|
||||
# set temp_hyst 70 # Linux 2.6
|
||||
# set temp_hyst 58 # Linux 2.4
|
||||
+1
-1
@@ -4747,7 +4747,7 @@ static sensors_chip_feature lm92_features[] =
|
||||
{ SENSORS_LM92_TEMP_CRIT, "temp_crit", SENSORS_LM92_TEMP, SENSORS_LM92_TEMP,
|
||||
RW, LM92_SYSCTL_TEMP, VALUE(4), 4 },
|
||||
{ SENSORS_LM92_TEMP_HYST, "temp_hyst", SENSORS_LM92_TEMP, SENSORS_LM92_TEMP,
|
||||
RW, LM92_SYSCTL_TEMP, VALUE(5), 4 },
|
||||
RW, LM92_SYSCTL_TEMP, VALUE(5), 4 , "temp1_crit_hyst", 3 },
|
||||
{ SENSORS_LM92_ALARMS, "alarms", NOMAP, NOMAP,
|
||||
R, LM92_SYSCTL_ALARMS, VALUE(1), 0 },
|
||||
{ 0 }
|
||||
|
||||
@@ -487,6 +487,8 @@ int getsysname(const sensors_chip_feature *feature, char *sysname,
|
||||
{ "temp_hyst", "temp1_max_hyst", TEMPMAG },
|
||||
{ "temp_low", "temp1_min", TEMPMAG },
|
||||
{ "temp_over", "temp1_max", TEMPMAG },
|
||||
{ "temp_high", "temp1_max", TEMPMAG },
|
||||
{ "temp_crit", "temp1_crit", TEMPMAG },
|
||||
{ "pwm1", "pwm1", 0, "fan1_pwm" },
|
||||
{ "pwm2", "pwm2", 0, "fan2_pwm" },
|
||||
{ "pwm3", "pwm3", 0, "fan3_pwm" },
|
||||
|
||||
Reference in new issue
Block a user