Contribute
Register

<< Solved >> Haswell GA-Z97MX-Gaming-5 Shutdown & Sleep Issues

Joined
Dec 21, 2013
Messages
132
Motherboard
Gigabyte Z490M Gaming X
CPU
i9-10850K
Graphics
RX 6900 XT
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Hi,
I have installed Big Sur 11.2.3 on a i7-4790K in a GA-Z97MX-Gaming-5 with a Fenvi-T919 (connected to an internal USB header to enable bluetooth) using OpenCore 0.7.9.

All works as it should, however I am getting sleep (instant wake from sleep) and shutdown (automatic restart after shutdown) issues.

As I am still running 11.2.3, I have built a custom USB KeyMap GA-Z97MX-Gaming-5-USB.kext with the internal USB header set as type 255, however sleep and shutdown still doesn't work.

I have also tried adding
  • SSDT-Fix-USB-Shutdown.aml along with the _PTS to ZPTS ACPI patch to fix shutdown and restart as per the Dortania Guide
  • EHC1 to EH01 ACPI patch
  • EHC2 to EH02 ACPI patch
  • SSDT-USBX.aml to fix the embedded (SSDT-EC/USBX) controller as per the Dortania Guide
My SMBios is iMac17,1.

If anyone has a similar board (or a Fenvi-T919) who doesn't have sleep/shutdown issues, help is much appreciated.

config.plist below and full EFI attached.

XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>ACPI</key>
   <dict>
      <key>Add</key>
      <array>
         <dict>
            <key>Comment</key>
            <string>SSDT-EC-DESKTOP.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-EC-DESKTOP.aml</string>
         </dict>
         <dict>
            <key>Comment</key>
            <string>SSDT-Fix-USB-Shutdown.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-Fix-USB-Shutdown.aml</string>
         </dict>
         <dict>
            <key>Comment</key>
            <string>SSDT-PLUG-DRTNIA.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-PLUG-DRTNIA.aml</string>
         </dict>
         <dict>
            <key>Comment</key>
            <string>SSDT-USBX.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-USBX.aml</string>
         </dict>
      </array>
      <key>Delete</key>
      <array>
         <dict>
            <key>All</key>
            <false/>
            <key>Comment</key>
            <string>Delete CpuPm</string>
            <key>Enabled</key>
            <false/>
            <key>OemTableId</key>
            <data>Q3B1UG0AAAA=</data>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data>U1NEVA==</data>
         </dict>
         <dict>
            <key>All</key>
            <false/>
            <key>Comment</key>
            <string>Delete Cpu0Ist</string>
            <key>Enabled</key>
            <false/>
            <key>OemTableId</key>
            <data>Q3B1MElzdAA=</data>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data>U1NEVA==</data>
         </dict>
      </array>
      <key>Patch</key>
      <array>
         <dict>
            <key>Base</key>
            <string></string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>Replace one byte sequence with another</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>ESIzRA==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>RDMiEQ==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Base</key>
            <string>\_SB.PCI0.LPCB.HPET</string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>HPET _CRS to XCRS</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>X0NSUw==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>WENSUw==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Base</key>
            <string></string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>EHC1 to EH01</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <true/>
            <key>Find</key>
            <data>RUhDMQ==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>RUgwMQ==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Base</key>
            <string></string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>EHC2 to EH02</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <true/>
            <key>Find</key>
            <data>RUhDMg==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>RUgwMg==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Comment</key>
            <string>_PTS to ZPTS</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <true/>
            <key>Find</key>
            <data>X1BUUw==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>WlBUUw==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
      </array>
      <key>Quirks</key>
      <dict>
         <key>FadtEnableReset</key>
         <false/>
         <key>NormalizeHeaders</key>
         <false/>
         <key>RebaseRegions</key>
         <false/>
         <key>ResetHwSig</key>
         <false/>
         <key>ResetLogoStatus</key>
         <true/>
         <key>SyncTableIds</key>
         <false/>
      </dict>
   </dict>
   <key>Booter</key>
   <dict>
      <key>MmioWhitelist</key>
      <array>
         <dict>
            <key>Address</key>
            <integer>4275159040</integer>
            <key>Comment</key>
            <string>Haswell: SB_RCBA is a 0x4 page memory region, containing SPI_BASE at 0x3800 (SPI_BASE_ADDRESS)</string>
            <key>Enabled</key>
            <false/>
         </dict>
         <dict>
            <key>Address</key>
            <integer>4278190080</integer>
            <key>Comment</key>
            <string>Generic: PCI root is a 0x1000 page memory region used by some types of firmware</string>
            <key>Enabled</key>
            <false/>
         </dict>
      </array>
      <key>Patch</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Comment</key>
            <string>macOS to hacOS</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>bWFjT1M=</data>
            <key>Identifier</key>
            <string>Apple</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>Replace</key>
            <data>aGFjT1M=</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
      </array>
      <key>Quirks</key>
      <dict>
         <key>AllowRelocationBlock</key>
         <false/>
         <key>AvoidRuntimeDefrag</key>
         <true/>
         <key>DevirtualiseMmio</key>
         <false/>
         <key>DisableSingleUser</key>
         <false/>
         <key>DisableVariableWrite</key>
         <false/>
         <key>DiscardHibernateMap</key>
         <false/>
         <key>EnableSafeModeSlide</key>
         <true/>
         <key>EnableWriteUnprotector</key>
         <true/>
         <key>ForceBooterSignature</key>
         <false/>
         <key>ForceExitBootServices</key>
         <false/>
         <key>ProtectMemoryRegions</key>
         <false/>
         <key>ProtectSecureBoot</key>
         <false/>
         <key>ProtectUefiServices</key>
         <false/>
         <key>ProvideCustomSlide</key>
         <true/>
         <key>ProvideMaxSlide</key>
         <integer>0</integer>
         <key>RebuildAppleMemoryMap</key>
         <false/>
         <key>ResizeAppleGpuBars</key>
         <integer>-1</integer>
         <key>SetupVirtualMap</key>
         <true/>
         <key>SignalAppleOS</key>
         <false/>
         <key>SyncRuntimePermissions</key>
         <false/>
      </dict>
   </dict>
   <key>DeviceProperties</key>
   <dict>
      <key>Add</key>
      <dict>
         <key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
         <dict>
            <key>layout-id</key>
            <data></data>
         </dict>
         <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
         <dict>
            <key>AAPL,ig-platform-id</key>
            <data>BAASBA==</data>
         </dict>
      </dict>
      <key>Delete</key>
      <dict/>
   </dict>
   <key>Kernel</key>
   <dict>
      <key>Add</key>
      <array>
         <dict>
            <key>BundlePath</key>
            <string>AtherosE2200Ethernet.kext</string>
            <key>Comment</key>
            <string>AtherosE2200Ethernet.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/AtherosE2200Ethernet</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>GA-Z97MX-Gaming-5-USB.kext</string>
            <key>Comment</key>
            <string>GA-Z97MX-Gaming-5-USB.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string></string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>Lilu.kext</string>
            <key>Comment</key>
            <string>Lilu.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/Lilu</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>VirtualSMC.kext</string>
            <key>Comment</key>
            <string>VirtualSMC.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/VirtualSMC</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>WhateverGreen.kext</string>
            <key>Comment</key>
            <string>WhateverGreen.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/WhateverGreen</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>AppleALC.kext</string>
            <key>Comment</key>
            <string>AppleALC.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/AppleALC</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>SMCProcessor.kext</string>
            <key>Comment</key>
            <string>SMCProcessor.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/SMCProcessor</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>SMCSuperIO.kext</string>
            <key>Comment</key>
            <string>SMCSuperIO.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/SMCSuperIO</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
      </array>
      <key>Block</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Comment</key>
            <string></string>
            <key>Enabled</key>
            <false/>
            <key>Identifier</key>
            <string>com.apple.driver.AppleTyMCEDriver</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Strategy</key>
            <string>Disable</string>
         </dict>
      </array>
      <key>Emulate</key>
      <dict>
         <key>Cpuid1Data</key>
         <data></data>
         <key>Cpuid1Mask</key>
         <data></data>
         <key>DummyPowerManagement</key>
         <false/>
         <key>MaxKernel</key>
         <string></string>
         <key>MinKernel</key>
         <string></string>
      </dict>
      <key>Force</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>BundlePath</key>
            <string>System/Library/Extensions/IONetworkingFamily.kext</string>
            <key>Comment</key>
            <string></string>
            <key>Enabled</key>
            <false/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/IONetworkingFamily</string>
            <key>Identifier</key>
            <string>com.apple.iokit.IONetworkingFamily</string>
            <key>MaxKernel</key>
            <string>13.99.99</string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
      </array>
      <key>Patch</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Base</key>
            <string>__ZN8AppleRTC18setupDateTimeAlarmEPK11RTCDateTime</string>
            <key>Comment</key>
            <string>Disable RTC wake scheduling</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>com.apple.driver.AppleRTC</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string>19.0.0</string>
            <key>Replace</key>
            <data>ww==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Base</key>
            <string>_AcpiOsVprintf</string>
            <key>Comment</key>
            <string>Disable ACPI logging</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>com.apple.driver.AppleACPIPlatform</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string>18.5.0</string>
            <key>MinKernel</key>
            <string>18.5.0</string>
            <key>Replace</key>
            <data>ww==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>__ZN11BCM5701Enet14getAdapterInfoEv</string>
            <key>Comment</key>
            <string>Broadcom BCM57785 patch</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>6AAA//9miYMABQAA</data>
            <key>Identifier</key>
            <string>com.apple.iokit.AppleBCM5701Ethernet</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data>/wAA////////////</data>
            <key>MaxKernel</key>
            <string>19.9.9</string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>uLQWAABmiYMABQAA</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_panic</string>
            <key>Comment</key>
            <string>Send panic string to serial port</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2dN/r/g==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_kernel_debug_string_early</string>
            <key>Comment</key>
            <string>Send early prints to serial port</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2dN/D</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_disable_serial_output</string>
            <key>Comment</key>
            <string>Enable early serial output on RELEASE kernel</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>AA==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_vstart</string>
            <key>Comment</key>
            <string>Print K and dead loop</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>sUtmuv0D7KggdPtmuvgDiMjusQpmuv0D7KggdPtmuvgDiMju6/4=</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_vstart</string>
            <key>Comment</key>
            <string>Early reboot</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>McCwBrr5DAAA7uv+</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_early_random</string>
            <key>Comment</key>
            <string>SurPlus v1 - PART 1 of 2 - Patch read_erandom (inlined in _early_random)</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>AHQjSIs=</data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>800</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string>21.1.0</string>
            <key>MinKernel</key>
            <string>20.4.0</string>
            <key>Replace</key>
            <data>AOsjSIs=</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_register_and_init_prng</string>
            <key>Comment</key>
            <string>SurPlus v1 - PART 2 of 2 - Patch register_and_init_prng</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>ukgBAAAx9g==</data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>256</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string>21.1.0</string>
            <key>MinKernel</key>
            <string>20.4.0</string>
            <key>Replace</key>
            <data>ukgBAADrBQ==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
      </array>
      <key>Quirks</key>
      <dict>
         <key>AppleCpuPmCfgLock</key>
         <false/>
         <key>AppleXcpmCfgLock</key>
         <true/>
         <key>AppleXcpmExtraMsrs</key>
         <false/>
         <key>AppleXcpmForceBoost</key>
         <false/>
         <key>CustomSMBIOSGuid</key>
         <false/>
         <key>DisableIoMapper</key>
         <true/>
         <key>DisableLinkeditJettison</key>
         <true/>
         <key>DisableRtcChecksum</key>
         <false/>
         <key>ExtendBTFeatureFlags</key>
         <false/>
         <key>ExternalDiskIcons</key>
         <false/>
         <key>ForceSecureBootScheme</key>
         <false/>
         <key>IncreasePciBarSize</key>
         <false/>
         <key>LapicKernelPanic</key>
         <false/>
         <key>LegacyCommpage</key>
         <false/>
         <key>PanicNoKextDump</key>
         <true/>
         <key>PowerTimeoutKernelPanic</key>
         <true/>
         <key>ProvideCurrentCpuInfo</key>
         <false/>
         <key>SetApfsTrimTimeout</key>
         <integer>-1</integer>
         <key>ThirdPartyDrives</key>
         <false/>
         <key>XhciPortLimit</key>
         <false/>
      </dict>
      <key>Scheme</key>
      <dict>
         <key>CustomKernel</key>
         <false/>
         <key>FuzzyMatch</key>
         <true/>
         <key>KernelArch</key>
         <string>Auto</string>
         <key>KernelCache</key>
         <string>Auto</string>
      </dict>
   </dict>
   <key>Misc</key>
   <dict>
      <key>BlessOverride</key>
      <array/>
      <key>Boot</key>
      <dict>
         <key>ConsoleAttributes</key>
         <integer>0</integer>
         <key>HibernateMode</key>
         <string>None</string>
         <key>HideAuxiliary</key>
         <true/>
         <key>LauncherOption</key>
         <string>Full</string>
         <key>LauncherPath</key>
         <string>Default</string>
         <key>PickerAttributes</key>
         <integer>17</integer>
         <key>PickerAudioAssist</key>
         <false/>
         <key>PickerMode</key>
         <string>External</string>
         <key>PickerVariant</key>
         <string>Auto</string>
         <key>PollAppleHotKeys</key>
         <false/>
         <key>ShowPicker</key>
         <true/>
         <key>TakeoffDelay</key>
         <integer>0</integer>
         <key>Timeout</key>
         <integer>5</integer>
      </dict>
      <key>Debug</key>
      <dict>
         <key>AppleDebug</key>
         <true/>
         <key>ApplePanic</key>
         <true/>
         <key>DisableWatchDog</key>
         <true/>
         <key>DisplayDelay</key>
         <integer>0</integer>
         <key>DisplayLevel</key>
         <integer>2147483650</integer>
         <key>LogModules</key>
         <string>*</string>
         <key>SerialInit</key>
         <false/>
         <key>SysReport</key>
         <false/>
         <key>Target</key>
         <integer>67</integer>
      </dict>
      <key>Entries</key>
      <array>
         <dict>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <false/>
            <key>Comment</key>
            <string>Not signed for security reasons</string>
            <key>Enabled</key>
            <false/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>Name</key>
            <string>CustomOS</string>
            <key>Path</key>
            <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string>
            <key>TextMode</key>
            <false/>
         </dict>
      </array>
      <key>Security</key>
      <dict>
         <key>AllowNvramReset</key>
         <true/>
         <key>AllowSetDefault</key>
         <true/>
         <key>AllowToggleSip</key>
         <false/>
         <key>ApECID</key>
         <integer>0</integer>
         <key>AuthRestart</key>
         <false/>
         <key>BlacklistAppleUpdate</key>
         <true/>
         <key>DmgLoading</key>
         <string>Signed</string>
         <key>EnablePassword</key>
         <false/>
         <key>ExposeSensitiveData</key>
         <integer>6</integer>
         <key>HaltLevel</key>
         <integer>2147483648</integer>
         <key>PasswordHash</key>
         <data></data>
         <key>PasswordSalt</key>
         <data></data>
         <key>ScanPolicy</key>
         <integer>0</integer>
         <key>SecureBootModel</key>
         <string>Default</string>
         <key>Vault</key>
         <string>Optional</string>
      </dict>
      <key>Tools</key>
      <array>
         <dict>
            <key>Name</key>
            <string>CleanNvram.efi</string>
            <key>Comment</key>
            <string>CleanNvram.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>CleanNvram.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
         <dict>
            <key>Name</key>
            <string>OpenControl.efi</string>
            <key>Comment</key>
            <string>OpenControl.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenControl.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
         <dict>
            <key>Name</key>
            <string>OpenShell.efi</string>
            <key>Comment</key>
            <string>OpenShell.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenShell.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
         <dict>
            <key>Name</key>
            <string>ResetSystem.efi</string>
            <key>Comment</key>
            <string>ResetSystem.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>ResetSystem.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
      </array>
   </dict>
   <key>NVRAM</key>
   <dict>
      <key>Add</key>
      <dict>
         <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
         <dict>
            <key>DefaultBackgroundColor</key>
            <data>AAAAAA==</data>
         </dict>
         <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
         <dict>
            <key>rtc-blacklist</key>
            <data></data>
         </dict>
         <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
         <dict>
            <key>ForceDisplayRotationInEFI</key>
            <integer>0</integer>
            <key>SystemAudioVolume</key>
            <data>Rg==</data>
            <key>boot-args</key>
            <string>-v debug=0x100 keepsyms=1 alcid=1 agdpmod=pikera</string>
            <key>csr-active-config</key>
            <data>AAAAAA==</data>
            <key>prev-lang:kbd</key>
            <string>en-GB:2</string>
            <key>run-efi-updater</key>
            <string>No</string>
         </dict>
      </dict>
      <key>Delete</key>
      <dict>
         <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
         <array>
            <string>UIScale</string>
            <string>DefaultBackgroundColor</string>
         </array>
         <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
         <array>
            <string>rtc-blacklist</string>
         </array>
         <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
         <array>
            <string>boot-args</string>
            <string>ForceDisplayRotationInEFI</string>
         </array>
      </dict>
      <key>LegacyEnable</key>
      <false/>
      <key>LegacyOverwrite</key>
      <false/>
      <key>LegacySchema</key>
      <dict>
         <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
         <array>
            <string>EFILoginHiDPI</string>
            <string>EFIBluetoothDelay</string>
            <string>LocationServicesEnabled</string>
            <string>SystemAudioVolume</string>
            <string>SystemAudioVolumeDB</string>
            <string>SystemAudioVolumeSaved</string>
            <string>bluetoothActiveControllerInfo</string>
            <string>bluetoothInternalControllerInfo</string>
            <string>flagstate</string>
            <string>fmm-computer-name</string>
            <string>fmm-mobileme-token-FMM</string>
            <string>fmm-mobileme-token-FMM-BridgeHasAccount</string>
            <string>nvda_drv</string>
            <string>prev-lang:kbd</string>
         </array>
         <key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key>
         <array>
            <string>Boot0080</string>
            <string>Boot0081</string>
            <string>Boot0082</string>
            <string>BootNext</string>
            <string>BootOrder</string>
         </array>
      </dict>
      <key>WriteFlash</key>
      <true/>
   </dict>
   <key>PlatformInfo</key>
   <dict>
      <key>Automatic</key>
      <true/>
      <key>CustomMemory</key>
      <false/>
      <key>Generic</key>
      <dict>
         <key>AdviseFeatures</key>
         <false/>
         <key>MLB</key>
         <string>REDACTED</string>
         <key>MaxBIOSVersion</key>
         <false/>
         <key>ProcessorType</key>
         <integer>0</integer>
         <key>ROM</key>
         <data>REDACTED</data>
         <key>SpoofVendor</key>
         <true/>
         <key>SystemMemoryStatus</key>
         <string>Auto</string>
         <key>SystemProductName</key>
         <string>iMac17,1</string>
         <key>SystemSerialNumber</key>
         <string>REDACTED</string>
         <key>SystemUUID</key>
         <string>REDACTED</string>
      </dict>
      <key>UpdateDataHub</key>
      <true/>
      <key>UpdateNVRAM</key>
      <true/>
      <key>UpdateSMBIOS</key>
      <true/>
      <key>UpdateSMBIOSMode</key>
      <string>Create</string>
      <key>UseRawUuidEncoding</key>
      <false/>
   </dict>
   <key>UEFI</key>
   <dict>
      <key>APFS</key>
      <dict>
         <key>EnableJumpstart</key>
         <true/>
         <key>GlobalConnect</key>
         <false/>
         <key>HideVerbose</key>
         <true/>
         <key>JumpstartHotPlug</key>
         <false/>
         <key>MinDate</key>
         <integer>0</integer>
         <key>MinVersion</key>
         <integer>0</integer>
      </dict>
      <key>AppleInput</key>
      <dict>
         <key>AppleEvent</key>
         <string>Builtin</string>
         <key>CustomDelays</key>
         <false/>
         <key>GraphicsInputMirroring</key>
         <true/>
         <key>KeyInitialDelay</key>
         <integer>50</integer>
         <key>KeySubsequentDelay</key>
         <integer>5</integer>
         <key>PointerPollMask</key>
         <integer>-1</integer>
         <key>PointerPollMax</key>
         <integer>80</integer>
         <key>PointerPollMin</key>
         <integer>10</integer>
         <key>PointerSpeedDiv</key>
         <integer>1</integer>
         <key>PointerSpeedMul</key>
         <integer>1</integer>
      </dict>
      <key>Audio</key>
      <dict>
         <key>AudioCodec</key>
         <integer>0</integer>
         <key>AudioDevice</key>
         <string>PciRoot(0x0)/Pci(0x1b,0x0)</string>
         <key>AudioOutMask</key>
         <integer>1</integer>
         <key>AudioSupport</key>
         <false/>
         <key>DisconnectHda</key>
         <false/>
         <key>MaximumGain</key>
         <integer>-15</integer>
         <key>MinimumAssistGain</key>
         <integer>-30</integer>
         <key>MinimumAudibleGain</key>
         <integer>-55</integer>
         <key>PlayChime</key>
         <string>Auto</string>
         <key>ResetTrafficClass</key>
         <false/>
         <key>SetupDelay</key>
         <integer>0</integer>
      </dict>
      <key>ConnectDrivers</key>
      <true/>
      <key>Drivers</key>
      <array>
         <dict>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>HfsPlus.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Comment</key>
            <string>HfsPlus.efi</string>
         </dict>
         <dict>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenCanopy.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Comment</key>
            <string>OpenCanopy.efi</string>
         </dict>
         <dict>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenRuntime.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Comment</key>
            <string>OpenRuntime.efi</string>
         </dict>
      </array>
      <key>Input</key>
      <dict>
         <key>KeyFiltering</key>
         <false/>
         <key>KeyForgetThreshold</key>
         <integer>5</integer>
         <key>KeySupport</key>
         <true/>
         <key>KeySupportMode</key>
         <string>Auto</string>
         <key>KeySwap</key>
         <false/>
         <key>PointerSupport</key>
         <false/>
         <key>PointerSupportMode</key>
         <string>ASUS</string>
         <key>TimerResolution</key>
         <integer>50000</integer>
      </dict>
      <key>Output</key>
      <dict>
         <key>ClearScreenOnModeSwitch</key>
         <false/>
         <key>ConsoleMode</key>
         <string></string>
         <key>DirectGopRendering</key>
         <false/>
         <key>ForceResolution</key>
         <false/>
         <key>GopPassThrough</key>
         <string>Disabled</string>
         <key>IgnoreTextInGraphics</key>
         <false/>
         <key>ProvideConsoleGop</key>
         <true/>
         <key>ReconnectGraphicsOnConnect</key>
         <false/>
         <key>ReconnectOnResChange</key>
         <false/>
         <key>ReplaceTabWithSpace</key>
         <false/>
         <key>Resolution</key>
         <string>Max</string>
         <key>SanitiseClearScreen</key>
         <false/>
         <key>TextRenderer</key>
         <string>BuiltinGraphics</string>
         <key>UIScale</key>
         <integer>0</integer>
         <key>UgaPassThrough</key>
         <false/>
      </dict>
      <key>ProtocolOverrides</key>
      <dict>
         <key>AppleAudio</key>
         <false/>
         <key>AppleBootPolicy</key>
         <false/>
         <key>AppleDebugLog</key>
         <false/>
         <key>AppleEg2Info</key>
         <false/>
         <key>AppleFramebufferInfo</key>
         <false/>
         <key>AppleImageConversion</key>
         <false/>
         <key>AppleImg4Verification</key>
         <false/>
         <key>AppleKeyMap</key>
         <false/>
         <key>AppleRtcRam</key>
         <false/>
         <key>AppleSecureBoot</key>
         <false/>
         <key>AppleSmcIo</key>
         <false/>
         <key>AppleUserInterfaceTheme</key>
         <false/>
         <key>DataHub</key>
         <false/>
         <key>DeviceProperties</key>
         <false/>
         <key>FirmwareVolume</key>
         <true/>
         <key>HashServices</key>
         <false/>
         <key>OSInfo</key>
         <false/>
         <key>UnicodeCollation</key>
         <false/>
      </dict>
      <key>Quirks</key>
      <dict>
         <key>ActivateHpetSupport</key>
         <false/>
         <key>DisableSecurityPolicy</key>
         <false/>
         <key>EnableVectorAcceleration</key>
         <true/>
         <key>EnableVmx</key>
         <false/>
         <key>ExitBootServicesDelay</key>
         <integer>0</integer>
         <key>ForceOcWriteFlash</key>
         <false/>
         <key>ForgeUefiSupport</key>
         <false/>
         <key>IgnoreInvalidFlexRatio</key>
         <true/>
         <key>ReleaseUsbOwnership</key>
         <false/>
         <key>ReloadOptionRoms</key>
         <false/>
         <key>RequestBootVarRouting</key>
         <true/>
         <key>ResizeGpuBars</key>
         <integer>-1</integer>
         <key>TscSyncTimeout</key>
         <integer>0</integer>
         <key>UnblockFsConnect</key>
         <false/>
      </dict>
      <key>ReservedMemory</key>
      <array>
         <dict>
            <key>Address</key>
            <integer>268435456</integer>
            <key>Comment</key>
            <string>HD3000: IGPU memory corruption errata</string>
            <key>Enabled</key>
            <false/>
            <key>Size</key>
            <integer>268435456</integer>
            <key>Type</key>
            <string>Reserved</string>
         </dict>
         <dict>
            <key>Address</key>
            <integer>569344</integer>
            <key>Comment</key>
            <string>Fix black screen on wake from hibernation for Lenovo Thinkpad T490</string>
            <key>Enabled</key>
            <false/>
            <key>Size</key>
            <integer>4096</integer>
            <key>Type</key>
            <string>RuntimeCode</string>
         </dict>
      </array>
   </dict>
</dict>
</plist>
 

Attachments

  • EFI.zip
    6.1 MB · Views: 62

Feartech

Moderator
Joined
Aug 3, 2013
Messages
28,427
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Hi,
I have installed Big Sur 11.2.3 on a i7-4790K in a GA-Z97MX-Gaming-5 with a Fenvi-T919 (connected to an internal USB header to enable bluetooth) using OpenCore 0.7.9.

All works as it should, however I am getting sleep (instant wake from sleep) and shutdown (automatic restart after shutdown) issues.

As I am still running 11.2.3, I have built a custom USB KeyMap GA-Z97MX-Gaming-5-USB.kext with the internal USB header set as type 255, however sleep and shutdown still doesn't work.

I have also tried adding
  • SSDT-Fix-USB-Shutdown.aml along with the _PTS to ZPTS ACPI patch to fix shutdown and restart as per the Dortania Guide
  • EHC1 to EH01 ACPI patch
  • EHC2 to EH02 ACPI patch
  • SSDT-USBX.aml to fix the embedded (SSDT-EC/USBX) controller as per the Dortania Guide
My SMBios is iMac17,1.

If anyone has a similar board (or a Fenvi-T919) who doesn't have sleep/shutdown issues, help is much appreciated.

config.plist below and full EFI attached.

XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>ACPI</key>
   <dict>
      <key>Add</key>
      <array>
         <dict>
            <key>Comment</key>
            <string>SSDT-EC-DESKTOP.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-EC-DESKTOP.aml</string>
         </dict>
         <dict>
            <key>Comment</key>
            <string>SSDT-Fix-USB-Shutdown.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-Fix-USB-Shutdown.aml</string>
         </dict>
         <dict>
            <key>Comment</key>
            <string>SSDT-PLUG-DRTNIA.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-PLUG-DRTNIA.aml</string>
         </dict>
         <dict>
            <key>Comment</key>
            <string>SSDT-USBX.aml</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-USBX.aml</string>
         </dict>
      </array>
      <key>Delete</key>
      <array>
         <dict>
            <key>All</key>
            <false/>
            <key>Comment</key>
            <string>Delete CpuPm</string>
            <key>Enabled</key>
            <false/>
            <key>OemTableId</key>
            <data>Q3B1UG0AAAA=</data>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data>U1NEVA==</data>
         </dict>
         <dict>
            <key>All</key>
            <false/>
            <key>Comment</key>
            <string>Delete Cpu0Ist</string>
            <key>Enabled</key>
            <false/>
            <key>OemTableId</key>
            <data>Q3B1MElzdAA=</data>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data>U1NEVA==</data>
         </dict>
      </array>
      <key>Patch</key>
      <array>
         <dict>
            <key>Base</key>
            <string></string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>Replace one byte sequence with another</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>ESIzRA==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>RDMiEQ==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Base</key>
            <string>\_SB.PCI0.LPCB.HPET</string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>HPET _CRS to XCRS</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>X0NSUw==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>WENSUw==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Base</key>
            <string></string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>EHC1 to EH01</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <true/>
            <key>Find</key>
            <data>RUhDMQ==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>RUgwMQ==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Base</key>
            <string></string>
            <key>BaseSkip</key>
            <integer>0</integer>
            <key>Comment</key>
            <string>EHC2 to EH02</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <true/>
            <key>Find</key>
            <data>RUhDMg==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>RUgwMg==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
         <dict>
            <key>Comment</key>
            <string>_PTS to ZPTS</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <true/>
            <key>Find</key>
            <data>X1BUUw==</data>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>OemTableId</key>
            <data></data>
            <key>Replace</key>
            <data>WlBUUw==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
            <key>TableLength</key>
            <integer>0</integer>
            <key>TableSignature</key>
            <data></data>
         </dict>
      </array>
      <key>Quirks</key>
      <dict>
         <key>FadtEnableReset</key>
         <false/>
         <key>NormalizeHeaders</key>
         <false/>
         <key>RebaseRegions</key>
         <false/>
         <key>ResetHwSig</key>
         <false/>
         <key>ResetLogoStatus</key>
         <true/>
         <key>SyncTableIds</key>
         <false/>
      </dict>
   </dict>
   <key>Booter</key>
   <dict>
      <key>MmioWhitelist</key>
      <array>
         <dict>
            <key>Address</key>
            <integer>4275159040</integer>
            <key>Comment</key>
            <string>Haswell: SB_RCBA is a 0x4 page memory region, containing SPI_BASE at 0x3800 (SPI_BASE_ADDRESS)</string>
            <key>Enabled</key>
            <false/>
         </dict>
         <dict>
            <key>Address</key>
            <integer>4278190080</integer>
            <key>Comment</key>
            <string>Generic: PCI root is a 0x1000 page memory region used by some types of firmware</string>
            <key>Enabled</key>
            <false/>
         </dict>
      </array>
      <key>Patch</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Comment</key>
            <string>macOS to hacOS</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>bWFjT1M=</data>
            <key>Identifier</key>
            <string>Apple</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>Replace</key>
            <data>aGFjT1M=</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
      </array>
      <key>Quirks</key>
      <dict>
         <key>AllowRelocationBlock</key>
         <false/>
         <key>AvoidRuntimeDefrag</key>
         <true/>
         <key>DevirtualiseMmio</key>
         <false/>
         <key>DisableSingleUser</key>
         <false/>
         <key>DisableVariableWrite</key>
         <false/>
         <key>DiscardHibernateMap</key>
         <false/>
         <key>EnableSafeModeSlide</key>
         <true/>
         <key>EnableWriteUnprotector</key>
         <true/>
         <key>ForceBooterSignature</key>
         <false/>
         <key>ForceExitBootServices</key>
         <false/>
         <key>ProtectMemoryRegions</key>
         <false/>
         <key>ProtectSecureBoot</key>
         <false/>
         <key>ProtectUefiServices</key>
         <false/>
         <key>ProvideCustomSlide</key>
         <true/>
         <key>ProvideMaxSlide</key>
         <integer>0</integer>
         <key>RebuildAppleMemoryMap</key>
         <false/>
         <key>ResizeAppleGpuBars</key>
         <integer>-1</integer>
         <key>SetupVirtualMap</key>
         <true/>
         <key>SignalAppleOS</key>
         <false/>
         <key>SyncRuntimePermissions</key>
         <false/>
      </dict>
   </dict>
   <key>DeviceProperties</key>
   <dict>
      <key>Add</key>
      <dict>
         <key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
         <dict>
            <key>layout-id</key>
            <data></data>
         </dict>
         <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
         <dict>
            <key>AAPL,ig-platform-id</key>
            <data>BAASBA==</data>
         </dict>
      </dict>
      <key>Delete</key>
      <dict/>
   </dict>
   <key>Kernel</key>
   <dict>
      <key>Add</key>
      <array>
         <dict>
            <key>BundlePath</key>
            <string>AtherosE2200Ethernet.kext</string>
            <key>Comment</key>
            <string>AtherosE2200Ethernet.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/AtherosE2200Ethernet</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>GA-Z97MX-Gaming-5-USB.kext</string>
            <key>Comment</key>
            <string>GA-Z97MX-Gaming-5-USB.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string></string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>Lilu.kext</string>
            <key>Comment</key>
            <string>Lilu.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/Lilu</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>VirtualSMC.kext</string>
            <key>Comment</key>
            <string>VirtualSMC.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/VirtualSMC</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>WhateverGreen.kext</string>
            <key>Comment</key>
            <string>WhateverGreen.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/WhateverGreen</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>AppleALC.kext</string>
            <key>Comment</key>
            <string>AppleALC.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/AppleALC</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>SMCProcessor.kext</string>
            <key>Comment</key>
            <string>SMCProcessor.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/SMCProcessor</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
         <dict>
            <key>BundlePath</key>
            <string>SMCSuperIO.kext</string>
            <key>Comment</key>
            <string>SMCSuperIO.kext</string>
            <key>Enabled</key>
            <true/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/SMCSuperIO</string>
            <key>Arch</key>
            <string>Any</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
      </array>
      <key>Block</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Comment</key>
            <string></string>
            <key>Enabled</key>
            <false/>
            <key>Identifier</key>
            <string>com.apple.driver.AppleTyMCEDriver</string>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Strategy</key>
            <string>Disable</string>
         </dict>
      </array>
      <key>Emulate</key>
      <dict>
         <key>Cpuid1Data</key>
         <data></data>
         <key>Cpuid1Mask</key>
         <data></data>
         <key>DummyPowerManagement</key>
         <false/>
         <key>MaxKernel</key>
         <string></string>
         <key>MinKernel</key>
         <string></string>
      </dict>
      <key>Force</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>BundlePath</key>
            <string>System/Library/Extensions/IONetworkingFamily.kext</string>
            <key>Comment</key>
            <string></string>
            <key>Enabled</key>
            <false/>
            <key>ExecutablePath</key>
            <string>Contents/MacOS/IONetworkingFamily</string>
            <key>Identifier</key>
            <string>com.apple.iokit.IONetworkingFamily</string>
            <key>MaxKernel</key>
            <string>13.99.99</string>
            <key>MinKernel</key>
            <string></string>
            <key>PlistPath</key>
            <string>Contents/Info.plist</string>
         </dict>
      </array>
      <key>Patch</key>
      <array>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Base</key>
            <string>__ZN8AppleRTC18setupDateTimeAlarmEPK11RTCDateTime</string>
            <key>Comment</key>
            <string>Disable RTC wake scheduling</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>com.apple.driver.AppleRTC</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string>19.0.0</string>
            <key>Replace</key>
            <data>ww==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>Any</string>
            <key>Base</key>
            <string>_AcpiOsVprintf</string>
            <key>Comment</key>
            <string>Disable ACPI logging</string>
            <key>Count</key>
            <integer>0</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>com.apple.driver.AppleACPIPlatform</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string>18.5.0</string>
            <key>MinKernel</key>
            <string>18.5.0</string>
            <key>Replace</key>
            <data>ww==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>__ZN11BCM5701Enet14getAdapterInfoEv</string>
            <key>Comment</key>
            <string>Broadcom BCM57785 patch</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>6AAA//9miYMABQAA</data>
            <key>Identifier</key>
            <string>com.apple.iokit.AppleBCM5701Ethernet</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data>/wAA////////////</data>
            <key>MaxKernel</key>
            <string>19.9.9</string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>uLQWAABmiYMABQAA</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_panic</string>
            <key>Comment</key>
            <string>Send panic string to serial port</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2dN/r/g==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_kernel_debug_string_early</string>
            <key>Comment</key>
            <string>Send early prints to serial port</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2dN/D</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_disable_serial_output</string>
            <key>Comment</key>
            <string>Enable early serial output on RELEASE kernel</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>AA==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_vstart</string>
            <key>Comment</key>
            <string>Print K and dead loop</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>sUtmuv0D7KggdPtmuvgDiMjusQpmuv0D7KggdPtmuvgDiMju6/4=</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_vstart</string>
            <key>Comment</key>
            <string>Early reboot</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data></data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>0</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string></string>
            <key>MinKernel</key>
            <string></string>
            <key>Replace</key>
            <data>McCwBrr5DAAA7uv+</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_early_random</string>
            <key>Comment</key>
            <string>SurPlus v1 - PART 1 of 2 - Patch read_erandom (inlined in _early_random)</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>AHQjSIs=</data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>800</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string>21.1.0</string>
            <key>MinKernel</key>
            <string>20.4.0</string>
            <key>Replace</key>
            <data>AOsjSIs=</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
         <dict>
            <key>Arch</key>
            <string>x86_64</string>
            <key>Base</key>
            <string>_register_and_init_prng</string>
            <key>Comment</key>
            <string>SurPlus v1 - PART 2 of 2 - Patch register_and_init_prng</string>
            <key>Count</key>
            <integer>1</integer>
            <key>Enabled</key>
            <false/>
            <key>Find</key>
            <data>ukgBAAAx9g==</data>
            <key>Identifier</key>
            <string>kernel</string>
            <key>Limit</key>
            <integer>256</integer>
            <key>Mask</key>
            <data></data>
            <key>MaxKernel</key>
            <string>21.1.0</string>
            <key>MinKernel</key>
            <string>20.4.0</string>
            <key>Replace</key>
            <data>ukgBAADrBQ==</data>
            <key>ReplaceMask</key>
            <data></data>
            <key>Skip</key>
            <integer>0</integer>
         </dict>
      </array>
      <key>Quirks</key>
      <dict>
         <key>AppleCpuPmCfgLock</key>
         <false/>
         <key>AppleXcpmCfgLock</key>
         <true/>
         <key>AppleXcpmExtraMsrs</key>
         <false/>
         <key>AppleXcpmForceBoost</key>
         <false/>
         <key>CustomSMBIOSGuid</key>
         <false/>
         <key>DisableIoMapper</key>
         <true/>
         <key>DisableLinkeditJettison</key>
         <true/>
         <key>DisableRtcChecksum</key>
         <false/>
         <key>ExtendBTFeatureFlags</key>
         <false/>
         <key>ExternalDiskIcons</key>
         <false/>
         <key>ForceSecureBootScheme</key>
         <false/>
         <key>IncreasePciBarSize</key>
         <false/>
         <key>LapicKernelPanic</key>
         <false/>
         <key>LegacyCommpage</key>
         <false/>
         <key>PanicNoKextDump</key>
         <true/>
         <key>PowerTimeoutKernelPanic</key>
         <true/>
         <key>ProvideCurrentCpuInfo</key>
         <false/>
         <key>SetApfsTrimTimeout</key>
         <integer>-1</integer>
         <key>ThirdPartyDrives</key>
         <false/>
         <key>XhciPortLimit</key>
         <false/>
      </dict>
      <key>Scheme</key>
      <dict>
         <key>CustomKernel</key>
         <false/>
         <key>FuzzyMatch</key>
         <true/>
         <key>KernelArch</key>
         <string>Auto</string>
         <key>KernelCache</key>
         <string>Auto</string>
      </dict>
   </dict>
   <key>Misc</key>
   <dict>
      <key>BlessOverride</key>
      <array/>
      <key>Boot</key>
      <dict>
         <key>ConsoleAttributes</key>
         <integer>0</integer>
         <key>HibernateMode</key>
         <string>None</string>
         <key>HideAuxiliary</key>
         <true/>
         <key>LauncherOption</key>
         <string>Full</string>
         <key>LauncherPath</key>
         <string>Default</string>
         <key>PickerAttributes</key>
         <integer>17</integer>
         <key>PickerAudioAssist</key>
         <false/>
         <key>PickerMode</key>
         <string>External</string>
         <key>PickerVariant</key>
         <string>Auto</string>
         <key>PollAppleHotKeys</key>
         <false/>
         <key>ShowPicker</key>
         <true/>
         <key>TakeoffDelay</key>
         <integer>0</integer>
         <key>Timeout</key>
         <integer>5</integer>
      </dict>
      <key>Debug</key>
      <dict>
         <key>AppleDebug</key>
         <true/>
         <key>ApplePanic</key>
         <true/>
         <key>DisableWatchDog</key>
         <true/>
         <key>DisplayDelay</key>
         <integer>0</integer>
         <key>DisplayLevel</key>
         <integer>2147483650</integer>
         <key>LogModules</key>
         <string>*</string>
         <key>SerialInit</key>
         <false/>
         <key>SysReport</key>
         <false/>
         <key>Target</key>
         <integer>67</integer>
      </dict>
      <key>Entries</key>
      <array>
         <dict>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <false/>
            <key>Comment</key>
            <string>Not signed for security reasons</string>
            <key>Enabled</key>
            <false/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>Name</key>
            <string>CustomOS</string>
            <key>Path</key>
            <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string>
            <key>TextMode</key>
            <false/>
         </dict>
      </array>
      <key>Security</key>
      <dict>
         <key>AllowNvramReset</key>
         <true/>
         <key>AllowSetDefault</key>
         <true/>
         <key>AllowToggleSip</key>
         <false/>
         <key>ApECID</key>
         <integer>0</integer>
         <key>AuthRestart</key>
         <false/>
         <key>BlacklistAppleUpdate</key>
         <true/>
         <key>DmgLoading</key>
         <string>Signed</string>
         <key>EnablePassword</key>
         <false/>
         <key>ExposeSensitiveData</key>
         <integer>6</integer>
         <key>HaltLevel</key>
         <integer>2147483648</integer>
         <key>PasswordHash</key>
         <data></data>
         <key>PasswordSalt</key>
         <data></data>
         <key>ScanPolicy</key>
         <integer>0</integer>
         <key>SecureBootModel</key>
         <string>Default</string>
         <key>Vault</key>
         <string>Optional</string>
      </dict>
      <key>Tools</key>
      <array>
         <dict>
            <key>Name</key>
            <string>CleanNvram.efi</string>
            <key>Comment</key>
            <string>CleanNvram.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>CleanNvram.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
         <dict>
            <key>Name</key>
            <string>OpenControl.efi</string>
            <key>Comment</key>
            <string>OpenControl.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenControl.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
         <dict>
            <key>Name</key>
            <string>OpenShell.efi</string>
            <key>Comment</key>
            <string>OpenShell.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenShell.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
         <dict>
            <key>Name</key>
            <string>ResetSystem.efi</string>
            <key>Comment</key>
            <string>ResetSystem.efi</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>ResetSystem.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Auxiliary</key>
            <true/>
            <key>Flavour</key>
            <string>Auto</string>
            <key>RealPath</key>
            <false/>
            <key>TextMode</key>
            <false/>
         </dict>
      </array>
   </dict>
   <key>NVRAM</key>
   <dict>
      <key>Add</key>
      <dict>
         <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
         <dict>
            <key>DefaultBackgroundColor</key>
            <data>AAAAAA==</data>
         </dict>
         <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
         <dict>
            <key>rtc-blacklist</key>
            <data></data>
         </dict>
         <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
         <dict>
            <key>ForceDisplayRotationInEFI</key>
            <integer>0</integer>
            <key>SystemAudioVolume</key>
            <data>Rg==</data>
            <key>boot-args</key>
            <string>-v debug=0x100 keepsyms=1 alcid=1 agdpmod=pikera</string>
            <key>csr-active-config</key>
            <data>AAAAAA==</data>
            <key>prev-lang:kbd</key>
            <string>en-GB:2</string>
            <key>run-efi-updater</key>
            <string>No</string>
         </dict>
      </dict>
      <key>Delete</key>
      <dict>
         <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
         <array>
            <string>UIScale</string>
            <string>DefaultBackgroundColor</string>
         </array>
         <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
         <array>
            <string>rtc-blacklist</string>
         </array>
         <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
         <array>
            <string>boot-args</string>
            <string>ForceDisplayRotationInEFI</string>
         </array>
      </dict>
      <key>LegacyEnable</key>
      <false/>
      <key>LegacyOverwrite</key>
      <false/>
      <key>LegacySchema</key>
      <dict>
         <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
         <array>
            <string>EFILoginHiDPI</string>
            <string>EFIBluetoothDelay</string>
            <string>LocationServicesEnabled</string>
            <string>SystemAudioVolume</string>
            <string>SystemAudioVolumeDB</string>
            <string>SystemAudioVolumeSaved</string>
            <string>bluetoothActiveControllerInfo</string>
            <string>bluetoothInternalControllerInfo</string>
            <string>flagstate</string>
            <string>fmm-computer-name</string>
            <string>fmm-mobileme-token-FMM</string>
            <string>fmm-mobileme-token-FMM-BridgeHasAccount</string>
            <string>nvda_drv</string>
            <string>prev-lang:kbd</string>
         </array>
         <key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key>
         <array>
            <string>Boot0080</string>
            <string>Boot0081</string>
            <string>Boot0082</string>
            <string>BootNext</string>
            <string>BootOrder</string>
         </array>
      </dict>
      <key>WriteFlash</key>
      <true/>
   </dict>
   <key>PlatformInfo</key>
   <dict>
      <key>Automatic</key>
      <true/>
      <key>CustomMemory</key>
      <false/>
      <key>Generic</key>
      <dict>
         <key>AdviseFeatures</key>
         <false/>
         <key>MLB</key>
         <string>REDACTED</string>
         <key>MaxBIOSVersion</key>
         <false/>
         <key>ProcessorType</key>
         <integer>0</integer>
         <key>ROM</key>
         <data>REDACTED</data>
         <key>SpoofVendor</key>
         <true/>
         <key>SystemMemoryStatus</key>
         <string>Auto</string>
         <key>SystemProductName</key>
         <string>iMac17,1</string>
         <key>SystemSerialNumber</key>
         <string>REDACTED</string>
         <key>SystemUUID</key>
         <string>REDACTED</string>
      </dict>
      <key>UpdateDataHub</key>
      <true/>
      <key>UpdateNVRAM</key>
      <true/>
      <key>UpdateSMBIOS</key>
      <true/>
      <key>UpdateSMBIOSMode</key>
      <string>Create</string>
      <key>UseRawUuidEncoding</key>
      <false/>
   </dict>
   <key>UEFI</key>
   <dict>
      <key>APFS</key>
      <dict>
         <key>EnableJumpstart</key>
         <true/>
         <key>GlobalConnect</key>
         <false/>
         <key>HideVerbose</key>
         <true/>
         <key>JumpstartHotPlug</key>
         <false/>
         <key>MinDate</key>
         <integer>0</integer>
         <key>MinVersion</key>
         <integer>0</integer>
      </dict>
      <key>AppleInput</key>
      <dict>
         <key>AppleEvent</key>
         <string>Builtin</string>
         <key>CustomDelays</key>
         <false/>
         <key>GraphicsInputMirroring</key>
         <true/>
         <key>KeyInitialDelay</key>
         <integer>50</integer>
         <key>KeySubsequentDelay</key>
         <integer>5</integer>
         <key>PointerPollMask</key>
         <integer>-1</integer>
         <key>PointerPollMax</key>
         <integer>80</integer>
         <key>PointerPollMin</key>
         <integer>10</integer>
         <key>PointerSpeedDiv</key>
         <integer>1</integer>
         <key>PointerSpeedMul</key>
         <integer>1</integer>
      </dict>
      <key>Audio</key>
      <dict>
         <key>AudioCodec</key>
         <integer>0</integer>
         <key>AudioDevice</key>
         <string>PciRoot(0x0)/Pci(0x1b,0x0)</string>
         <key>AudioOutMask</key>
         <integer>1</integer>
         <key>AudioSupport</key>
         <false/>
         <key>DisconnectHda</key>
         <false/>
         <key>MaximumGain</key>
         <integer>-15</integer>
         <key>MinimumAssistGain</key>
         <integer>-30</integer>
         <key>MinimumAudibleGain</key>
         <integer>-55</integer>
         <key>PlayChime</key>
         <string>Auto</string>
         <key>ResetTrafficClass</key>
         <false/>
         <key>SetupDelay</key>
         <integer>0</integer>
      </dict>
      <key>ConnectDrivers</key>
      <true/>
      <key>Drivers</key>
      <array>
         <dict>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>HfsPlus.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Comment</key>
            <string>HfsPlus.efi</string>
         </dict>
         <dict>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenCanopy.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Comment</key>
            <string>OpenCanopy.efi</string>
         </dict>
         <dict>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>OpenRuntime.efi</string>
            <key>Arguments</key>
            <string></string>
            <key>Comment</key>
            <string>OpenRuntime.efi</string>
         </dict>
      </array>
      <key>Input</key>
      <dict>
         <key>KeyFiltering</key>
         <false/>
         <key>KeyForgetThreshold</key>
         <integer>5</integer>
         <key>KeySupport</key>
         <true/>
         <key>KeySupportMode</key>
         <string>Auto</string>
         <key>KeySwap</key>
         <false/>
         <key>PointerSupport</key>
         <false/>
         <key>PointerSupportMode</key>
         <string>ASUS</string>
         <key>TimerResolution</key>
         <integer>50000</integer>
      </dict>
      <key>Output</key>
      <dict>
         <key>ClearScreenOnModeSwitch</key>
         <false/>
         <key>ConsoleMode</key>
         <string></string>
         <key>DirectGopRendering</key>
         <false/>
         <key>ForceResolution</key>
         <false/>
         <key>GopPassThrough</key>
         <string>Disabled</string>
         <key>IgnoreTextInGraphics</key>
         <false/>
         <key>ProvideConsoleGop</key>
         <true/>
         <key>ReconnectGraphicsOnConnect</key>
         <false/>
         <key>ReconnectOnResChange</key>
         <false/>
         <key>ReplaceTabWithSpace</key>
         <false/>
         <key>Resolution</key>
         <string>Max</string>
         <key>SanitiseClearScreen</key>
         <false/>
         <key>TextRenderer</key>
         <string>BuiltinGraphics</string>
         <key>UIScale</key>
         <integer>0</integer>
         <key>UgaPassThrough</key>
         <false/>
      </dict>
      <key>ProtocolOverrides</key>
      <dict>
         <key>AppleAudio</key>
         <false/>
         <key>AppleBootPolicy</key>
         <false/>
         <key>AppleDebugLog</key>
         <false/>
         <key>AppleEg2Info</key>
         <false/>
         <key>AppleFramebufferInfo</key>
         <false/>
         <key>AppleImageConversion</key>
         <false/>
         <key>AppleImg4Verification</key>
         <false/>
         <key>AppleKeyMap</key>
         <false/>
         <key>AppleRtcRam</key>
         <false/>
         <key>AppleSecureBoot</key>
         <false/>
         <key>AppleSmcIo</key>
         <false/>
         <key>AppleUserInterfaceTheme</key>
         <false/>
         <key>DataHub</key>
         <false/>
         <key>DeviceProperties</key>
         <false/>
         <key>FirmwareVolume</key>
         <true/>
         <key>HashServices</key>
         <false/>
         <key>OSInfo</key>
         <false/>
         <key>UnicodeCollation</key>
         <false/>
      </dict>
      <key>Quirks</key>
      <dict>
         <key>ActivateHpetSupport</key>
         <false/>
         <key>DisableSecurityPolicy</key>
         <false/>
         <key>EnableVectorAcceleration</key>
         <true/>
         <key>EnableVmx</key>
         <false/>
         <key>ExitBootServicesDelay</key>
         <integer>0</integer>
         <key>ForceOcWriteFlash</key>
         <false/>
         <key>ForgeUefiSupport</key>
         <false/>
         <key>IgnoreInvalidFlexRatio</key>
         <true/>
         <key>ReleaseUsbOwnership</key>
         <false/>
         <key>ReloadOptionRoms</key>
         <false/>
         <key>RequestBootVarRouting</key>
         <true/>
         <key>ResizeGpuBars</key>
         <integer>-1</integer>
         <key>TscSyncTimeout</key>
         <integer>0</integer>
         <key>UnblockFsConnect</key>
         <false/>
      </dict>
      <key>ReservedMemory</key>
      <array>
         <dict>
            <key>Address</key>
            <integer>268435456</integer>
            <key>Comment</key>
            <string>HD3000: IGPU memory corruption errata</string>
            <key>Enabled</key>
            <false/>
            <key>Size</key>
            <integer>268435456</integer>
            <key>Type</key>
            <string>Reserved</string>
         </dict>
         <dict>
            <key>Address</key>
            <integer>569344</integer>
            <key>Comment</key>
            <string>Fix black screen on wake from hibernation for Lenovo Thinkpad T490</string>
            <key>Enabled</key>
            <false/>
            <key>Size</key>
            <integer>4096</integer>
            <key>Type</key>
            <string>RuntimeCode</string>
         </dict>
      </array>
   </dict>
</dict>
</plist>
don't forget about the 15 port limit:

Lilu.kext should be first in your list in your config.plist
 
Joined
Dec 21, 2013
Messages
132
Motherboard
Gigabyte Z490M Gaming X
CPU
i9-10850K
Graphics
RX 6900 XT
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
don't forget about the 15 port limit:
Yup. That is why I have created a bespoke kext which is below the 15 port limit - see GA-Z97MX-Gaming-5-USB.kext in the attached EFI folder. Did I miss something else?

Lilu.kext should be first in your list in your config.plist
I assume this only applies for kexts that rely on Lilu.kext?
The AtherosE2200Ethernet.kext kext does not rely on Lilu. The ordering of the kext files are based on what ProperTree has generated so I assumed this is correct.
 
Joined
Dec 21, 2013
Messages
132
Motherboard
Gigabyte Z490M Gaming X
CPU
i9-10850K
Graphics
RX 6900 XT
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
I have tried re-creating my kext to make sure this is not a USB wake from sleep issue and I have also disabled the EHC controllers using the SSDT-EHCx_OFF.aml DSDT.

Updated EFI attached.

As an additional test, I have also unplugged the Fenvi bluetooth connector cable from the internal F_USB1 header on the board, as well as totally removing the Fenvi card, with no effect.

Looking in the logs, the issue seems to be due to PEGP and PXSX devices causing immediate wake from sleep, not the XHC device (as one would expect if this was USB related).

2022-04-24 11:44:12 +0100 DarkWake DarkWake from Normal Sleep [CDN] : due to PEG1 PEGP PEG2 PEGP PXSX/ Using AC (Charge:0%) 4 secs
2022-04-24 11:44:16 +0100 Wake DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)
2022-04-24 11:48:29 +0100 Sleep Entering Sleep state due to 'Software Sleep pid=145':TCPKeepAlive=inactive Using AC (Charge:0%) 9 secs
2022-04-24 11:48:38 +0100 DarkWake DarkWake from Normal Sleep [CDN] : due to PEG1 PEGP PEG2 PEGP PXSX/ Using AC (Charge:0%) 3 secs
2022-04-24 11:48:41 +0100 Wake DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%) 1 secs
2022-04-24 11:48:42 +0100 Sleep Entering DarkWake state due to 'Software Sleep pid=145':TCPKeepAlive=inactive Using AC (Charge:0%) 1 secs
2022-04-24 11:48:43 +0100 Wake DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)
2022-04-24 11:53:29 +0100 Sleep Entering DarkWake state due to 'Software Sleep pid=142':TCPKeepAlive=active Using AC (Charge:0%)
2022-04-24 11:53:59 +0100 Sleep Entering Sleep state due to 'Software Sleep pid=142':TCPKeepAlive=active Using AC (Charge:0%) 27 secs
2022-04-24 11:54:26 +0100 DarkWake DarkWake from Normal Sleep [CDN] : due to PEG1 PEGP PEG2 PEGP PXSX/ Using AC (Charge:0%) 7 secs
2022-04-24 11:54:33 +0100 Wake DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)
 

Attachments

  • EFI.zip
    6.2 MB · Views: 50
Joined
Dec 21, 2013
Messages
132
Motherboard
Gigabyte Z490M Gaming X
CPU
i9-10850K
Graphics
RX 6900 XT
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Managed to fix this in the end and the install is now running on the latest version of MacOS Monterey with no sleep or wake issues.

It seems the problem was a combination of
  1. The GA-Z97MX-Gaming-5 is a special variant of GA-Z97 boards which has 4 USB-DAC ports which can be disabled in the BIOS. The board seems to need to have these enabled in the BIOS when performing the USB mapping and subsequently thereafter.
  2. I was running an iMac 17,1 SMBios definition in order to be able to upgrade to Monterey. The Dortania install guide mentions there are are possible power management issues using the with MacOS versions of Big Sur and earlier.
  3. I also switched away from the Fenvi-T919 to an actual MacOS iMac bluetooth and wifi card in a PCI-adaptor (although I suspect the Fenvi-T919 had nothing to do with the sleep/wake issues in the end)

Apart from the SSDT-EHCx_OFF.aml ACPI patched used, and making sure I mapped the F_USB1 port as internal during the USB port mapping exercise, everything else was done as per the standard Dortania install guide for Haswell.

I will probably write up a Monterey guide for this board when I have a moment.
 
Joined
Aug 19, 2010
Messages
528
Motherboard
GA-Z390 Designare
CPU
i7 9900K
Graphics
UHD630 & Radeon VII
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac mini
  4. Mac Pro
Mobile Phone
  1. iOS
Managed to fix this in the end and the install is now running on the latest version of MacOS Monterey with no sleep or wake issues.

It seems the problem was a combination of
  1. The GA-Z97MX-Gaming-5 is a special variant of GA-Z97 boards which has 4 USB-DAC ports which can be disabled in the BIOS. The board seems to need to have these enabled in the BIOS when performing the USB mapping and subsequently thereafter.
  2. I was running an iMac 17,1 SMBios definition in order to be able to upgrade to Monterey. The Dortania install guide mentions there are are possible power management issues using the with MacOS versions of Big Sur and earlier.
  3. I also switched away from the Fenvi-T919 to an actual MacOS iMac bluetooth and wifi card in a PCI-adaptor (although I suspect the Fenvi-T919 had nothing to do with the sleep/wake issues in the end)

Apart from the SSDT-EHCx_OFF.aml ACPI patched used, and making sure I mapped the F_USB1 port as internal during the USB port mapping exercise, everything else was done as per the standard Dortania install guide for Haswell.

I will probably write up a Monterey guide for this board when I have a moment.
Did you ever do a Monterey guide for the Z97MX? I have this board and have it working well with triple boot 10.12/10.14/11.7, but trying to update the 11.7 to 12.6 and having a strange panic very early in the boot. Can you share your working EFI?

Much thanks,
g\
 
Joined
Sep 27, 2022
Messages
2
Motherboard
Gigabyte GA-Z97MX Gaming 5
CPU
i7-4790K
Graphics
RX 560
Mobile Phone
  1. iOS
..
 
Last edited:
Top