Jump to content

Recommended Posts

Posted

I have tried the DSDTeditor Asus shutdown patch but it does nothing to the vanilla DSDT.


Can someone have a look to tell me what I need to modify to fix this?


I have attached both a vanilla DSDT and a fully patched complete DSDT ready for use except the shutdown for that DSDT is not working.


Area in DSDT not patching:

 

Method (\_PTS, 1, NotSerialized)
   {
       Or (Arg0, 0xF0, Local0)
       Store (Local0, DBG1)
       Store (0x01, PM29)
       If (LNotEqual (VID0, 0xFFFF))
       {
           If (LEqual (And (RSR0, 0x01), 0x01))
           {
               Or (RSR0, 0x01, RSR0)
               Or (PMC0, 0x80, PMC0)
           }
       }
       If (LNotEqual (VID1, 0xFFFF))
       {
           If (LEqual (And (RSR1, 0x01), 0x01))
           {
               Or (RSR1, 0x01, RSR1)
               Or (PMC1, 0x80, PMC1)
           }
       }

DSDT_VANILLA_a6040n_Asus_mb.aml.zip

dsdt_Fully_Patched_Except_Shutdown_Not_Working.aml.zip

OP-LP3 OverPowered Laptop 17 inch, i7-8750H, 32GB memory, 256GB NvMe stock with windows 10 and added 512GB NvMe Samsung 970 Pro with MacOS 11.2.1, OpenCore 0.6.7.   New Asus Pro WS X299 Sage II intel i9-10980XE 18 core beast Big Sur 11.2.1. OpenCore 0.6.7,  Asus Z390-E i9-9900K 64GB G.Skill Ripjaws Sapphire Pulse RX580, Asus Sabertooth X79 (4) E5-2697 v2 (12 Core), Asus Maximus VIII Hero Alpha i7-7700K 64GB Corsair 2400, Asus Z97-Deluxe i7-4790K, Gigabyte Z77X-UP5-TH i7-3770k, Asus Maximux Formula Special Editions with Rampage Formula Bios conversion, Gigabyte GA-EP35-DS4, GA-EP45-UD3P, GA-G41M-ES2L, GA-Z68X-UD4-B3 and Quo MB.  MAC PRO EARLY 2008, MacPro Late 2012. Asus Notebooks: G51JX i7-720QM, G74SX-XT1 i7-2630QM, Asus G750JX-DB71 Haswell Processor i7-4700HQ GTX 770M 3GB (4).  Dell Laptops D820, D830, XPS M1530 (6), Dell 13-1567 (4), Older processors  i7 (3770K/4770k/6700k/7700K).  Older GFX Cards:  EVGA GT-640, EVGA GTX 760, EVGA GTX 770 (six),

Posted

THis is incredible and it works 100% every time!! Thank you very much!!


Can I ask how this works? I did a diffmerg to compare the modification and not sure what this does?



Before Edit:

 

  OSTP ()
       If (LEqual (Arg0, One)) {}
       If (LEqual (Arg0, 0x03)) {}
       If (LEqual (Arg0, 0x05))
       {
           Store (ESMI, Local0)
           And (Local0, 0xFB, Local0)
           Store (Local0, ESMI)
       }

 


Your Edit:

 

        OSTP ()
       If (LEqual (Arg0, One)) {}
       If (LEqual (Arg0, 0x03)) {}
       If (LEqual (Arg0, 0x05))
       {
           Store (Zero, TRAP)
           Sleep (0x10)
       }

OP-LP3 OverPowered Laptop 17 inch, i7-8750H, 32GB memory, 256GB NvMe stock with windows 10 and added 512GB NvMe Samsung 970 Pro with MacOS 11.2.1, OpenCore 0.6.7.   New Asus Pro WS X299 Sage II intel i9-10980XE 18 core beast Big Sur 11.2.1. OpenCore 0.6.7,  Asus Z390-E i9-9900K 64GB G.Skill Ripjaws Sapphire Pulse RX580, Asus Sabertooth X79 (4) E5-2697 v2 (12 Core), Asus Maximus VIII Hero Alpha i7-7700K 64GB Corsair 2400, Asus Z97-Deluxe i7-4790K, Gigabyte Z77X-UP5-TH i7-3770k, Asus Maximux Formula Special Editions with Rampage Formula Bios conversion, Gigabyte GA-EP35-DS4, GA-EP45-UD3P, GA-G41M-ES2L, GA-Z68X-UD4-B3 and Quo MB.  MAC PRO EARLY 2008, MacPro Late 2012. Asus Notebooks: G51JX i7-720QM, G74SX-XT1 i7-2630QM, Asus G750JX-DB71 Haswell Processor i7-4700HQ GTX 770M 3GB (4).  Dell Laptops D820, D830, XPS M1530 (6), Dell 13-1567 (4), Older processors  i7 (3770K/4770k/6700k/7700K).  Older GFX Cards:  EVGA GT-640, EVGA GTX 760, EVGA GTX 770 (six),

Posted

It's the patch used in Gigabyte boards

into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end

except you don't need to insert the OperationRegion because it's already there (with different names), so it becomes

into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (Zero, TRAP)\n
           Sleep (0x10)\n
%2
end

 

More info


http://www.insanelymac.com/forum/topic/192518-dsdt-fixes-for-gigabyte-boards/

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...