All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: smsc47m1 ported to Linux 2.6
Date: Thu, 19 May 2005 06:25:08 +0000	[thread overview]
Message-ID: <20040804125311.0d23f34d.khali@linux-fr.org> (raw)
In-Reply-To: <20040720225853.6f67122b.khali@linux-fr.org>

> You can see at j1 (jean.tar.bz2) directory, the results you
> asked for. Please take a look.

Makes me think that fan speed stops being monitored when PWM is enabled
and have value (duty cycle) 0. I would call it a design flaw since it
will make the driver code more complex and becomes bogus if the fan
being monitored and the fan being controled are not the same one (which
is the case with somt revisions of that Intel board, it seems).

Nevermind, we'll have to handle this. Could you please try the following
test to confirm my point?

echo 1 > fan2_pwm_enable
for i in 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12 0
do
	echo $i > fan2_pwm
	sleep 4
	cat fan2_input
done

I think I will have to force the fan reading to 0 when PWM is enabled
and PWM value is 0, regardless of what the register holds.

> Please, take a look at j2 (jean.tar.bz2) directory. There are
> the tests you asked for. Oh, check if the .sh is ok to you.
> I don't matter about the ALARMS. I just tried to give you
> the more information I could.

That one looks fine, min limit is preserved as it should :)

> I was wondering, are there some other things that can influence
> the behaviour of sensors? I mean, that could be affecting the
> results?

Well, ambient temperature obviously affects the temperature readings.
The heavy use of specific devices (such as the graphics adapter) may
have an impact on voltage readings. For the rest, it shouldn't change
unless you explicitely ask for it (changing PWM values, changing the CPU
speed, etc...)

Thanks.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

  parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 smsc47m1 ported to Linux 2.6 Jean Delvare
2005-05-19  6:25 ` cgfreita
2005-05-19  6:25 ` cgfreita
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` cgfreita
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Ivars Strazdins
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` cgfreita
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` cgfreita
2005-05-19  6:25 ` Jean Delvare [this message]
2005-05-19  6:25 ` cgfreita
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` cgfreita

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=20040804125311.0d23f34d.khali@linux-fr.org \
    --to=khali@linux-fr.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.