PDA

View Full Version : Screen Brightness Conflict With Video Card Driver in DSDT


kingoffright
02-09-2010, 06:04 PM
Hi, guys, I am new here, I think I should post my question here, could some one give me a hand, thank you~!:mad:


http://www.infinitemac.com/f57/laptop-screen-brightness-conflict-with-video-card-driver-t5482/

uman
02-27-2010, 03:33 AM
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:


// 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:

// 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.