From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Jean Delvare <khali@linux-fr.org>
Cc: ibm-acpi-devel@lists.sourceforge.net, lm-sensors@lm-sensors.org,
linux-acpi@vger.kernel.org
Subject: Re: [lm-sensors] RFC: conversion of ibm-acpi to hwmon sysfs
Date: Tue, 27 Feb 2007 12:41:18 -0300 [thread overview]
Message-ID: <20070227154118.GA1980@khazad-dum.debian.net> (raw)
In-Reply-To: <20070227100129.fa962c81.khali@linux-fr.org>
On Tue, 27 Feb 2007, Jean Delvare wrote:
> I don't really have time for such long reads, sorry. If there's
> anything in particular you think I should know, just tell me.
Just that the stale value is indeed useful on one particular case.
> > > pwm#_enable = 0 means fan# at full speed, _not_ fan# stopped. Fan# stopped
> > > is pwm#_enable = 1 and pwm# = 0.
> >
> > The hwmon sysfs interface documentation is not clear on that. Turning PWM
> > off might lock the hardware into 0% duty or 100% duty depending on how it
> > was designed.
>
> Feel free to submit a patch improving the documentation.
Ok.
> > BTW, ibm-acpi implements a "fan watchdog", to help fan-control userspace
> > applications. It resets the fan to a safe "on" mode if nothing tries any
> > control operation on the fans in a given time period.
> >
> > Is there any interest in trying for a fan-watchdog generic interface, or
> > should I just implement that in sysfs as I see fit for ibm-acpi?
>
> We don't have anything like that in the other drivers. I guess it only
> applies to manual mode? The idea is interesting, I have to admit. I
> don't have a particular opinion on how to implement that (specific vs
> standard), do as you wish.
The fan watchdog is a driver thing, it could be implemented by any driver
for any chip that has a manual mode (it doesn't make sense if the chip is
always in auto mode). I will implement it in a suitable-to-be-generic way
and propose a patch for the sysfs hwmon docs.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2007-02-27 15:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-24 18:20 RFC: conversion of ibm-acpi to hwmon sysfs Henrique de Moraes Holschuh
2007-02-26 16:27 ` [lm-sensors] " Jean Delvare
[not found] ` <20070226172716.b2e956b7.khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
2007-02-26 18:06 ` Henrique de Moraes Holschuh
2007-02-27 9:01 ` Jean Delvare
2007-02-27 15:41 ` Henrique de Moraes Holschuh [this message]
2007-02-28 14:38 ` Henrique de Moraes Holschuh
2007-03-01 7:10 ` Jean Delvare
2007-02-28 9:31 ` Zhang Rui
2007-02-28 14:34 ` Conversion of ACPI fan+thermal " Henrique de Moraes Holschuh
2007-03-02 1:12 ` Zhang Rui
2007-03-02 11:13 ` Jean Delvare
2007-03-02 11:43 ` Matthew Garrett
2007-03-08 9:28 ` Zhang Rui
2007-03-08 11:13 ` [lm-sensors] " Hans de Goede
2007-03-08 13:13 ` Henrique de Moraes Holschuh
2007-03-09 8:53 ` Jean Delvare
2007-03-01 7:06 ` [lm-sensors] RFC: conversion of ibm-acpi " 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=20070227154118.GA1980@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=khali@linux-fr.org \
--cc=linux-acpi@vger.kernel.org \
--cc=lm-sensors@lm-sensors.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).