
02-27-2010, 03:33 AM
|
Panther
|
|
Join Date: May 2009
Location: USA
Posts: 103
|
|
king,
You should just be able to merge the code in the two DSM methods. If your concern is that you don't know what to put after the Package(, then you should be able to just do the following:
Code:
// DSM = Device Specific Method
Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
// add the brightness stuff here
// and then follow it with the video card stuff
I'm pretty sure that works, because I had artifacts with my GMA950, and then I added the following:
Code:
// DSM = Device Specific Method
Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"device-id",
Buffer (0x04)
{
0xA2, 0x27, 0x00, 0x00
},
"AAPL,HasPanel",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"model",
Buffer (0x07)
{
"GMA950"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
and then deleted the hacked AppleIntelIntegratedFramebuffer.kext and boom, all artifacts are gone. So I'm *fairly* sure "Package ()" works. But I may be wrong. Give it a shot and report back.
Good luck.
--
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.
|