![]() |
|
|
|
#1
|
|||
|
|||
|
Got warning while compilling DSDT
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 ^ |
|
#2
|
|||
|
|||
|
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.
AsRock P45TS | C2D E8200 | GeForce 8600GTS Mac OS X Snow Leopard 10.6.1 + Windows 7 Ultimate 6.1.7600 + Fedora 11 |
|
#3
|
|||
|
|||
|
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/attachmen...1&d=1256240475 |
|
#4
|
|||
|
|||
|
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! Code:
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
Asus P5W DH Deluxe runnig osx for 3 years now (10.5.4 ideneb) Asus P5N 7a VM 10.5.7 custom installation dell 6400 10.5.1 intel video Iportable OSX86 universal = Live leopard for intel and AMD's on a USB stick! |