misa198 / dell-latitude-5570-hackintosh

DELL Latitude E5570 hackintosh Opencore
29 stars 8 forks source link

Fixing Brightness function (BRT6 Method) for Ventura #17

Open quynkk1 opened 1 year ago

quynkk1 commented 1 year ago

You can try this BRT6 Patch, this one is worked for me in this machine: This one can be used for earlier macOS version (Monterey, Big Sur, ...)

Method (BRT6, 2, NotSerialized)
{
            If (_OSI ("Darwin"))
            {
                If ((Arg0 == One))
                {
                    Notify (^LCD, 0x86)
                    Notify (^^LPCB.PS2K, 0x10)
                    Notify (^^LPCB.PS2K, 0x0366)
                }

                If ((Arg0 & 0x02))
                {
                    Notify (^LCD, 0x87)
                    Notify (^^LPCB.PS2K, 0x20)
                    Notify (^^LPCB.PS2K, 0x0365)
                }
            }
            Else
            {
                \_SB.PCI0.GFX0.BRTX (Arg0, Arg1)
            }
}

Also adding this patch to config.plist: Comment: BRT6,2 to BRTX,2 Find: 14204252543602 Replace: 14204252545802

misa198 commented 1 year ago

I tried, but it doesn't work on Ventura. It works on BigSur and Monterey. On Ventura, I used SMBIOS MacBookPro14,1 and device_id 16590000.

quynkk1 commented 1 year ago

Do you have 2 method BRTN and BRTX in DSDT? My machine only has iGPU so it worked as a charm, but in Ventura sometimes graphics laggy or crashed WindowServer due to pre-kabylake spoof.