All of lore.kernel.org
 help / color / mirror / Atom feed
From: jschrod@acm.org (Joachim Schrod)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Questions on sensors.conf
Date: Fri, 13 Jan 2006 00:31:01 +0000	[thread overview]
Message-ID: <dq6sc5$n2s$1@sea.gmane.org> (raw)

Hi,

I started to use lm_sensors to monitor my hardware. In particular, I want to
monitor temperature and fan functionality.

The system has an Intel D865GBF ATX Mainboard, with a Pentium 4 3 GHz processor,
800 MHz FSB, 1 MB Cache. I'm using lm_sensors version 2.9.1 that came with SUSE 
10.0.

sensors-detect went fine, it detected the LM85 sensor chip "lm85b-i2c-0-2e";
start of the lm_sensors service as well, then calling sensors got:

CPU_Fan:   2669 RPM  (min = 4000 RPM)                     ALARM
fan2:         0 RPM  (min =    0 RPM)
fan3:         0 RPM  (min =    0 RPM)
fan4:         0 RPM  (min =    0 RPM)
CPU:         +45 C  (low  =   +10 C, high =   +50 C)
Board:       +36 C  (low  =   +10 C, high =   +35 C)     ALARM
Remote:      +37 C  (low  =   +10 C, high =   +35 C)     ALARM

Oops, obviouslsy too much alarms for my taste. ;-)
So I learned that I have to configure /etc/sensors.cfg.

First, I wanted to check the measured values. So I rebooted and looked into the 
BIOS read-out.
My BIOS reports the CPU temperature to be 56?C, System Zone 1 as 40?C, and 
System Zone 2 as 45?C. (Wherever zone 1 and 2 are -- I assume that they match 
temp2_* and temp3_* whereas temp1_* is the CPU.)
The CPU fan speed is the same, so that doesn't need any adaption.


So here's my first question:
Is it best practice to assume that the BIOS values are OK and to add compute 
statements to increase the lm_sensors values to match them?

Is the relation between BIOS measurement and sensors measurement usually linear?
I.e., do I just add and subtract the difference in a compute statement?
Or does your experience tell that this needs some scale factor as well?


And my second question:
The semantics of the temperature limits in sensors.conf are still unclear to me.

There is temp#_min, temp#_max, temp#_hyst, and temp#_over.
min and max are not explained.
hyst and over are not used in the LM85 example configuration.
As far as I understood, if a temperature gets > temp#_over, ALARM is turned on; 
and if it gets (subsequently) < temp#_hyst, ALARM is turned off again.
But what happens if the temperature is below temp#_min or above temp#_max?
How is the relation between these two vars and hyst/over?

In addition, the documentation of lm85 mentions other sensors.conf variables 
named zone#_{limit,hyst,range,critical} which aren't used at all. It looks as if 
the documentation is out of date and these variables don't exist any more. Is 
that assumption true?

Last, the documentation mentions a /proc interface. I gather that this got 
replaced by the /sys interface. There I find files/variables named 
temp#_auto_temp_* that look interesting. Is there any documentation for them?


Sorry for these many questions. If there is documentation that I haven't found 
and that would answer them, I'd also appreciate any hint to it.

Best,
	Joachim

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod                Email: jschrod at acm.org
Roedermark, Germany



             reply	other threads:[~2006-01-13  0:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13  0:31 Joachim Schrod [this message]
2006-01-13  2:18 ` [lm-sensors] Questions on sensors.conf Philip Pokorny
2006-01-13 11:57 ` Joachim Schrod
2006-01-13 21:47 ` Philip Pokorny
2006-01-14 17:20 ` Joachim Schrod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='dq6sc5$n2s$1@sea.gmane.org' \
    --to=jschrod@acm.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.