All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [Bug?] W83697: Broken readings for fan speed 10%
Date: Wed, 11 Jun 2008 15:59:28 +0000	[thread overview]
Message-ID: <20080611175928.7830f501@hyperion.delvare> (raw)
In-Reply-To: <20080531220339.05dc83fd@neptune.home>

Hi Bruno,

On Sun, 8 Jun 2008 22:30:51 +0200, Bruno Prémont wrote:
> Now I'm running 2.6.25.5 with both patches (the one changing
> excessively large values to 0 and automatic fan control)
> 
> ------ FAN connected to W83697HG ------
> Looking at power and speed signals with an oscilloscope I get:
> - slightly above 12V for FAN power
> - speed square signal is about 11V at 62.5Hz
> 
> Both fan power and fan speed signal show a noise of about 0.1V in saw
> shape ( |\|\|\|\ ) at 4kHz.
> 
> Changing value for pwm1_enable, pwm1_freq and pwm1 does not influence
> the fan at all (no voltage variation, no variation in noise). So this
> mainboard does not support FAN control :(
> 
> The W83697HG reports a speed of 1750 RPM though I think it's a slightly
> high (Sticker on FAN says 1000RPM ... 2500RPM)

Most fans emit two pulses per revolution, so 62.5 Hz means 1875 RPM.
1750 RPM isn't too far away, so I'd say it's correct.

> Connecting the FAN to the board's (LE-365) power-out connector produces
> exactly the same results, thus the noise is generalized for the board's
> "12V rail"
> ------ END ------
> 
> Note: after connecting a second (non-controlled) fan to the mainboard
> (on second fan connector) the W83697HG stopped reporting the bad values
> and did not start reporting them even after disconnecting the second fan
> (no system shutdown/reboot during the whole testing)
> 
> The second FAN shows the same voltages, just with different frequency
> for the speed signal.
> 
> 
> ------ FAN connected to IT8712F ------
> (only speed sensor, power taken directly from system's power supply)
> 
> Looking at power and speed signals with an oscilloscope I get:
> - slightly above 12V for FAN power
> - speed square signal is about 5V at 55Hz
> 
> The IT8712F reports a speed of 4600 RPM though visually FAN does
> not spin more quickly. 4600 RPM is definitely too much...

I don't think you can judge the speed of a fan by just looking at it
(if you are a human being.) Your hears will tell you more than your
eyes about a fan's speed.

55 Hz would be 1650 RPM. If the IT8712F reports 4600 RPM then it's
indeed certainly wrong. Can you check what speed is reported in the
BIOS? Please also test with another fan if you can. I'd like to know if
that's a problem with this specific fan (in which case there's probably
not much we can do) or not. I suspect not (see below.)

> 
> PS: This mainboard (IEI Kino690S) is capable to regulating FAN speed all
> its fan connectors
> ------ END ------
> 
> 
> I will look if I can find a way do determine the real fan speed in
> order to compare with the values both chips report.
> Looks like IT8712F (divisor = 2) reports a speed 3 times higher than
> W83697HG (divisor = 4)

Please remember that the divisor value does _not_ divide the speed
value. It only affects the range of measurable values. For a fan that
could run as slow as 1000 RPM, you want to set the divider to 8.

> I guess the different voltages seen for both on speed line is due to
> different resistors on the chips or the circuit in front of them.

Can you tell us what revision of the IT8712F you have? The it87 driver
will write it to the kernel log when you load it. I would also like a
dump of the chip (using isadump).

Recent IT8712F chips have 16-bit tachometer registers, but the it87
driver doesn't support this mode for that chip yet. We received a patch
adding support for that 4 months ago:
  http://lists.lm-sensors.org/pipermail/lm-sensors/2008-February/022460.html
I reviewed it, it needed some more work, but the author never followed
up. If you need this, I guess we'll have to revive it.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2008-06-11 15:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 20:03 [lm-sensors] [Bug?] W83697: Broken readings for fan speed 10% of Bruno Prémont
2008-05-31 20:17 ` [lm-sensors] [Bug?] W83697: Broken readings for fan speed 10% Grant Coady
2008-05-31 20:30 ` Bruno Prémont
2008-06-02 10:32 ` Jean Delvare
2008-06-02 19:09 ` Bruno Prémont
2008-06-02 19:35 ` Jean Delvare
2008-06-02 20:04 ` Bruno Prémont
2008-06-08 20:30 ` Bruno Prémont
2008-06-09  0:35 ` Matt Roberds
2008-06-11 15:59 ` Jean Delvare [this message]
2008-06-11 21:09 ` Bruno Prémont
2008-06-12  8:22 ` Jean Delvare
2008-06-12 18:37 ` Bruno Prémont
2008-06-13 12:04 ` Jean Delvare
2008-06-13 21:31 ` Bruno Prémont
2008-06-14 20:57 ` Jean Delvare
2008-06-14 21:24 ` Bruno Prémont
2008-06-15  7:35 ` Jean Delvare
2008-06-15 10:02 ` Bruno Prémont

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=20080611175928.7830f501@hyperion.delvare \
    --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.