On a GIGABYTE Z690 AORUS Master, macOS wakes right after sleep because Apple's driver writes the wake mask 0x44 to the Aquantia AQC113 firmware, and bit 2 means wake on link up. An OpenCore kernel patch that changes 0x44 to 0x40 in AppleEthernetAquantiaAqtion (Find 8D144183C24441891424, Replace 8D144183C24041891424) stops it. Verified on macOS 15.8.2.
Does your Hackintosh wake by itself seconds after you put it to sleep, or sit in a sleep and wake loop? On the GIGABYTE Z690 AORUS Master running macOS (tested on Sequoia 15.8.2 with OpenCore), the usual cause is the onboard Aquantia AQC113 10GbE port. Apple's network driver hands the NIC firmware a wake-on-link-up flag, and the firmware wakes the whole system. This guide shows how to confirm that this is your problem and how to switch the flag off with one OpenCore kernel patch.
Symptoms
- About 8 to 35 seconds after sleep, the machine wakes on its own. The displays stay black (DarkWake), then it drops back into Maintenance Sleep, and the cycle repeats roughly every 80 seconds.
pmset -g logshowsdue to /Network,/HID Activityor an empty reason, andkern.wakereasonshowsPXSXor nothing.- With the Ethernet cable unplugged, the machine stays asleep.
- The kernel log contains this line, and
ioregshowsLastWake Reason = 3:
AppleEthernetAquantiaAqtion113 [en0] check wake success 1, reason 3 (Link)
Root cause
This is not an ACPI problem. Before sleep, Apple's driver (AppleEthernetAquantiaAqtion113::handleEnableNicProxy) puts the NIC firmware into sleep-proxy mode. It writes a hardcoded wake mask, 0x44, to the firmware register 0x12028. The bits follow Aquantia's wake_on_lan_s layout:
| Bit | Meaning |
|---|---|
| 0 | Magic packet |
| 1 | Pattern |
| 2 | Link up (the cause) |
| 3 | Link down |
| 4 | Ping |
| 5 | Timer |
0x44 is bit 6 plus bit 2. Bit 2 tells the firmware to wake the system whenever the link renegotiates after sleep. Switches and other link partners almost always renegotiate, so the machine wakes every time.
Why the usual fixes do not work
The wake is generated inside the NIC firmware, which nothing at the operating system or ACPI level can reach. Each of these was tried and the machine still woke:
| Tried | Result |
|---|---|
_PRW/GPRW patches, RPxx TPRW SSDTs | The ACPI GPE path was closed, the machine still woke |
Clearing PCIe PME_En on the NIC and root port in _PTS | Still woke |
PCIEXP_WAKE_DIS in PM1_EN, disarming the WAKE# GPIO | Still woke |
pmset womp 0, BIOS ErP | Still woke |
ifconfig en0 down before sleep | Still woke |
The fix: one OpenCore kernel patch
The patch clears bit 2 from the immediate operand, changing 0x44 to 0x40, so the firmware is no longer told to wake on link up. Magic packet and the other wake sources are unchanged. The instruction in the driver looks like this:
lea edx, [rcx+rax*2]
add edx, 0x44 ; 83 C2 44 becomes 83 C2 40
mov [r12], edx
In your config.plist, add this entry under Kernel → Patch:
| Key | Value |
|---|---|
| Arch | x86_64 |
| Comment | Aquantia AQC113: disable wake on link-up |
| Enabled | true |
| Identifier | com.apple.driver.AppleEthernetAquantiaAqtion |
| Find | 8D144183C24441891424 |
| Replace | 8D144183C24041891424 |
| Count | 1 |
| MinKernel | 24.0.0 |
| MaxKernel | 24.99.99 |
| Base, Mask, ReplaceMask | Leave empty |
- Mount your EFI partition and make a backup copy of
EFI/OC/config.plist. If you are not sure how to edit the file, see how to edit the OpenCore config.plist. - Open the file in a plist editor and add the entry above under
Kernel→Patch. - Save, unmount the EFI partition and restart.
This was verified on macOS 15.8.2 (Darwin 24), where the byte pattern occurs only once in the kext.
Verify the fix
Put the machine to sleep, wait several minutes, then wake it with the keyboard or mouse and read the log:
pmset sleepnow
# wait several minutes, then wake with keyboard or mouse
pmset -g log | grep -E " (Sleep|Wake) " | tail -4
ioreg -lw0 | grep -i '"LastWake' # Reason should no longer be 3
The machine should now stay asleep until you press a key or move the mouse.
After a macOS update
The patch is tied to the exact bytes in Apple's driver. After every macOS update, check that they are still there. If OpenCore reports the patch as not applied, the code has changed and the patch has to be found again.
Related notes
- Leave ErP disabled. With ErP enabled, S3 powered the board fully off on this system.
- Keep the Aquantia device ID spoof. On this board the
device-idandcompatiblespoof in DeviceProperties (set to94C0) is required. Removing it makes the card disappear. - If sleep still fails on later cycles, test with XMP off. An intermittent resume failure (
Failure during sleep: 0x1F EFI/Bootrom) turned out not to be the NIC, because it also happened with the NIC disabled. Here it was the RAM overclock (XMP 6200). At 4800 MHz with XMP off, 12 of 12 sleep cycles passed.
Is this your problem?
This fix applies if all of the following are true on your Z690 AORUS Master (or another board that uses the AQC113 with Apple's AppleEthernetAquantiaAqtion driver):
- macOS wakes by itself shortly after sleep, with no key press or mouse movement.
- The system stays asleep when the Ethernet cable is unplugged.
- The log shows
reason 3 (Link)forAppleEthernetAquantiaAqtion113, as in the Symptoms section.
If the machine still wakes without the cable, or fails to resume at all, the NIC is not the cause; check the RAM overclock note below. I verified the patch only on the Z690 AORUS Master listed under Tested hardware. Other boards with the same NIC and driver should show the same log line, but I have not tested them.
Wake on LAN still works
The patch clears only the link-up bit. The magic packet bit stays set, so Wake on LAN keeps working as before.
Tested hardware
- GIGABYTE GA-Z690 AORUS Master motherboard with onboard AQC113C 10GbE
- Intel Core i9-12900K
- Corsair DDR5 6200 MT/s
- AMD Radeon RX 6800 XT
- OpenCore with macOS Sequoia 15.8.2
Frequently Asked Questions
Got questions? We've got answers.



