All of lore.kernel.org
 help / color / mirror / Atom feed
From: r.marek@assembler.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Asus P5B Deluxe / Winbond 83627DHG
Date: Tue, 02 Jan 2007 18:46:28 +0000	[thread overview]
Message-ID: <459AA884.7090407@assembler.cz> (raw)
In-Reply-To: <4dfa50520612211313g7906f3b0kbf8d7aebb2ddcda9@mail.gmail.com>

Hello,

Sorry for the delay, it is quite hectic days and I still need to read 71 emails
in lm-sensors box...

Maybe I can get conversion formulas for you if you give me the dsdt.bin file.

cat /proc/acpi/dsdt > /tmp/dsdt.bin

This file contains ACPI bytecode and ASUS have there computation formulas/access
to the monitoring chip - the code is called from Asus Probe. I'm not sure if the
gkrellm has support for libsensors or not - I checked version 2.2.10 - Thu Oct
26, 2006 has it. So, for the debug purposes I would like to use the text output
of sensors...

Oh. I have root at one P5B mb :)

Here we go:

apt-get install iasl

axon:~# cat /proc/acpi/dsdt > dsdt.bin
axon:~# iasl -d dsdt.bin

Intel ACPI Component Architecture
AML Disassembler version 20060912 [Dec 20 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file dsdt.bin
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Parsing completed
Disassembly completed, written to "dsdt.dsl"


Now find the ATK0110 device:

Inside there is a register map of the chip:

                    Offset (0x20),

            VCOR,   8,

            V12V,   8,

                    Offset (0x23),

            V33V,   8,

                    Offset (0x25),

            V50V,   8,

                    Offset (0x27),
...

So mapping to lm-sensors is:

in0 VCore
in1 12V
in2 not monitored
in3 3.3V
in4 not monitored
in5 5V


No formulas are used. Just raw value * 8mV so no need for compute lines in
sensors.conf

TEMP1 should be MBTEMP, which is direct value, temp2 is CPU temp, temp3 is not
used in their implementation - but conversion formula is same as for the temp2.
So it is most likely floating or not connected.

As for fans:

fan1 is cpu
fan2 is chassis1
fan3 is chassis2
fan4 is power fan
fan5 is not monitored

All in all it seems that gkrellm is wrong. Please use the version indicated
above, and provide the output of sensors command so we can check that the
readings match the reality (and we trust our tools ;)

David,
Thanks for the support of DHG chip, for future reference check/fix this page ;)
http://www.lm-sensors.org/wiki/AsusFormulaHacking


Rudolf


  parent reply	other threads:[~2007-01-02 18:46 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21 21:13 [lm-sensors] Asus P5B Deluxe / Winbond 83627DHG David Hubbard
2006-12-22 14:58 ` Jean Delvare
2006-12-25  4:58 ` David Hubbard
2006-12-25 18:23 ` Jean Delvare
2006-12-26  8:02 ` David Hubbard
2006-12-26 10:31 ` Hamlet
2006-12-26 23:14 ` David Hubbard
2006-12-27  1:10 ` Hamlet
2006-12-28 22:53 ` Hamlet
2006-12-29  2:35 ` David Hubbard
2006-12-29 14:37 ` Hamlet
2006-12-30  2:54 ` David Hubbard
2007-01-02 18:46 ` Rudolf Marek [this message]
2007-01-02 18:46 ` David Holl
2007-01-19  6:02 ` Daniel Ceregatti
2007-01-19  6:31 ` David Hubbard
2007-01-19  7:42 ` David Hubbard
2007-01-19 22:04 ` David Holl
2007-01-19 22:11 ` Daniel Ceregatti
2007-01-19 22:27 ` David Holl
2007-01-20  5:37 ` Daniel Ceregatti
2007-01-20 19:01 ` David Hubbard
2007-01-22 15:51 ` David Holl
2007-01-31  1:36 ` Joe Harvell
2007-02-04 16:49 ` Rudolf Marek
2007-02-05 18:43 ` Joe Harvell
2007-02-06  3:54 ` Joe Harvell
2007-02-06 17:11 ` Joe Harvell
2007-02-07 18:41 ` David Hubbard
2007-02-08 19:44 ` Rudolf Marek
2007-02-12  9:04 ` Brett King

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=459AA884.7090407@assembler.cz \
    --to=r.marek@assembler.cz \
    --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.