Jump to content

building DSDT for MSI Z170A Gaming M3


Tightlovin
 Share

11 posts in this topic

Recommended Posts

Hi to all guru!

I'm to build correct dsdt for this motherboard and can't fix two unknown for me errors.

Need your assistance guys!

Here's the methods with strange HLVT and AL6:

Method (_L62, 0, NotSerialized)
        {
            Store (Zero, GPEC)
            If (CondRefOf (\_PR.DTSE))
            {
                If (LGreaterEqual (\_PR.DTSE, One))
                {
                    Notify (\_TZ.TZ00, 0x80)
                    Notify (\_TZ.TZ01, 0x80)
                }
            }
            If (CondRefOf (\_GPE.HLVT))
            {
                HLVT
            }
        }
        Method (_L66, 0, NotSerialized)
        {
            If (LAnd (\_SB.PCI0.GFX0.GSSE, LNot (GSMI)))
            {
                \_SB.PCI0.GFX0.GSCI ()
            }
        }
        Method (_L67, 0, NotSerialized)
        {
            Store (0x20, \_SB.PCI0.SBUS.HSTS)
        }
        Name (PRES, One)
        Method (_L6F, 0, NotSerialized)
        {
            \_SB.UGPS ()
            If (LEqual (RTD3, One))
            {
                If (CondRefOf (\_GPE.AL6F))
                {
                    AL6F
                }
            }
            If (LEqual (SGGP, One))
            {
                If (CondRefOf (\_GPE.P0L6))
                {
                    P0L6
                    (\_SB.CAGS (P0WK))
                }
            }
            If (LEqual (P1GP, One))
            {
                If (CondRefOf (\_GPE.P1L6))
                {
                    P1L6
                    (\_SB.CAGS (P1WK))
                }
            }
            If (LEqual (P2GP, One))
            {
                If (CondRefOf (\_GPE.P2L6))
                {
                    P2L6
                    (\_SB.CAGS (P2WK))
                }
            }
            If (LEqual (TBTS, One))
            {
                If (\_SB.ISME (CPGN))
                {
                    \_SB.THDR ()
                }
            }
            \_SB.CGLS ()
        }
    }
    If (LEqual (CAMT, Zero))
    {
        Scope (_SB)
        {
            Device (ICAM)
            {
                Name (_HID, "INT33A3")
                Name (IDFU, Zero)
                Name (IPWR, Zero)

and original dsdt in zip

DSDT.zip

Link to comment
Share on other sites

I mean that the dsdt.aml that you have uploaded, has already been edited by you, and is not correctly (faulty!)  ^_^

Link to comment
Share on other sites

Maybe replacing with

 

Store (Zero, HLVT)

Store (Zero, AL6F)

already tried and after that i got another 14 errors....

I mean that the dsdt.aml that you have uploaded, has already been edited by you, and is not correctly (faulty!)  ^_^

no, i got this dsdt by clover (F4 button) and didn't edit it...

all ssdt added and dump log too.

origin.zip

Link to comment
Share on other sites

I can open without an error message, but the DSDT is very complex (wow :D ), which is a case for RehabMan and Racer. But I want to try it .

  • Like 1
Link to comment
Share on other sites

gengik84, thanks for solution, i didn't know about 5.1

in 5,1 by MaciASL i got two Arg0 errors. One fixed.

What should i do with this one? (Arg0, Arg1, Arg2 and Arg3)

            Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
            {
                If (PCIC (Arg0))
                {
                    Return (PCID (Arg0, Arg1, Arg2, Arg3))
                }

                If (CondRefOf (\_SB.PCI0.SAT0.SDSM))
                {
                    Return (SDSM) /* External reference */
                    Arg0
                    Arg1
                    Arg2
                    Arg3
                }

                Return (Zero)
            }

            Device (PRT0)
            {
                Name (_ADR, 0xFFFF)  // _ADR: Address
            }

            Device (PRT1)
            {
                Name (_ADR, 0x0001FFFF)  // _ADR: Address
            }

            Device (PRT2)
            {
                Name (_ADR, 0x0002FFFF)  // _ADR: Address
            }

            Device (PRT3)
            {
                Name (_ADR, 0x0003FFFF)  // _ADR: Address
            }

            Device (PRT4)
            {
                Name (_ADR, 0x0004FFFF)  // _ADR: Address
            }

            Device (PRT5)
            {
                Name (_ADR, 0x0005FFFF)  // _ADR: Address
            }

 

I'm not an expert on DSDT but in your first dsdt i see only 2 errors about Arg0..3 

Are u using ACPI 4.0 ?

yes, used 4.0 and MaciASL

 

Thanks all for response!

Link to comment
Share on other sites

look under download, there you will find a current MacIASL

but buoo has patched the DSDT.aml almost flawlessly

Link to comment
Share on other sites

 Share

×
×
  • Create New...