Hifi33 Posted June 4, 2019 Share Posted June 4, 2019 On 6/3/2019 at 8:33 AM, glasgood said: @digital_is_now @Hifi33 Had a further look into this, here is a fix. I don't use sleep myself but glad you flagged this up. See update CodecCommander.kext.zip SSDT-ALC1220.aml.zip Thanks for posting this. Although I didn't have any issues with audio functioning after sleep, it certainly didn't do any harm. Unfortunately, after updating my EFI, the Energy Saver panel still only had the two options, Put hard disks to sleep when possible and Wake for network access, so I reverted back to before the SSDT-ALC1220.aml and CodecCommander.kext files and config change. In the meantime, I did read a post online regarding this issue, and it was solved for one person by checking the ACPI - Generate Options - PluginType in CC. Not sure if this has negative affects on other aspects of this build, but I tried it and it brought back the Power Nap functionality in Energy Saver (*at the same time lost the Computer sleep slider). My Apple bluetooth keyboard loss connection for a few moments upon reboot, but everything "seems" normal now. Link to comment Share on other sites More sharing options...
glasgood Posted June 4, 2019 Author Share Posted June 4, 2019 (edited) 1 hour ago, Hifi33 said: Thanks for posting this. Although I didn't have any issues with audio functioning after sleep, it certainly didn't do any harm. Unfortunately, after updating my EFI, the Energy Saver panel still only had the two options, Put hard disks to sleep when possible and Wake for network access, so I reverted back to before the SSDT-ALC1220.aml and CodecCommander.kext files and config change. In the meantime, I did read a post online regarding this issue, and it was solved for one person by checking the ACPI - Generate Options - PluginType in CC. Not sure if this has negative affects on other aspects of this build, but I tried it and it brought back the Power Nap functionality in Energy Saver (*at the same time lost the Computer sleep slider). My Apple bluetooth keyboard loss connection for a few moments upon reboot, but everything "seems" normal now. @Hifi33 & @AudioGod Changing PluginType ( enabling or disabling CPU power management ) changes the Energy Saver panel. I have not noticed any difference with PluginType enabled or disabled. Edited June 4, 2019 by glasgood 2 Link to comment Share on other sites More sharing options...
AudioGod Posted June 4, 2019 Share Posted June 4, 2019 18 hours ago, glasgood said: Hi @AudioGod I don't think Wake on Lan will work with ERP enabled, so this would effect "Wake for network access" in Energy Saver. I had a read through ERP and there seems to be pro's (motherboard allowing itself to full power down) and cons such as Wake on Lan or charging USB device ( Apple wireless Keyboard & Mouse users ) Moreover, I don't like how computer briefly automatically powers on and off when power cord is plugged into ac outlet / socket ( without me pressing power on button on computer chassis / case ). Though, there may be away to stop the automatic power on by using AC BACK BIOS setting. But thanks anyway, always appreciate other point of view. How have you got the option to power nap buddy? (I could do with that myself) I only have options to wake from ethernet and put the hard disks to sleep. BTW The wifi\bluetooth pcie card came today from Amazon and worked out of the box and I now have airdrop fully working...yay lol Link to comment Share on other sites More sharing options...
glasgood Posted June 4, 2019 Author Share Posted June 4, 2019 2 minutes ago, AudioGod said: How have you got the option to power nap buddy? (I could do with that myself) I only have options to wake from ethernet and put the hard disks to sleep. BTW The wifi\bluetooth pcie card came today from Amazon and worked out of the box and I now have airdrop fully working...yay lol Change PluginType = true. See last post 1 Link to comment Share on other sites More sharing options...
AudioGod Posted June 4, 2019 Share Posted June 4, 2019 (edited) 4 minutes ago, glasgood said: Change PluginType = true. See last post Thanks bro I will do that right now. Awesome! Oh and Sorry buddy just a couple of notes for you. The pcie combo card has zero issues running off an internal hub and also wake of ethernet works just fine with erp enabled. (Just incase it comes up with somebody in the future) As always you are the man, Thank you Edited June 4, 2019 by AudioGod Link to comment Share on other sites More sharing options...
glasgood Posted June 4, 2019 Author Share Posted June 4, 2019 12 minutes ago, AudioGod said: Thanks bro I will do that right now. Awesome! Oh and Sorry buddy just a couple of notes for you. The pcie combo card has zero issues running off an internal hub and also wake of ethernet works just fine with erp enabled. (Just incase it comes up with somebody in the future) As always you are the man, Thank you I put a small note next to bios setting for ERP to say that it can be enabled. Was wondering, in gigabyte handbook for Aorus Pro it only mentions mouse, keyboard not being available to wake machine and does not say that it effects wake on lan, yet others post on Internet forums that it effects wake on lan. Possibly ERP on older boards effected wake on lan. Link to comment Share on other sites More sharing options...
AudioGod Posted June 4, 2019 Share Posted June 4, 2019 (edited) 14 minutes ago, glasgood said: I put a small note next to bios setting for ERP to say that it can be enabled. Was wondering, in gigabyte handbook for Aorus Pro it only mentions mouse, keyboard not being available to wake machine and does not say that it effects wake on lan, yet others post on Internet forums that it effects wake on lan. Possibly ERP on older boards effected wake on lan. Oh {censored} so that's why my mouse and keyboard don't wake my system once its asleep. Aaahhhhhhh ok, still though I just hit the power button instead and it powers up. Il test that one out in a minute, im just doing the power saving and the audio I'd layout changes now. Lol.. All done and Well that was simple, I didn't make any changes to the pci layout in macos but it's all showing correctly anyway. Is that correct sounding to you? Also now I have installed the pcie combo card should I redo the pci info or is it fine as it. (I know it doesn't really matter but perfect is perfect...lol) Edited June 4, 2019 by AudioGod Link to comment Share on other sites More sharing options...
AudioGod Posted June 4, 2019 Share Posted June 4, 2019 2 hours ago, glasgood said: I put a small note next to bios setting for ERP to say that it can be enabled. Was wondering, in gigabyte handbook for Aorus Pro it only mentions mouse, keyboard not being available to wake machine and does not say that it effects wake on lan, yet others post on Internet forums that it effects wake on lan. Possibly ERP on older boards effected wake on lan. Ok so if I have erp disabled and let the system goto sleep it still won't wake up via the mouse or keyboard and also when i tried putting it to sleep manually I got same results but I also noticed that it takes about 30 seconds before the system enters a sleeping state, the monitor shuts off long before the system does. Is that normal or is something a miss buddy? Also any ideas with the keyboard and mouse waking the system up? It's not really that important to me tbh but it will bug me if it is a problem...Dam me and my OCD...Haha Link to comment Share on other sites More sharing options...
glasgood Posted June 4, 2019 Author Share Posted June 4, 2019 (edited) 1 hour ago, AudioGod said: Ok so if I have erp disabled and let the system goto sleep it still won't wake up via the mouse or keyboard and also when i tried putting it to sleep manually I got same results but I also noticed that it takes about 30 seconds before the system enters a sleeping state, the monitor shuts off long before the system does. Is that normal or is something a miss buddy? Also any ideas with the keyboard and mouse waking the system up? It's not really that important to me tbh but it will bug me if it is a problem...Dam me and my OCD...Haha @AudioGod The system can't wake with mouse or keyboard even with ERP enabled or disabled, system can only resume wake by pressing power button. That's because SSDT-GPRW.aml and the patch "change Method(GPRW,2,N) to XPRW" prevents USB from waking system. If you removed the SSDT-GPRW and disabled the patch, you would find that the system would instantly wake from sleep. And querying why the system has instantly resumed wake from sleep by running terminal command=> pmset -g log you would get information like below: id=500 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14400000 owner=USB2.0 Hub id=503 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14c00000 owner=IOUSBHostDevice id=506 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14410000 owner=Keyboard Hub id=507 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14320000 owner=BRCM20702 Hub id=510 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14340000 owner=H100i v2 id=511 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14440000 owner=Live! Cam Sync HD VF07 So above the USB devices are causing system to instantly wake from sleep. If the patch and SSDT-GPRW where not being used, then wake from sleep using keyboard and mouse could have been enabled by setting Add ClockID to false in config.plist. I noticed it does take some time for system to enter sleep, it seems to enter sleep quicker when choosing sleep from Apple menu bar. Though you could try experimenting with darkwake boot arguments for improvement. Edited June 4, 2019 by glasgood Link to comment Share on other sites More sharing options...
AudioGod Posted June 4, 2019 Share Posted June 4, 2019 20 minutes ago, glasgood said: @AudioGod The system can't wake with mouse or keyboard even with ERP enabled or disabled, system can only resume wake by pressing power button. That's because SSDT-GPRW.aml and the patch "change Method(GPRW,2,N) to XPRW" prevents USB from waking system. If you removed the SSDT-GPRW and disabled the patch, you would find that the system would instantly wake from sleep. And querying why the system has instantly resumed wake from sleep by running terminal command=> pmset -g log you would get information like below: id=500 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14400000 owner=USB2.0 Hub id=503 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14c00000 owner=IOUSBHostDevice id=506 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14410000 owner=Keyboard Hub id=507 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14320000 owner=BRCM20702 Hub id=510 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14340000 owner=H100i v2 id=511 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14440000 owner=Live! Cam Sync HD VF07 So above the USB devices are causing system to instantly wake from sleep. If the patch and SSDT-GPRW where not being used, then wake from sleep using keyboard and mouse could have been enabled by setting Add ClockID to false in config.plist. I noticed it does take some time for system to enter sleep, it seems to enter sleep quicker when choosing sleep from Apple menu bar. Though you could try experimenting with darkwake boot arguments for improvement. Thanks for the explanation, that's fine by me then. Il just leave it as is as everything works and hitting the power button to wake my system has been what always do anyway. Link to comment Share on other sites More sharing options...
AudioGod Posted June 4, 2019 Share Posted June 4, 2019 I just did the Clover Hotpatch PXSX to ARPT and its had a super positive effect to my connection speed. Before it was about 580mbs but after the rename it's now over 1gbs. Fantastic result and now officially quicker then my wired connection....wow 1 Link to comment Share on other sites More sharing options...
digital_is_now Posted June 5, 2019 Share Posted June 5, 2019 On 6/4/2019 at 10:40 PM, Madane said: Thats weird.. I never experience any audio loss so I never had to apply the SSDT-ALC11220.aml and CodecCommander.kext fix. Could it be because of the layout-id 7 since that fixed the volume jumps up and down with front headphone/audio out ports I experienced when using the default layout-id 1 ? @glasgood hey mate, have you heard any more reports on this issue? This sounds like the issue I have. Tried both 7 and 16 but the issue persists Link to comment Share on other sites More sharing options...
digital_is_now Posted June 5, 2019 Share Posted June 5, 2019 On 6/3/2019 at 9:33 PM, glasgood said: @digital_is_now @Hifi33 Had a further look into this, here is a fix. I don't use sleep myself but glad you flagged this up. See update CodecCommander.kext.zip SSDT-ALC1220.aml.zip Sorry just to clarify, the fix is to change BIOS power mgmt setting and then use the below files IF we have no sleep on return from sleep, right? i've investigated some more. It seems like switching to display port had zero issues with manual and automatic sleeping - is this weird? Funnily enough that cable has since died and i'm back on HDMI at the moment with broken sleeping. I changed the power mgmt in BIOS and now when I manually sleep, it *works* but when i wake, there is no video feed coming into the monitor. I can log in by typing my pwd (at a black screen) and change volume levels (via keyboard) to verify that i'm in the OS. Thoughts? Link to comment Share on other sites More sharing options...
glasgood Posted June 5, 2019 Author Share Posted June 5, 2019 6 minutes ago, digital_is_now said: Sorry just to clarify, the fix is to change BIOS power mgmt setting and then use the below files IF we have no sleep on return from sleep, right? i've investigated some more. It seems like switching to display port had zero issues with manual and automatic sleeping - is this weird? Funnily enough that cable has since died and i'm back on HDMI at the moment with broken sleeping. I changed the power mgmt in BIOS and now when I manually sleep, it *works* but when i wake, there is no video feed coming into the monitor. I can log in by typing my pwd (at a black screen) and change volume levels (via keyboard) to verify that i'm in the OS. Thoughts? Thats right, change power management setting and then change audio layout_id to 16. Audio layout_id 16 resolves loss of audio after wake. Link to comment Share on other sites More sharing options...
digital_is_now Posted June 6, 2019 Share Posted June 6, 2019 19 hours ago, glasgood said: Thats right, change power management setting and then change audio layout_id to 16. Audio layout_id 16 resolves loss of audio after wake. I did do that but still have the issues Link to comment Share on other sites More sharing options...
glasgood Posted June 6, 2019 Author Share Posted June 6, 2019 20 hours ago, digital_is_now said: Sorry just to clarify, the fix is to change BIOS power mgmt setting and then use the below files IF we have no sleep on return from sleep, right? i've investigated some more. It seems like switching to display port had zero issues with manual and automatic sleeping - is this weird? Funnily enough that cable has since died and i'm back on HDMI at the moment with broken sleeping. I changed the power mgmt in BIOS and now when I manually sleep, it *works* but when i wake, there is no video feed coming into the monitor. I can log in by typing my pwd (at a black screen) and change volume levels (via keyboard) to verify that i'm in the OS. Thoughts? Hi @digital_is_now You have problem with no video out on HDMI on RX580 ? Link to comment Share on other sites More sharing options...
digital_is_now Posted June 6, 2019 Share Posted June 6, 2019 5 minutes ago, glasgood said: Hi @digital_is_now You have problem with no video out on HDMI on RX580 ? If my machine sleeps, the screen stays black even tho the machine seems to stay awake Link to comment Share on other sites More sharing options...
glasgood Posted June 6, 2019 Author Share Posted June 6, 2019 6 minutes ago, digital_is_now said: If my machine sleeps, the screen stays black even tho the machine seems to stay awake Is monitor connected via HDMI ? Does this happen when you initiate sleep from Apple menu bar Does this happen when you let machine automatically go to sleep ? Link to comment Share on other sites More sharing options...
glasgood Posted June 6, 2019 Author Share Posted June 6, 2019 UPDATE POST-INSTALL Aorus Pro Z390 EFI - RX580 Wake using keyboard, mouse or power button. To enable wake using mouse and keyboard the Corsair H100i v2 USB cable must be disconnected from motherboard header F_USB1 ( USB cable does not effect function of fan in macOS ) if you want to keep the Corsair H100i v2 USB cable connected, then Hackintosh will instantly wake from sleep, to fix instant awake from sleep, just enable the patch in config.plist, hackintosh will then sleep, but can only wake using power button. ENABLE PATCH IF USING CORSAIR H100i WITH USB CABLE , OR IF YOU HAVE PROBLEM WITH SLEEP. Link to comment Share on other sites More sharing options...
AudioGod Posted June 7, 2019 Share Posted June 7, 2019 12 hours ago, glasgood said: UPDATE POST-INSTALL Aorus Pro Z390 EFI - RX580 Wake using keyboard, mouse or power button. To enable wake using mouse and keyboard the Corsair H100i v2 USB cable must be disconnected from motherboard header F_USB1 ( USB cable does not effect function of fan in macOS ) if you want to keep the Corsair H100i v2 USB cable connected, then Hackintosh will instantly wake from sleep, to fix instant awake from sleep, just enable the patch in config.plist, hackintosh will then sleep, but can only wake using power button. ENABLE PATCH IF USING CORSAIR H100i WITH USB CABLE , OR IF YOU HAVE PROBLEM WITH SLEEP. So buddy do I need to make any changes to my efi folder other then disconnecting the internal h100i usb header? Link to comment Share on other sites More sharing options...
glasgood Posted June 7, 2019 Author Share Posted June 7, 2019 20 minutes ago, AudioGod said: So buddy do I need to make any changes to my efi folder other then disconnecting the internal h100i usb header? Hi @AudioGod Don't change anything yet. . I made a lot of changes and removed some of the legacy data from config.plist ( so far all working normally and boot time seems quicker ) I'm going to upload new EFI soon. Link to comment Share on other sites More sharing options...
glasgood Posted June 7, 2019 Author Share Posted June 7, 2019 UPDATE 7th June 2019 POST-INSTALL Aorus Pro Z390 EFI - RX580 Removed following patches: HDAS to HDEF ( Rename is now done through AppleALC and Lilu ) GFX to GFX0 ( Rename is now done with Whatevergreen.kext ) PEG0 to GFX0 ( Rename is now done with Whatevergreen.kext ) HECI to IMEI ( Rename is now done with Whatevergreen.kext ) Removed Legacy Audio Inject , this is now injected through properties. Removed Ports Limit Patches, Ports are fixed using SSDT and USBInjectAll.kext Removed RTCMemoryFixup.kext Removed EFICheckDisabler.kext Made some small changes to Acpi fixes. Changed from using FakeSMC to VirtualSMC, ( Why ? , sleep seems slightly better on Aorus Z390 ) 1 Link to comment Share on other sites More sharing options...
AudioGod Posted June 7, 2019 Share Posted June 7, 2019 (edited) 1 hour ago, glasgood said: UPDATE 7th June 2019 POST-INSTALL Aorus Pro Z390 EFI - RX580 Removed following patches: HDAS to HDEF ( Rename is now done through AppleALC and Lilu ) GFX to GFX0 ( Rename is now done with Whatevergreen.kext ) PEG0 to GFX0 ( Rename is now done with Whatevergreen.kext ) HECI to IMEI ( Rename is now done with Whatevergreen.kext ) Removed Legacy Audio Inject , this is now injected through properties. Removed Ports Limit Patches, Ports are fixed using SSDT and USBInjectAll.kext Removed RTCMemoryFixup.kext Removed EFICheckDisabler.kext Made some small changes to Acpi fixes. Changed from using FakeSMC to VirtualSMC, ( Why ? , sleep seems slightly better on Aorus Z390 ) Hi, So should I delete my old efi and use this one and redo my pci list and copy my serial number? Or should I just make the changes listed above myself to my efi folder or is there more to it then that? Edited June 7, 2019 by AudioGod Link to comment Share on other sites More sharing options...
glasgood Posted June 7, 2019 Author Share Posted June 7, 2019 (edited) 34 minutes ago, AudioGod said: Hi, So should I delete my old efi and use this one and redo my pci list and copy my serial number? Or should I just make the changes listed above myself to my efi folder or is there more to it then that? @AudioGod Before deleting EFI ( back it up ) save the config.plist, then replace EFI folder. You want to copy over SMBIOS / System Paramaters / infomation / RTVariables info for iMessages etc.. form old config.plist. You may have to import PCI information. Remember to update PciRoot(0x0)/Pci(0x1f,0x3) with values below in the event you overwrite them when importing PCI into back into congif.plist Edited June 7, 2019 by glasgood 1 Link to comment Share on other sites More sharing options...
AudioGod Posted June 7, 2019 Share Posted June 7, 2019 14 minutes ago, glasgood said: @AudioGod Before deleting EFI ( back it up ) save the config.plist, then replace EFI folder. You want to copy over SMBIOS / System Paramaters / infomation / RTVariables info for iMessages etc.. form old config.plist. You may have to import PCI information. Remember to update PciRoot(0x0)/Pci(0x1f,0x3) with values below in the event you overwrite them when importing PCI into back into congif.plist Thanks buddy I will get right on that one in a moment and report back after im done. Brilliant stuff Link to comment Share on other sites More sharing options...
Recommended Posts