danielniel
10-22-2009, 12:54 PM
Maybe you could help me
i get these warnings/Users/daniordoyo/Documents/snowtr/Tools/DSDTPatcherGUI_1.0/Sessions/2009-10-21-222126/dsdt.dsl 3107: Return (One)
Warning 1099 - Statement is unreachable ^
/Users/daniordoyo/Documents/snowtr/Tools/DSDTPatcherGUI_1.0/Sessions/2009-10-21-222126/dsdt.dsl 3240: If (LEqual (Arg2, 0x03))
Warning 1099 - Statement is unreachable ^
thorazine74
10-22-2009, 07:40 PM
I doubt anyone will be able to help you if you dont post the dsdt code that triggers the warning and what hardware it comes from.
danielniel
10-22-2009, 08:40 PM
Sorry, the hardware is
mobo Gigabyte EP45 Extreme
Proc intel QX9650 @ 3.0
mem 8gb GSKILL F2 8800 ddr2 1066
Ati sapphire 4870 512 mb
This is the dsdt
http://www.infinitemac.com/attachment.php?attachmentid=809&stc=1&d=1256240475
candykane
01-29-2010, 02:35 AM
Adding The below code will kill one of your warnings but
for the rest just let it go a warning is usaly not that important an error is!
On some machines, this hack enables sleep.
At the end of the _WAK method, this must be added:
Return (Package (0x02)
{
Zero,
Zero
})
Example:
Method (_WAK, 1, NotSerialized)
{
P8XH (One, 0xAB)
If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
{
If (And (CFGD, 0x01000000))
{
If (LAnd (And (CFGD, 0xF0), LEqual (OSYS, 0x07D1)))
{
TRAP (0x3D)
}
}
}
If (LEqual (RP2D, Zero))
{
Notify (\_SB.PCI0.RP02, Zero)
}
If (LEqual (Arg0, 0x03)) {}
If (LEqual (Arg0, 0x04))
{
\_SB.PCI0.LPCB.EC.SELE ()
}
P8XH (Zero, 0xCD)
Return (Package (0x02)
{
Zero,
Zero
})
}
You must use the search feature to locate the _WAK section and add the hack