All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: PWM on a W83697HF
Date: Thu, 19 May 2005 06:24:49 +0000	[thread overview]
Message-ID: <1079973316.405f15c4abd09@imp.gcu.info> (raw)

Quoting Uwe Andersen:

> do you know how to work with the fan control capability (PWM) of a
> Winbond W83697HF?
> I tried various values in the bank0-registers 0x00, 0x01, 0x02, 0x03,
> 0x04 with various fans(do PWM need special fans?) but the fan
> rotation never changed.

PWM doesn't need special fans AFAIK (unlike fan speed reporting).

The W83697HF has two PWM channels (registers 0x01 and 0x03) which are
handled by our drivers (w83781d and w83627hf). You should not have to
play with registers directly, simply use the the pwm1 and pwm2 files
exported through procfs (2.4 kernels) or sysfs (2.6 kernels). The value
to write to/read from the file is between 0 and 255 (these are the
values of the registers, unchanged).

For gory details, see the W83697HF datasheet, but it should not be
needed (unless you suspect there is some bug in our drivers).

You may want to take a look at the tools under prog/pwm and
doc/fancontrol.txt in our package.

Note that for PWM to work, your motherboard manufacturer must have wired
the chip and fans correctly. If you cannot get it to work, this may
simply mean that this wasn't done. Which motherboard is it after all?

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 Jean Delvare [this message]
2005-05-19  6:24 ` PWM on a W83697HF Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` AW: " Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` 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=1079973316.405f15c4abd09@imp.gcu.info \
    --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.