I took a look at the differences between your files. If you have Xcode installed, use the FileMerge tool (called by the opendiff command line) to graphically see the differences.
$ opendiff My\ DSDT/without\ GFX\ fix/DSDT.dsl Not\ mine/DSDT.dsl
Doing so shows:
1. Some standard fixes when you use DSDT patcher (fixRTC, HPET etc)
2. the gma950 fixes
3. Some fixes I don't get (_S1 becoming SS1, and SS3 becoming _S3).
I would suggest using opendiff/filemerge to apply selected changes from 1 and 2 above until you get a minimal one that works.
As far as the compiling error, that's because the _WAK method has to return a package since it is declared as returning a value. The ACPI spec says it needs to return a:
Result Code (2 DWORD package):
Status Bit field of defined conditions that occurred during sleep.
0x00000000 Wake was signaled and was successful
0x00000001 Wake was signaled but failed due to lack of power.
0x00000002 Wake was signaled but failed due to thermal condition.
But you can shut it up by putting a:
Code:
Return(Package(0x02){0x00, 0x00})
} // final brace of _WAK method
And that should do the trick.
--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!
Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.
iMac (luxo/lamp) G4 with Tiger.