InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Screen Brightness Conflict With Video Card Driver in DSDT (http://infinitemac.com/showthread.php?t=5483)

kingoffright 02-09-2010 06:04 PM

Screen Brightness Conflict With Video Card Driver in DSDT
 
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/lapto...-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:

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.