From: "Jean Delvare" <khali@linux-fr.org>
To: nico@cam.org
Cc: "LM Sensors" <sensors@Stimpy.netroedge.com>,
"lkml" <linux-kernel@vger.kernel.org>,
"Jonas Munsin" <jmunsin@iki.fi>,
"Simone Piunno" <pioppo@ferrara.linux.it>,
"Greg KH" <greg@kroah.com>
Subject: Re: 2.6.10-mm2: it87 sensor driver stops CPU fan
Date: Thu, 20 Jan 2005 17:28:14 +0100 (CET) [thread overview]
Message-ID: <s62KuN6T.1106238493.8706410.khali@localhost> (raw)
In-Reply-To: <Pine.LNX.4.61.0501201042300.5315@localhost.localdomain>
Hi Nicolas,
> It looks like only temp3 is used for the CPU temperature, fan1 is the
> CPU fan and fan2 the case fan.
This is coherent with your chip configuration.
> I experimented with isaset tweaking individual bits in register 0x14
> (blindly I confess, haven't read the datasheet) and flipping bit 3 from
> 0 to 1 (writing 0xdf) apparently reverses the behavior, i.e. the CPU fan
> speed now increases with the CPU temperature.
That's odd. This bit isn't supposed to significantly change the
behavior. When cleared (default), possible duty cycles range from 0 to
100%. When set, the possible duty cycles range from 20% to 100% (except
for PWM=0 which still results in a 0% duty cycle). I hardly understand
how setting this bit can result in the change you describe.
> In the mean time I'm willing to try out things
> with isaset if you can suggest basic tests (easier than upgrading kernel
> for the time being).
OK. Remember you better keep an eye on the CPU fan in case your tests
stop it. I would also suggest that you take a look at the datasheet so
that you better understand what you are doing:
http://www.iteusa.com/product_info/file/pc/IT8712F_V0.81.pdf
(page 79 of the document, which is 97 of the PDF file - don't ask)
The best test I can think of is to switch your CPU fan to manual PWM
mode. To do that, write 0x40 to register 0x15. CPU fan should go to half
speed. Write 0x7F and if should go to full speed, except if the polarity
is not correct in which case 0x00 will do (and 0x7F will stop the fan
completely so you don't want to keep it that way).
I suggest that you use the -y flag of isaset so that you can overwrite
register values quickly if things turn bad.
Once you know if the polarity is correct, you can try different values of
PWM between 0x00 and 0x7F and see how exactly your fan reacts to them.
You can also study more precisely how bit 3 of register 0x14 (the one
you played with already) affects the PWM vs speed curve.
Thanks,
--
Jean Delvare
next prev parent reply other threads:[~2005-01-20 16:39 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-08 0:50 2.6.10-mm2: it87 sensor driver stops CPU fan Simone Piunno
2005-01-08 9:34 ` Jean Delvare
2005-01-10 22:41 ` Simone Piunno
2005-01-11 9:26 ` Jean Delvare
2005-01-11 20:24 ` Jonas Munsin
2005-01-11 20:56 ` Jean Delvare
2005-01-11 22:41 ` Greg KH
2005-01-11 21:04 ` Simone Piunno
2005-01-12 9:44 ` Jean Delvare
2005-01-12 22:27 ` Jonas Munsin
2005-01-13 23:29 ` Greg KH
2005-01-14 14:40 ` Jean Delvare
2005-01-15 15:30 ` [PATCH 2.6] I2C: Allow it87 pwm reconfiguration Jean Delvare
2005-01-15 17:18 ` Simone Piunno
2005-01-19 23:23 ` Greg KH
2005-01-15 15:54 ` 2.6.10-mm2: it87 sensor driver stops CPU fan Simone Piunno
2005-01-15 16:55 ` Jean Delvare
2005-01-16 22:32 ` Simone Piunno
2005-01-17 19:19 ` Jean Delvare
2005-01-17 19:37 ` 2.6 Series Mem Mgmt Chris Bookholt
2005-01-17 19:56 ` Brian Gerst
2005-01-08 16:20 ` 2.6.10-mm2: it87 sensor driver stops CPU fan Jean Delvare
2005-01-08 19:23 ` Simone Piunno
2005-01-10 19:23 ` Simone Piunno
2005-01-10 19:34 ` Jean Delvare
2005-01-19 20:19 ` Nicolas Pitre
2005-01-19 20:52 ` Jean Delvare
2005-01-19 22:10 ` Nicolas Pitre
2005-01-20 11:08 ` Jean Delvare
2005-01-20 16:01 ` Nicolas Pitre
2005-01-20 16:28 ` Jean Delvare [this message]
2005-01-20 21:19 ` Nicolas Pitre
2005-01-21 6:46 ` Jean Delvare
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=s62KuN6T.1106238493.8706410.khali@localhost \
--to=khali@linux-fr.org \
--cc=greg@kroah.com \
--cc=jmunsin@iki.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=nico@cam.org \
--cc=pioppo@ferrara.linux.it \
--cc=sensors@Stimpy.netroedge.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox