From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] sis5595
Date: Thu, 14 Jun 2007 19:13:31 +0000 [thread overview]
Message-ID: <20070614211331.27e3ac12@hyperion.delvare> (raw)
In-Reply-To: <200307161427.08403.linux@1g6.biz>
Hans,
On Tue, 12 Jun 2007 19:42:29 +0200, Hans de Goede wrote:
> Jean Delvare wrote:
> > If you can't get additional information, you can label in4 "CPU Temp",
> > observe the reading over a period of time, and set arbitrary limits
> > accordingly. Unfortunately we have no way to tell "sensors" that a
> > voltage input is actually a temperature value.
>
> Is it possible other motherboards manufacturers have done something similar?
Well, it is possible to do this with virtually any voltage input of all
driver. But maybe this is more likely for the in4 of the sis5595
because it can already be used for temperature monitoring (although in
a technically different way.)
> Ifso would it be an idea to add a driver flag to rename all the in4 sysfs attr
> to tempX sysfs attr, without changing the way how things are read?
Yes, this could be done, shouldn't be too expensive.
A more generic solution would be to implement this in libsensors. For
that we'd need a new sensors.conf directive to change the type of a
given sensor (from voltage to temp in this case). After all, the only
difference is the unit displayed after the value. There are a few
driver which could use this: pc87360, vt8231... which currently export
voltage value as temp* files for thermistor-based measurements.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2007-06-14 19:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 sis5595 Nicolas
2005-05-19 6:24 ` sis5595 Jean Delvare
2005-05-19 6:24 ` sis5595 Mark M. Hoffman
2005-05-19 6:24 ` sis5595 Nicolas
2007-06-07 17:40 ` [lm-sensors] sis5595 Jean Delvare
2007-06-08 15:20 ` Ivo Manca
2007-06-09 9:50 ` Jean Delvare
2007-06-09 11:56 ` Ivo Manca
2007-06-11 15:06 ` Jean Delvare
2007-06-11 16:21 ` Ivo Manca
2007-06-11 16:43 ` Hans de Goede
2007-06-12 16:25 ` Jean Delvare
2007-06-12 17:42 ` Hans de Goede
2007-06-14 14:19 ` Ivo Manca
2007-06-14 19:13 ` Jean Delvare [this message]
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=20070614211331.27e3ac12@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.