From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] ipmisensors almost working...
Date: Fri, 05 Oct 2007 20:08:49 +0000 [thread overview]
Message-ID: <20071005220849.440d16ef@hyperion.delvare> (raw)
In-Reply-To: <4705ED70.6080206@jordet.net>
Hi Stian, Yani,
On Fri, 05 Oct 2007 18:40:22 +0200, Stian Jordet wrote:
> On fre, 2007-10-05 at 12:17 -0400, Yani Ioannou wrote:
> > There are in fact some sensors we may never be able to convert
> > completely in the kernel - they require complex transformations
> > involving logarithms. etc, that kernel code simply can't (and
> > shouldn't) calculate, so I think the real solution to this will have
> > to involve userspace support.
Yes, this is what we do for other drivers too. Arbitrary computation
formulae can be attached to all measurement channels in libsensors,
with support for logarithm and exponential. So it's really only a
matter of writing the right configuration file for your system.
> (...)
> I see. I would very much like to test new code :) I'm now running a
> lm-sensors svn snapshot from yesterday, after Jean Delvare said that
> there was an bug in the earlier lm-sensors causing sensor channel
> numbers to be shifted. Upgrading to latest svn snapshot made my voltages
> look better (but still not good), while all but one temperature got
> divided by 10 (!).
Ah, yes. The sysfs interface standard in Linux 2.6 states that
temperatures are exported in 10^-3 degrees C, while I seem to remember
that the ipmisensors driver exports the values in 10-^2 degrees C (as
was done in Linux 2.4). There was a hack in libsensors to deal with
this deviation from the standard, which I removed while fixing the
indexing issue. So ipmisensors will have to be fixed to stick to the
standard interface.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2007-10-05 20:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 7:53 [lm-sensors] ipmisensors almost working Stian Jordet
2007-10-05 9:39 ` Jean Delvare
2007-10-05 11:11 ` Stian Jordet
2007-10-05 16:17 ` Yani Ioannou
2007-10-05 16:40 ` Stian Jordet
2007-10-05 19:13 ` Stian Jordet
2007-10-05 20:08 ` Jean Delvare [this message]
2007-10-07 8:25 ` Jean Delvare
2007-10-07 14:14 ` Yani Ioannou
2008-07-15 11:58 ` Stian Jordet
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=20071005220849.440d16ef@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.