From 3b867cfc1637e6c89cfa4384a47068bb4865a27a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 10 Jan 2004 17:52:56 +0000 Subject: [PATCH] Update to reflect hysteresis interface changes. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2213 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/chips/lm90 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/chips/lm90 b/doc/chips/lm90 index 5166f7e1..42f4f4ec 100644 --- a/doc/chips/lm90 +++ b/doc/chips/lm90 @@ -78,7 +78,10 @@ See the datasheets for details. Each sensor has its own high and low limits, plus a critical limit. Additionally, there is a relative hysteresis value common to both critical -values. +values. To make life easier to user-space applications, two absolute values +are exported, one for each channel, but these values are of course linked. +Only the local hysteresis can be set from user-space, and the same delta +applies to the remote hysteresis. The lm90 driver will not update its values more frequently than every other second; reading them more often will do no harm, but will return @@ -99,7 +102,8 @@ temp2_high temp2 temp2 RW 1 temp2_low temp2 temp2 RW 1 tcrit1 temp1 temp1 RW 0 tcrit2 temp2 temp2 RW 0 -hyst - - RW 0 +hyst1 tcrit1 tcrit1 RW 0 +hyst2 tcrit2 tcrit2 R- 0 alarms - - R- 0 LABEL FEATURE SYMBOL SYSCTL FILE:N @@ -111,7 +115,8 @@ temp2_high SENSORS_LM90_REMOTE_HIGH temp2:1 temp2_low SENSORS_LM90_REMOTE_LOW temp2:2 tcrit1 SENSORS_LM90_LOCAL_TCRIT tcrit1:1 tcrit2 SENSORS_LM90_REMOTE_TCRIT tcrit2:1 -hyst SENSORS_LM90_TCRIT_HYST hyst:1 +hyst1 SENSORS_LM90_LOCAL_TCRIT_HYST hyst1:1 +hyst2 SENSORS_LM90_REMOTE_TCRIT_HYST hyst2:1 alarms SENSORS_LM90_ALARMS alarms:1 Chip 'adm1032' @@ -125,7 +130,8 @@ temp2_high temp2 temp2 RW 1 temp2_low temp2 temp2 RW 1 tcrit1 temp1 temp1 RW 0 tcrit2 temp2 temp2 RW 0 -hyst - - RW 0 +hyst1 tcrit1 tcrit1 RW 0 +hyst2 tcrit2 tcrit2 R- 0 alarms - - R- 0 LABEL FEATURE SYMBOL SYSCTL FILE:N @@ -137,5 +143,6 @@ temp2_high SENSORS_LM90_REMOTE_HIGH temp2:1 temp2_low SENSORS_LM90_REMOTE_LOW temp2:2 tcrit1 SENSORS_LM90_LOCAL_TCRIT tcrit1:1 tcrit2 SENSORS_LM90_REMOTE_TCRIT tcrit2:1 -hyst SENSORS_LM90_TCRIT_HYST hyst:1 +hyst1 SENSORS_LM90_LOCAL_TCRIT_HYST hyst1:1 +hyst2 SENSORS_LM90_REMOTE_TCRIT_HYST hyst2:1 alarms SENSORS_LM90_ALARMS alarms:1