InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 02-09-2010, 06:04 PM
kingoffright kingoffright is offline
Cheetah
 
Join Date: Feb 2010
Posts: 3
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~!


http://www.infinitemac.com/f57/lapto...-driver-t5482/
Reply With Quote
  #2  
Old 02-27-2010, 03:33 AM
uman uman is offline
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.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


--
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.
Reply With Quote
Reply