Could someone help me out, with my dsdt?
Code: Select all
iasl -tc dsdt.dsl
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060912 [Jul 2 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a
dsdt.dsl 172: Method (_WAK, 1, NotSerialized)
Warning 1079 - ^ Reserved method must return a value (_WAK)
dsdt.dsl 1057: If (Local1)
Error 4049 - Method local variable is not initialized ^ (Local1)
dsdt.dsl 3164: Field (ERAM, AnyAcc, Lock, Preserve)
Error 4074 - ^ Host Operation Region requires ByteAcc access
ASL Input: dsdt.dsl - 4694 lines, 183539 bytes, 2049 keywords
Compilation complete. 2 Errors, 1 Warnings, 0 Remarks, 646 Optimizations
So, on to fixing it:
Code: Select all
nano +172 dsdt.dsl
Method (_WAK, 1, NotSerialized)
{
Store (0x01, BATN)
If (LEqual (Arg0, 0x03)) {}
If (LEqual (Arg0, 0x04))
{
Notify (\_SB.PWRB, 0x02)
\_SB.PCI0.LPC0.PHSS (0x0F)
}
If (LGreaterEqual (OSTP, 0x01))
{
Notify (\_SB.PCI0.IDEC.SECD, 0x00)
Notify (\_SB.PCI0.IDEC.SECD.S_D0, 0x01)
}
}
Replaced with:
Code: Select all
Method (_WAK, 1, NotSerialized)
{
Store (0x01, BATN)
If (LEqual (Arg0, 0x03)) {}
If (LEqual (Arg0, 0x04))
{
Notify (\_SB.PWRB, 0x02)
\_SB.PCI0.LPC0.PHSS (0x0F)
}
If (LGreaterEqual (OSTP, 0x01))
{
Notify (\_SB.PCI0.IDEC.SECD, 0x00)
Notify (\_SB.PCI0.IDEC.SECD.S_D0, 0x01)
}
Return (Package (0x02)
{
0x00,
0x00
})
}
Code: Select all
nano +3164 dsdt.dsl
OperationRegion (ERAM, EmbeddedControl, 0x00, 0xFF)
Field (ERAM, AnyAcc, Lock, Preserve)
{
Replaced with:
Code: Select all
OperationRegion (ERAM, EmbeddedControl, 0x00, 0xFF)
Field (ERAM, ByteAcc, Lock, Preserve)
{
The only thing that's still bugging me is line 1057, Local1 not being initialized.
Code: Select all
Device (LPC0)
{
Method (SWAP, 0, NotSerialized)
{
\_SB.PCI0.LPC0.PHSS (0x0A)
Store (BAYS, Local0)
If (LOr (LEqual (Local0, 0x04), LEqual (Local0, 0x08)))
{
If (LEqual (\_SB.PCI0.LPC0.SPWR, 0x00))
{
Store (0x01, \_SB.PCI0.LPC0.SPWR)
Sleep (0x1E)
And (\_SB.PCI0.IDEC.ICR4, 0x03, \_SB.PCI0.IDEC.ICR4)
Sleep (0x1E)
Store (0x01, \_SB.PCI0.LPC0.SRST)
}
If (LGreaterEqual (OSTP, 0x01))
{
Sleep (0x09C4)
If (LEqual (OSTP, 0x01))
{
If (Local1)
{
Sleep (0x09C4)
}
}
}
}
Else
{
\_SB.PCI0.LPC0.EJSE ()
}
If (LGreaterEqual (OSTP, 0x01))
{
Notify (\_SB.PCI0.IDEC.SECD, 0x00)
Notify (\_SB.PCI0.IDEC.SECD.S_D0, 0x01)
}
}
The full dsdt.dsl can be found @
http://members.lycos.nl/pandoriaantje/f ... x/dsdt.dsl