From: r.marek@sh.cvut.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Asus M2NPV-VM and lm-sensors not working
Date: Sat, 26 Aug 2006 09:04:38 +0000 [thread overview]
Message-ID: <44F00EA6.1050702@sh.cvut.cz> (raw)
In-Reply-To: <200608241001.14052.prakash@punnoor.de>
Hi all,
Here are the results extracted from DSDT bytecode:
> 2) Some values are probably wrong:
> it8716-isa-0290
> Adapter: ISA adapter
> VCore: +1.04 V (min = +4.08 V, max = +4.08 V) ALARM
> VDDR: +3.12 V (min = +4.08 V, max = +4.08 V) ALARM
> +3.3V: +0.00 V (min = +4.08 V, max = +4.08 V) ALARM
> +5V: +4.84 V (min = +6.85 V, max = +6.85 V) ALARM
> +12V: +11.46 V (min = +16.32 V, max = +16.32 V) ALARM
> in5: +0.00 V (min = +4.08 V, max = +4.08 V) ALARM
> in6: +0.00 V (min = +4.08 V, max = +4.08 V) ALARM
> 5VSB: +4.70 V (min = +6.85 V, max = +6.85 V) ALARM
> VBat: +2.86 V
> fan1: 1363 RPM (min = 6490 RPM) ALARM
> fan2: 0 RPM (min = 6490 RPM) ALARM
> fan3: 1566 RPM (min = 0 RPM)
> temp1: +26?C (low = -1?C, high = -1?C) sensor = diode
> temp2: +38?C (low = -1?C, high = -1?C) sensor = thermistor
> temp3: +25?C (low = -1?C, high = -1?C) sensor = thermistor
> vid: +0.00 V
Offset (0x20),
VCOR, 8,
V33V, 8,
Offset (0x23),
V50V, 8,
V12V, 8,
Method (RVLT, 1, NotSerialized)
{
Store (DerefOf (Index (VCRE, 0x00)), Local0)
//if the user wants VCORE
If (LEqual (Arg0, Local0))
{
Store (VCOR, Local0)
//READ VCORE reg 0x20
Store (0x00, Local1)
While (LEqual (Local0, 0xFF))
{
Store (VCOR, Local0)
If (LEqual (Local1, 0x000186A0))
{
Break
}
//this loop is strange it tests if vcore_reg < 0xff (maybe >)
//if so then read it again, if loop iteration is 0x000186A0 exit loop
Add (Local1, 0x01, Local1)
}
Multiply (Local0, 0x10, Local0)
Multiply (0x0F, 0x0A, Local1)
Add (Local1, Local0, Local0)
// VCORE = in1*16+150
Return (Local0)
}
Store (DerefOf (Index (V333, 0x00)), Local0)
If (LEqual (Arg0, Local0))
{
Store (V33V, Local0)
Store (0x00, Local1)
While (LEqual (Local0, 0xFF))
{
Store (V33V, Local0)
If (LEqual (Local1, 0x000186A0))
{
Break
}
Add (Local1, 0x01, Local1)
}
Multiply (Local0, 0x10, Local0)
//V33V = in1 * 16
Return (Local0)
}
Store (DerefOf (Index (V500, 0x00)), Local0)
If (LEqual (Arg0, Local0))
{
Store (V50V, Local0)
Store (0x00, Local1)
While (LEqual (Local0, 0xFF))
{
Store (V50V, Local0)
If (LEqual (Local1, 0x000186A0))
{
Break
}
Add (Local1, 0x01, Local1)
}
Multiply (Local0, 0x10, Local0)
Store (0x22, Local1)
Store (0x32, Local2)
Add (Local1, Local2, Local1)
Multiply (Local0, Local1, Local0)
Divide (Local0, Local2, Local3, Local0)
Multiply (0x14, 0x0A, Local1)
Add (Local1, Local0, Local0)
// 5V = (((in3 * 16) * (34 + 50)) / 50) + 34
Return (Local0)
}
Store (DerefOf (Index (V120, 0x00)), Local0)
If (LEqual (Arg0, Local0))
{
Store (V12V, Local0)
Store (0x00, Local1)
While (LEqual (Local0, 0xFF))
{
Store (V12V, Local0)
If (LEqual (Local1, 0x000186A0))
{
Break
}
Add (Local1, 0x01, Local1)
}
Multiply (Local0, 0x10, Local0)
Store (0x1E, Local1)
Store (0x0A, Local2)
Add (Local1, Local2, Local1)
Multiply (Local0, Local1, Local0)
Divide (Local0, Local2, Local3, Local0)
Multiply (0x28, 0x0A, Local1)
Add (Local1, Local0, Local0)
// 12V = (((in4 * 16) * (30 + 10)) / 10) + 280
Return (Local0)
}
All in all they are adding small number to rise the numbers ;)
}
I can find also formula for the fans if someone wants.
Regards
Rudolf
next prev parent reply other threads:[~2006-08-26 9:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-24 8:01 [lm-sensors] Asus M2NPV-VM and lm-sensors not working Prakash Punnoor
2006-08-24 15:09 ` Jean Delvare
2006-08-24 15:33 ` Prakash Punnoor
2006-08-25 5:21 ` Prakash Punnoor
2006-08-25 6:53 ` Jean Delvare
2006-08-25 9:12 ` Jean Delvare
2006-08-25 10:41 ` Prakash Punnoor
2006-08-25 17:50 ` Jean Delvare
2006-08-25 18:04 ` Prakash Punnoor
2006-08-25 18:23 ` Jean Delvare
2006-08-25 20:27 ` Rudolf Marek
2006-08-26 9:04 ` Rudolf Marek [this message]
2006-08-26 20:40 ` Jean Delvare
2006-08-27 6:50 ` Prakash Punnoor
2006-08-27 12:47 ` Jean Delvare
2006-08-27 14:31 ` Prakash Punnoor
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=44F00EA6.1050702@sh.cvut.cz \
--to=r.marek@sh.cvut.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.