All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] w83627ehf: Missing fan input and minor problems w/
Date: Tue, 05 Sep 2006 16:20:18 +0000	[thread overview]
Message-ID: <20060905182018.7eae4adb.khali@linux-fr.org> (raw)
In-Reply-To: <1157458671.18988.34.camel@mhcln03>

David, Matthias,

> Nice to get some feedback on w83627ehf. The datasheet documents only 4
> RPM sensors, but 5 pwm outputs. That's if your motherboard uses the
> standard w83627ehf without any additional electronics.

No, that's the other way around. 5 RPM sensors, 4 PWM output.

> Can you disconnect one fan at a time while in the BIOS readings and
> verify that each is independent of all other fans? I wonder if the
> BIOS is actually getting 5 independent RPM readings.

The number of readings in the BIOS matches the number of fan monitoring
inputs of the chip - looks clear enough to me.

> Also, is there some way (a different OS, or in the BIOS) that you can
> actually control each of the fans independently? I'm looking for more
> info on your motherboard, but there is the possibility that the two
> CHA fans and the two PWR fans are actually hard-wired together.

This is my conclusion as well. The PWM outputs wiring is decided by the
motherboard maker, and they may use the same PWM output for several
fans. Given that there are only 4 PWM outputs they actually had little
choice for at least two fans. It makes sense to me to control related
fans with a single command too.

> Can you provide a listing of the sysfs files exported by the driver on
> your system? The w83627ehf pins for fans 4 and 5 can be programmed as
> general purpose I/O, and the driver detects whether you have 3, 4, or
> 5 fan pins configured. (The setting is read, but not changed.) So...do
> you have pwm4 and pwm5 in your sysfs?

Matthias, can you please provide a dump of your chip (isadump 0x295
0x296) at init time, before loading the w83627ehf driver?

I'd try forcing the driver to use all 5 fan inputs. Just run "isaset
0x295 0x296 0x47 0x05 0x05" before loading the w83627ehf driver, and
see what happens. It's supposed to be the default, but...

Maybe our heuristics to detect the use of the pins are not correct,
although they are simple enough and look OK to me. Or maybe the Asus
BIOS isn't configuring the chip properly (that'd be odd as they need
proper setup for displaying the values themselves.)

-- 
Jean Delvare


  parent reply	other threads:[~2006-09-05 16:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-05 12:17 [lm-sensors] w83627ehf: Missing fan input and minor problems w/ PWM Matthias Hentges
2006-09-05 14:55 ` [lm-sensors] w83627ehf: Missing fan input and minor problems w/ David Hubbard
2006-09-05 15:30 ` Matthias Hentges
2006-09-05 16:20 ` Jean Delvare [this message]
2006-09-06  5:40 ` David Hubbard
2006-09-06 11:53 ` Matthias Hentges
2006-09-06 14:01 ` Jean Delvare
2006-09-07 11:14 ` Matthias Hentges
2006-09-10 17:48 ` Jean Delvare
2006-09-10 18:04 ` Rudolf Marek
2006-09-10 19:15 ` Matthias Hentges
2006-09-10 21:31 ` Rudolf Marek
2006-09-14  5:26 ` David Hubbard
2006-09-15 21:21 ` [lm-sensors] w83627ehf: Missing fan input and minor problems Rudolf Marek

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=20060905182018.7eae4adb.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.