All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: pwmconfig fix
Date: Thu, 19 May 2005 06:24:57 +0000	[thread overview]
Message-ID: <20040509214802.5a713c8a.khali@linux-fr.org> (raw)
In-Reply-To: <20040506215442.GA31272@nospam.com>

> Why not take the highest working divisor? You can check this I think
> by re-reading the fan*_div after echoing a new value. At least, that's
> what I did...

Because a higher divisor means a poor accuracy at higher speeds. The
divisor is really a range vs. accuracy tradeoff. Read doc/fan-divisor
for details, or doc/chips/pc87366 (in CVS).

> No, it's not the full speed. Some combinations entered manual give
> even higher values: I can get to 3500rpm.
> (...)
> Now I echo values in another xterm, and I see the fan stabilizing to
> different values depending on the sequence of value which I echo-d. So
> there is some kind of state somewhere.

OK, that's strange ;)

PWM isn't as easy as it seems to be. The modulations are made on a base
frequency. Maybe you fan doesn't like this frequency and behaves
strangely because of that. Usually, drivers don't allow the user to
tweak the frequency, but most chips are able to change it. Read the
datasheet for your chip and try changing the value manually (using
isaset or i2cset), maybe it'll help.

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

  parent 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 pwmconfig fix rutger
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` rutger
2005-05-19  6:24 ` rutger
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare [this message]
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` rutger

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=20040509214802.5a713c8a.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.