All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Identifying i2c devices on Asus P8P67 sandybridge
Date: Thu, 27 Jan 2011 17:14:31 +0000	[thread overview]
Message-ID: <20110127181431.5b524c99@endymion.delvare> (raw)
In-Reply-To: <4D40E39E.4030406@cfl.rr.com>

Hi Phillip,

On Thu, 27 Jan 2011 11:07:41 -0500, Phillip Susi wrote:
> On 1/27/2011 3:15 AM, Jean Delvare wrote:
> > Signed up for an account where? The only way I know to get Nuvoton
> > datasheets is asking for them by e-mail. Did you find another way?
> 
> I just googled the part number and their web site came right up with a
> link to download the data sheet ( login required ).  I signed up for a
> login, confirmed via email, and downloaded it.
> 
> http://www.sequoia.co.uk/components/product.php?d=1&cy&f(6&p\x1425&fmt=grid

Oh, that's not "their website". This is a reseller's website. It's
pretty surprising that they allow visitors to download datasheets when
these aren't available from Nuvoton's website.

> > If any of our drivers is suitable for addition of NCT6776F support,
> > this would most likely be w83627ehf. But only a close look at the
> > datasheet will tell if this is possible and a desirable.
> 
> Yep, this looks pretty similar so far.
> 
> > First of all, I am not aware of any ACPI interface for automatic fan
> > speed control, not even for fan speed reporting. All I've ever seen
> > from standard ACPI interfaces are: temperature values with a 1°C
> > resolution, and fan on/off switching. As I said, this is very limited.
> > Mind you, there is a reason why Asus came up with their own "standard"
> > (ATK0110).
> 
> It looks like the ACPI spec allows fans to define up to 10 levels of
> operation.  While that is a bit more coarse than the full 255 pwm
> levels, it should be enough.

Does ACPI allow reporting an unlimited number of voltage values? Does
ACPI allow reporting an unlimited number of fan speeds? Reporting of
temperature values with a resolution better than 1°C? Setting low and
high limits for each of these items?

Honestly, I don't know what ACPI allows. What I know is that I've never
seen any implementation going anywhere even remotely near to what a
native hwmon driver can offer.

> > Secondly, if you are going to write the code, writing it in the SSDT
> > won't save you any effort compared to writing native code (except that
> > I find ASL syntax horrible compared to C). The only interest of ACPI
> > implementations is that the OS needs no specific code to handle them,
> > but you still have hardware-specific driving code in the end. Simply,
> > it's in the BIOS, provided by the vendor, instead of being in the OS.
> 
> The reason I was considering it was so I could send it to Asus and ask
> them to include it in future bios revs so that it just works right out
> of the box in the future.

Wow, you are pretty optimistic. A board vendor accepting code from
external contributors? I bet I will be dead before this happens.

> Having to figure out what hwmon driver to
> load, tell the kernel to let it even though the resources are claimed by
> acpi, then configure sensors and the fancontrol script is a pain.  The
> ACPI temperature just works without any configuration.

Or fails without any configuration, as happened to me on some boards.

> I also find the fancontrol script to be somewhat poor at controlling the
> fans and this really is a function that should be in the kernel and is
> defined by ACPI.

I wholeheartedly agree that pwmconfig and fancontrol suck. They are
afternoon hacks that have grown too old, and I wouldn't recommend
anyone to use them. I wish someone interested would write a proper tool
(i.e. not written in bash to start with) to deal with manual fan speed
control. And automatic fan speed control, too.

I also agree that the ACPI resource conflicts we're seeing on many
boards these days is a pain. But in many cases, the right fix would be
for board vendors to stop claiming resources they don't use.

And even with the two statements above, I still claim that native
hwmon drivers are doing a much better job than any ACPI implementation
I've seen. And don't believe it makes me happy: I would love all
systems to have hardware monitoring support working out of the box
thanks to a brilliant ACPI specification and no-less brilliant
implementations. But I don't expect this to happen any time soon :(

> > Decoded correctly by decode-dimms version 5733. I guess you were using
> > an old version of the script which didn't know about DDR3.
> 
> They changed the format for DDR3?  Odd.

There is a common part mostly common to all SDRAM formats, and the rest
is type-specific. But the key problem is probably that the script can't
decode a type it doesn't know about. You can look at the source code
(or the JEDEC specs) if you are interested in the details.

> > I am surprised by the tRAS though, it seems way too high, there may be a
> > bug in the script.
> 
> It should be 6-8-6-24.

Really? Is this what memtest86 is report? It's a long time since I last
saw a memory module with the 3 first digits not being the same.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2011-01-27 17:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27  3:16 [lm-sensors] Identifying i2c devices on Asus P8P67 sandybridge Phillip Susi
2011-01-27  8:15 ` Jean Delvare
2011-01-27 16:07 ` Phillip Susi
2011-01-27 17:14 ` Jean Delvare [this message]
2011-01-27 18:47 ` Phillip Susi
2011-01-28  4:51 ` Phillip Susi
2011-01-28  9:25 ` Jean Delvare
2011-01-28  9:39 ` Jean Delvare
2011-01-28 14:28 ` Phillip Susi

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=20110127181431.5b524c99@endymion.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.