Contribute
Register

<< Solved >> DSDT: Shutdown fix

Status
Not open for further replies.

ttc

Joined
Mar 7, 2020
Messages
6
Motherboard
MSI B250M PRO-VDH
CPU
i5-7500
Graphics
GTX 1070
My Medion X6815 does not shutdown, wich is why i tried the Shutdown fix in clover and hald enabler... however this did not work . Then i tried to modify my DSDT with the shutdown fix in MaciASL: I changed:

Code:
Method (_PTS, 1, NotSerialized)  // _PTS: Prepare To Sleep
    {
        Store (Zero, P80D)
        P8XH (Zero, Arg0)
        PTS (Arg0)
        If (LEqual (Arg0, 0x03))
        {
            If (LAnd (DTSE, LGreater (TCNT, One)))
            {
                TRAP (TRTD, 0x1E)
            }
        }
    }
to
Code:
Method (_PTS, 1, NotSerialized)
    {
        If (LNotEqual(Arg0, 0x05))
        {
            Store (Zero, P80D)
            P8XH (Zero, Arg0)
            PTS (Arg0)
            If (LEqual (Arg0, 0x03))
            {
                If (LAnd (DTSE, LGreater (TCNT, One)))
                {
                    TRAP (TRTD, 0x1E)
                }
            }
        }
    }

But unfortunately this did not change anything. The Display goes black, the activity lamps are going off except of the power light.. ;( Does someone know what i could also try to patch? (*Intel 6-Series; *I tried also -slide=0)

DSDT8,2.aml : My current unmodified (only cpu info patch for TurboBoost) DSDT
 

Attachments

  • DSDT8,2.aml
    74.3 KB · Views: 101
Update: I fixed it. Here is my final edit:
Code:
Method (_PTS, 1, NotSerialized)
    {
        Store (Zero, P80D)
        P8XH (Zero, Arg0)
        PTS (Arg0)
        If (LEqual (Arg0, 0x03))
        {
            If (LAnd (DTSE, LGreater (TCNT, One)))
            {
                TRAP (TRTD, 0x1E)
            }
        }

        If (LEqual (Arg0, 0x05))
        {
            Store (Zero, SLPE)
            Sleep (0x10)
        }
    }

I've made even an MaciASL Patch Code:
Code:
into method label _PTS code_regex ([\s\S]*) replace_matched
begin
%1\n\n
        // ShutdownFix by trueToastedCode\n
        If (LEqual (Arg0, 0x05))\n
        {\n
            Store (Zero, SLPE)\n
            Sleep (0x10)\n
        }
end;
 
Status
Not open for further replies.
Back
Top