From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [PATCH 2.6] I2C sysfs interface documentation
Date: Thu, 19 May 2005 06:24:25 +0000 [thread overview]
Message-ID: <20031116230820.42c13d52.khali@linux-fr.org> (raw)
In-Reply-To: <20031116203250.4bce6b7e.khali@linux-fr.org>
> current is in there because the IPMI spec includes current sensors
> so I added support to bmcsensors.
> Never had a report of a BMC that actually measures current, though...
Took a look at that document, it specifies hysteresis values for all
sensor types. It even specifies two values (one for negative-going
thresholds, one for positive-going thresholds).
BMC isn't in 2.6 yet anyway, so we can safely remove references to
current hysteresis for now.
That quick look at the IPMI specification once again raised the question
of what file naming convention to choose for storing hysteresis values
in sysfs. The fact that IPMI provides space for two hysteresis values
per sensor proves that names like "temp_hyst1" (as I did in the patch I
just sent to Greg) won't be sufficent to handle all cases. I'm still in
favor of storing hysteresis as a values linked to another limit, and not
as a limit per se. That is, temp_max1 and temp_max1_hyst (or
temp_max_hyst1, or even temp_hyst_max1, whatever fits better with the
current logic). Following Mark Hoffman's views, value in these files
would be an absolute temperature, regardless of how the chipset actually
handles it.
I would like everyone to comment on that if needed. If we can agree on a
clean, logic naming convention, I volunteer to update the documentation
accordingly and modify existing drivers.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 [PATCH 2.6] I2C sysfs interface documentation Jean Delvare
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Jean Delvare [this message]
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Greg KH
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=20031116230820.42c13d52.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.