Contribute
Register

Night Shift Mode

Status
Not open for further replies.
Should I not use patches for Series 9 motherboard?

Yep sorry. Fixed link above. You also need to Change PEG0 to GFX0.

Code:
Voilets-Hack:~ JackBamford$ echo -n PEGP|xxd
0000000: 5045 4750                                PEGP
Voilets-Hack:~ JackBamford$ echo -n GFX0|xxd
0000000: 4746 5830                                GFX0
 
I copied SSDT-MCHC, SMBUS, and XHC to patched folder. I added PEGP to GFX0 and SAT0 to SATA in the config.plist. Is there anything else I have to do?
 

Attachments

  • CyCLoBoT's iMac.ioreg
    4.7 MB · Views: 106
I copied SSDT-MCHC, SMBUS, and XHC to patched folder. I added PEGP to GFX0 and SAT0 to SATA in the config.plist. Is there anything else I have to do?

Is Nigh Shift Available now? ioreg looks fine.
 
Still no Night Shift. My Philips 4K monitor is being detected as Television under Graphics properties. I wonder if that's causing the settings to not appear.

One more thing to try. Add this to a new SSDT.

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "GFX0_HDAU", 0)
{
    External(_SB_.PCI0.PEG0, DeviceObj)
    External(_SB_.PCI0.PEG0.GFX0, DeviceObj)
    Scope(_SB.PCI0.PEG0)
    {
        Scope(GFX0)
        {
            Method (_DSM, 4)
            {
                If (!Arg2) { Return (Buffer() { 0x03 }) }
                Return (Package()
                {
                    "@0,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },
                    "@1,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },
                    "@2,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },
                    "@3,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },
                    "@4,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },
                    "@5,connector-type", Buffer() { 0x00, 0x08, 0x00, 0x00 },
                    "hda-gfx", Buffer () { "onboard-2" },
                })
            }
        }
        Device(HDAU)
        {
            Name(_ADR, 1)
            Method(_DSM, 4)
            {
                If (!Arg2) { Return (Buffer() { 0x03 }) }
                Return (Package()
                {
                    "hda-gfx",Buffer() { "onboard-2" },
                })
            }
        }
    }
}
//EOF
 
Status
Not open for further replies.
Back
Top