Re: Error in dsdt from asus a3527nuh

Valerio Felici
2004-11-11T14:35:01Z

[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]

Alle 22:08, mercoledì 10 novembre 2004, Moore, Robert ha scritto:
> Just create one, Method (_INI) under _SB_
>
Ok, I've just made that and you can see the attached diff file.
I don't know if my changes are correct.
Now I don't got errors but various warning as you can see here:
-------
iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20040527 [May 27 2004]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c

dsdt.dsl  1592:                 Scope (\_SB.PCI0)
Warning  2031 -           Internal compiler error ^  (Not using optimized
name-  did not find node)

dsdt.dsl  2053:                                 Store (ACPS (), \ACPF)
Warning  2030 -  Called method may not always return a value ^

dsdt.dsl  2054:                                 Store (DCPS (0x00), \DCPF)
Warning  2030 -  Called method may not always return a value ^

dsdt.dsl  2266:                     Method (ACPS, 0, Serialized)
Warning  2019 -                                   ^ Not all control paths
return a value (ACPS)

dsdt.dsl  2350:                     Method (DCPS, 1, Serialized)
Warning  2019 -                                   ^ Not all control paths
return a value (DCPS)

dsdt.dsl  3105:                 Scope (\_SB.PCI0)
Warning  2031 -           Internal compiler error ^  (Not using optimized
name -  did not find node)

dsdt.dsl  3133:                         If (ACPS ())
Warning  2030 -                                   ^ Called method may not
always  return a value

dsdt.dsl  3167:                 Scope (\_SB.PCI0)
Warning  2031 -           Internal compiler error ^  (Not using optimized
name - did not find node)

dsdt.dsl  3484:                         If (LNot (DCPS (0x00)))
Warning  2030 -                                         ^ Called method
may not always return a value

dsdt.dsl  4552:                 Scope (\_SB.PCI0)
Warning  2031 -           Internal compiler error ^  (Not using optimized
name -  did not find node)

ASL Input:  dsdt.dsl - 7943 lines, 271919 bytes, 3643 keywords
AML Output: DSDT.aml - 27867 bytes 873 named objects 2770 executable opcodes

Compilation complete. 0 Errors, 10 Warnings, 0 Remarks, 809 Optimizations
-------
Well, what can I do now?
Is that dsdt good to test? or I'm still in errors.
Many thank as always
--
A presto
-Valerio-

[-- Attachment #2: dsdt.dsl.diff --]
[-- Type: text/x-diff, Size: 1200 bytes --]

--- dsdt.dsl 2004-11-08 21:54:06.000000000 +0100
+++ dsdtVMF.dsl 2004-11-11 14:15:24.000000000 +0100
@@ -7813,32 +7813,38 @@
Return (CRS)
}
}
- }
-
- If (SS1)
- {
+
+ Method (_INI)
+ {
+ If (SS1)
+ {
Name (\_SB.PCI0._S1D, 0x02)
Name (\_SB.PCI0.P0P1._S1D, 0x02)
Name (\_SB.PCI0.USB1._S1D, 0x02)
Name (\_SB.PCI0.USB2._S1D, 0x02)
Name (\_SB.PCI0.USB3._S1D, 0x02)
- }
+ }

- If (SS3)
- {
+ If (SS3)
+ {
Name (\_SB.PCI0._S3D, 0x02)
Name (\_SB.PCI0.P0P1._S3D, 0x02)
Name (\_SB.PCI0.USB1._S3D, 0x02)
Name (\_SB.PCI0.USB2._S3D, 0x02)
Name (\_SB.PCI0.USB3._S3D, 0x02)
- }
+ }

- If (SS4)
- {
+ If (SS4)
+ {
Name (\_SB.PCI0._S4D, 0x02)
Name (\_SB.PCI0.P0P1._S4D, 0x02)
+ }
+ }
+
}

+
+
Method (_PTS, 1, NotSerialized)
{
Store (Arg0, DBG8)
@@ -7872,6 +7878,8 @@
0x00,
0x00
})
+ Method (_INI)
+ {
If (SS1)
{
Name (_S1, Package (0x04)
@@ -7904,7 +7912,7 @@
0x00
})
}
-
+ }
Name (_S5, Package (0x04)
{
0x07,