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: Sat, 14 Jun 2008 20:57:48 +0000	[thread overview]
Message-ID: <20080614225748.69f3e421@hyperion.delvare> (raw)
In-Reply-To: <20080531220339.05dc83fd@neptune.home>

On Fri, 13 Jun 2008 23:31:54 +0200, Bruno Prémont wrote:
> sidenote: I would appreciate if libsensors also knew about PWM :))

This was discussed when designing libsensors 3.0.0 and we voted against
it, for the reason that PWM outputs are not sensors. The interface
needed to control fans is significantly different from what is needed
for sensors. Sensor limits are initialized once, while PWM values are
likely to evolve (based on temperature for example). Sensor values
often need scaling (in particular voltage) and giving them a proper
label is important. PWM values need no scaling factor and labelling
them doesn't sound too useful either. So the needs are clearly
different.

Also, it's easy to get things wrong (including permanent hardware
damage) when playing with PWM, while playing with sensors is normally
safe. So while it makes sense to have a sensors library for GUI apps to
interface with, I don't see a need for this for PWM. As a matter of
fact, our software fan control daemon is a simple bash script, it
doesn't need any library.

> Are there other changes between the driver's hardware knowledge and
> revision 8?

2 additional fans inputs, like the IT8716F and IT8718F have. Basically
the latest incarnations of the IT8712F have a lot in common with the
IT8716F. I don't get the point of ITE doing this, but they did, so
we'll have to support it. We add the missing features when users ask
for them... as you did.

-- 
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-14 20:57 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
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 [this message]
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=20080614225748.69f3e421@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.