From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] W83667HG on ASUS P6T6 WS Revolution
Date: Tue, 24 Feb 2009 10:20:23 +0000 [thread overview]
Message-ID: <20090224112023.2bd47bf3@hyperion.delvare> (raw)
In-Reply-To: <498B944A.3060502@ioerror.us>
On Tue, 24 Feb 2009 18:09:54 +0800, JGong@nuvoton.com wrote:
> >So I propose the following approach:
> >* Make the driver trust bit 0 of register 0x52 in bank 2. If the bit is
> > set, create in6 attributes but not temp3 attributes. If it is clear,
> > create temp3 attributes but not in6 attributes. Issue a debug message
> > explaining the decision. For the W83667HG only, of course; for older
> > chips we keep always creating all attributes.
> >* If it is ever found that some motherboard doesn't properly initialize
> > this configuration bit, try to get the manufacturer to fix the BIOS.
> > If we fail, either add a per-motherboard override in the driver, or
> > add a module parameter or a sysfs attribute to let the user override
> > the default configuration.
>
> OK, if we trust the bit 0 and the bit is set, we create in6 not temp3,
> otherwise we create the temp3 not in6. (The bit's default value is 0.)
Yes, exactly.
> But what can we do if the temp3 is created and its value is unacceptable
> like 124.5°C?
Well, it remains to be seen if this will ever happen. With your current
patch, both in6 and temp3 are created, so we don't know what was the
initial state of the configuration bit.
> >It would be great to get this solved quickly so that support for the
> >W83667HG makes it into kernel 2.6.30.
>
> As soon as we've found a proper solution of this problem, I'll make out
> the patch and recommit it.
I suggest that you make a patch implementing what was said above. Then
Michael will test it and we'll see which of in6 or temp3 will be
created on his board. If in6 the problem is solved (as far as Michael's
system is concerned, at least.) If the incorrect temp3 is displayed
then we will have to think of a workaround. Either we check the
temperature value and discard it if it looks unreasonable, or we let
the user override the configuration manually as I initially proposed. I
think I prefer the second option. Choosing the configuration based on
the monitored values somehow voids the point of monitoring.
Please make sure you include my fan fixes into your patch:
http://lists.lm-sensors.org/pipermail/lm-sensors/2009-January/025232.html
Thanks,
--
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:[~2009-02-24 10:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-06 1:37 [lm-sensors] W83667HG on ASUS P6T6 WS Revolution Michael Hampton
2009-02-23 16:23 ` Jean Delvare
2009-02-24 8:49 ` JGong
2009-02-24 9:25 ` Jean Delvare
2009-02-24 10:09 ` JGong
2009-02-24 10:20 ` 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=20090224112023.2bd47bf3@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.