Jump to content

Ozmosis


xpamamadeus
6,231 posts in this topic

Recommended Posts

Yes, into something like this:

 

 

 

Device (HDEF)
{
    Name (_ADR, 0x001B0000)
    OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
    Field (HDAR, WordAcc, NoLock, Preserve)
    {
        DCKA,   1, 
                Offset (0x01), 
        DCKM,   1, 
            ,   6, 
        DCKS,   1, 
                Offset (0x08), 
                Offset (0x09), 
        PMEE,   1, 
            ,   6, 
        PMES,   1
    }

    Method (_PRW, 0, NotSerialized)
    {
        Return (GPRW (0x0D, 0x04))
    }

    Method (_DSM, 4, NotSerialized)
    {
        If (LEqual (Arg2, Zero))
        {
            Return (Buffer (One)
            {
                 0x03
            })
        }

        Return (Package (0x06)
        {
            "layout-id", 
            Buffer (0x04)
            {
                 0x01, 0x00, 0x00, 0x00
            }, 

            "PinConfigurations", 
            Buffer (Zero) {}, 
            "MaximumBootBeepVolume", 
            Buffer (One)
            {
                 0x40
            }
        })
    }
}

 

 

 

Fred: is DSDT2BIOS can handle oversized length of new generated dsdt.aml? How to tricks?

 

Yes DSDT can be lower or greater than original.

One known restriction is when BIOS have .ROM section.

Can't handle this.

 

Fred

  • Like 2
Link to comment
Share on other sites

@Fred @cecekpawon @crusher,

Excellent guys...I was initially little confused by Fred explanation as he is a hardcore programmer so a newbie like me can't digest it so easy... :rolleyes: .but then cecekpawon shown some code and crusher shown the method  ....that was excellent timing :thumbsup_anim: ...will try it myself and will see how it goes...

 

Thank you for your support..

Link to comment
Share on other sites

I am getting several errors while I am trying to edit DSDT with above mentioned code..cant compile it. crusher can you edit HDEF section in SSDT with above code mentioned by cecekpawon and send it to me please so I can analyse where I am making mistake?

Thank you

Link to comment
Share on other sites

Oh sorry not SSDT it is DSDT I have looked into toleda SSDT injection but not sure how to add it to DSDT. so I have added DSDT code from cecepkwon into DSDT which you extracted for me. while compiling I am getting several errors..so thats why I asked help to understand how to add patch to vanilla DSDT...

 

Thank you,

Link to comment
Share on other sites

Try to remove/update old AppleALC. Or move your FakeSMC & other required kexts to your AppleALC installed dir. Or use patched ver until new beta came out to get work with 10.12 oh :)

Edited by cecekpawon
Link to comment
Share on other sites

Now I dont have a any errors on my hack with DP1, DP2 and PB.

Gen4ig do you try reset NVRAM?

 

EDIT: Which smbios you use. MacPro3,1 I think does not work on Sierra.

I use like iMac 13.2. Sure I reset nvram. I try checked my DSDT.

My processor section^

Scope (_PR)
    {
        Processor (CPU0, 0x01, 0x00000410, 0x06)
        {
            Name (APLF, 0x08)
            Name (APSN, One)
            Name (APSS, Package (0x1C)
            {
                Package (0x06)
                {
                    0x0D49, 
                    0xD6D8, 
                    0x0A, 
                    0x0A, 
                    0x2300, 
                    0x2300
                }, 

                Package (0x06)
                {
                    0x0D48, 
                    0xD6D8, 
                    0x0A, 
                    0x0A, 
                    0x2200, 
                    0x2200
                }, 

                Package (0x06)
                {
                    0x0CE4, 
                    0xCE29, 
                    0x0A, 
                    0x0A, 
                    0x2100, 
                    0x2100
                }, 

                Package (0x06)
                {
                    0x0C80, 
                    0xC5A2, 
                    0x0A, 
                    0x0A, 
                    0x2000, 
                    0x2000
                }, 

                Package (0x06)
                {
                    0x0C1C, 
                    0xBD43, 
                    0x0A, 
                    0x0A, 
                    0x1F00, 
                    0x1F00
                }, 

                Package (0x06)
                {
                    0x0BB8, 
                    0xB50C, 
                    0x0A, 
                    0x0A, 
                    0x1E00, 
                    0x1E00
                }, 

                Package (0x06)
                {
                    0x0B54, 
                    0xACFC, 
                    0x0A, 
                    0x0A, 
                    0x1D00, 
                    0x1D00
                }, 

                Package (0x06)
                {
                    0x0AF0, 
                    0xA512, 
                    0x0A, 
                    0x0A, 
                    0x1C00, 
                    0x1C00
                }, 

                Package (0x06)
                {
                    0x0A8C, 
                    0x9D4F, 
                    0x0A, 
                    0x0A, 
                    0x1B00, 
                    0x1B00
                }, 

                Package (0x06)
                {
                    0x0A28, 
                    0x95B2, 
                    0x0A, 
                    0x0A, 
                    0x1A00, 
                    0x1A00
                }, 

                Package (0x06)
                {
                    0x09C4, 
                    0x8E3A, 
                    0x0A, 
                    0x0A, 
                    0x1900, 
                    0x1900
                }, 

                Package (0x06)
                {
                    0x0960, 
                    0x86E8, 
                    0x0A, 
                    0x0A, 
                    0x1800, 
                    0x1800
                }, 

                Package (0x06)
                {
                    0x08FC, 
                    0x7FBC, 
                    0x0A, 
                    0x0A, 
                    0x1700, 
                    0x1700
                }, 

                Package (0x06)
                {
                    0x0898, 
                    0x78B4, 
                    0x0A, 
                    0x0A, 
                    0x1600, 
                    0x1600
                }, 

                Package (0x06)
                {
                    0x0834, 
                    0x71D1, 
                    0x0A, 
                    0x0A, 
                    0x1500, 
                    0x1500
                }, 

                Package (0x06)
                {
                    0x07D0, 
                    0x6B12, 
                    0x0A, 
                    0x0A, 
                    0x1400, 
                    0x1400
                }, 

                Package (0x06)
                {
                    0x076C, 
                    0x6477, 
                    0x0A, 
                    0x0A, 
                    0x1300, 
                    0x1300
                }, 

                Package (0x06)
                {
                    0x0708, 
                    0x5E00, 
                    0x0A, 
                    0x0A, 
                    0x1200, 
                    0x1200
                }, 

                Package (0x06)
                {
                    0x06A4, 
                    0x57AC, 
                    0x0A, 
                    0x0A, 
                    0x1100, 
                    0x1100
                }, 

                Package (0x06)
                {
                    0x0640, 
                    0x517A, 
                    0x0A, 
                    0x0A, 
                    0x1000, 
                    0x1000
                }, 

                Package (0x06)
                {
                    0x05DC, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0F00, 
                    0x0F00
                }, 

                Package (0x06)
                {
                    0x0578, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0E00, 
                    0x0E00
                }, 

                Package (0x06)
                {
                    0x0514, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0D00, 
                    0x0D00
                }, 

                Package (0x06)
                {
                    0x04B0, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0C00, 
                    0x0C00
                }, 

                Package (0x06)
                {
                    0x044C, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0B00, 
                    0x0B00
                }, 

                Package (0x06)
                {
                    0x03E8, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0A00, 
                    0x0A00
                }, 

                Package (0x06)
                {
                    0x0384, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0900, 
                    0x0900
                }, 

                Package (0x06)
                {
                    0x0320, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0800, 
                    0x0800
                }
            })
            Method (ACST, 0, NotSerialized)
            {
                Return (Package (0x05)
                {
                    One, 
                    0x03, 
                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000000, // Address
                                0x01,               // Access Size
                                )
                        }, 

                        One, 
                        Zero, 
                        0x03E8
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000010, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x03, 
                        0xCD, 
                        0x01F4
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000020, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x06, 
                        0xF5, 
                        0x015E
                    }
                })
            }

            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                           
                    })
                }

                Return (Package (0x02)
                {
                    "plugin-type", 
                    One
                })
            }
        }

        Processor (CPU1, 0x02, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (Package (0x05)
                {
                    One, 
                    0x03, 
                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000000, // Address
                                0x01,               // Access Size
                                )
                        }, 

                        One, 
                        0x03E8, 
                        0x03E8
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000010, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x02, 
                        0x94, 
                        0x01F4
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000020, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x03, 
                        0xA9, 
                        0x015E
                    }
                })
            }
        }

        Processor (CPU2, 0x03, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU3, 0x04, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU4, 0x05, 0x00000410, 0x06) {}
        Processor (CPU5, 0x06, 0x00000410, 0x06) {}
        Processor (CPU6, 0x07, 0x00000410, 0x06) {}
        Processor (CPU7, 0x08, 0x00000410, 0x06) {}
    } 
Link to comment
Share on other sites

 

 

I have this error on Sierra PB. Anybody have like this? In 10.11.5 is good.  In clover no this error although use the same dsdt with edited processor section. 

 

I saw the same thing yesterday, booting from macOS Public Beta Installer  USB Stick on my QUO. My SysDef is iMac 13,2.

No custom DSDT.

Note : I am not using Clover, only Oz.

Link to comment
Share on other sites

×
×
  • Create New...