I managed to fix my shutdown problem using this DSDT patch via MaciASL:
Code:
# Maintained by: PJALM ([email protected]) for: http://pjalm.com/repos/
# These patches are the registered property of PJALM.COM and can not be
# redistributed or modified without the written consent of PJALM.COM.
# Links to these patches are allowed. All material is protected under the DMCA.
# Last Updated : 05/07/2016
# Patch Name : Shutdown Fix - ASUS
# Patch Version : 1.0
# ASUS Shutdown Fix
into method label _PTS code_regex_not If\s*\(LEqual\s*\(Arg0,\s*0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched begin
If (LEqual (Arg0, 0x05)) {}\n
Else\n
{\n
%1
}
I believe Clover uses this same patch for it's FixShutdow. There are also two Rehabman versions of this patch in the MaciASL patch repository. They all seem to work for me.
Although this seems to work, I really don't like using my full DSDT with OpenCore. The Dortania guide seems to frown on this as well. My plan is to make this a triple boot machine with Windows 10 and Ubuntu. I don't know what effect this patch will have on those OSes. My preference would be to construct an SSDT from this patch, but I don't have any experience with this type of programming.
I have attached both the unpatched and patched DSDT files. My system DSDT was obtained using F4 in the Clover boot menu. The DSDT patch was applied using the Legacy compiler in MaciASL (ver 1.6.2) which you can select in the Preferences menu. Using the default Stable compiler produced a fatal error which I did not know how to correct. The MaciASL Legacy compiler also produced several nonfatal warnings but did allow me to successfully compile. If anyone can provide me with some assistance in making a SSDT from this patch I would be most grateful.