Jump to content
1561 posts in this topic

Recommended Posts

UPDATE

 

Noticed that immediate sleep would not work when going to menu bar and choosing the 'Sleep" option ( when energy saver had a timer set for sleep ) and there was a problem with sleep when using Energy Saver option

in the System Preferences where the display would sleep and computer would stay awake, enabling "Platform Power Management" in BIOS resolves this.

 

PowerMan.thumb.jpg.dfbe8a9977c67c4e983eccf19153b362.jpg

 

 

It seems that there is loss of Audio when resume from sleep in certain instance.

 

 

When using following settings below, audio will resume on wake from sleep.

 

SoundAfterWake.thumb.png.b6d76c8464f805d2c1bb86332410bde3.png

 

 

 

When using following settings below, audio will not resume ( NO AUDIO ) on wake from sleep.

 

NoSoundAfterWake.thumb.png.bf2bb7eb50b107fb2de7462fd523f90f.png

 

 

 

 

To resolve loss of audio from wake from sleep, use files attached files and follow steps below

 

 

FILES

 

CodecCommander.kext.zip

 

SSDT-ALC1220.aml.zip

 

STEPS

 

 

 

 

  • Add: SSDT-ALC11220.aml ( this works with CodecCommander.kext to fix / enable sound after wake )

 

SSDT-ALC1120.png.f170b80a6cc4fa267d2f7c09ce44591b.png

 

  • Add: CodecCommander.kext 

 

1135125633_Screenshot2019-06-03at12_22_19.png.1c4dfeb2ec52cb14231849cc16ba63c3.png

 

  • Use sorted order

 

SortedOrder.thumb.png.9fbbd577fbbd027ad292e339f27b2752.png

 

 

 

 

SHUTDOWN - THEN START

 

 

 

502397075_Screenshot2019-06-04at09_02_18.png.a125f7112fac97cbfab7820a84b27319.png

 

1297154401_Screenshot2019-06-04at10_59_42.png.d8fb073affc72658182a977fbfca25bb.png

 

 

 

1805560284_Screenshot2019-06-03at11_50_24.png.6ce19b2f3ba128c85fb447f4375e859d.png

 

2058738008_Screenshot2019-06-03at13_58_28.png.1771191ec43ea790b3766f61e48372f4.png

 

 

 

 

 

 

 

1 hour ago, nelio33 said:

Hello

 

Do you think the second card choice (work with kext) would be better with imessage and facetime?

 

To be honest, I'm not sure. But worth a try. :)

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 ?

  • Like 1
1 hour ago, 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 ?

 

@Madane  Thank you for bringing this to my attention, it seems that Layout ID 16 is specifically for Gigabyte Z390 :thumbsup_anim:

 

 

 

16.thumb.png.9d33e1c04fc9efb0f65b38c1d20854d9.png
 

 

 

 


 

 

Edited by glasgood

 

@Madane  reported using Audio ID layout 7 resolved no Audio on wake issue, so had a look at AppleALC Info.plist and found Layout ID 16 specified for Gigabyte Z390.

So Audio Layout ID 16 with its WakeConfigData resolves no audio on wake issue. CodecCommander.kext and SSDT-ALC1220.aml are no longer needed. EFI's updated. 

 

Post-Install EFI folders have updated AppleALC.kext with Layout ID 16. Have removed CodecCommander.kext and SSDT-ALC1220.aml

If updating AppleALC and applying new layout ID 16 and you have no sound on reboot,  then you need to remove some Properties  from Clover / Devices,

Keep Intel Graphics Property -> PciRoot(0x0)/Pci(0x2,0x0) .  Then use Hackintool to export new pcidevices.plist and then add back to properties.

 

 

 

1959338948_Screenshot2019-06-04at15_53_02.thumb.png.1d2d35ac5c0fbb03018e511d95602258.png

 

 

16.thumb.png.1d40b69a1a14235ab88876aa07178b36.png

 

 

 

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.  

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. 

 

 

plugintype1.thumb.png.c81581a5a5198495e4bf464d7f054d4d.png

 

plugintype0.thumb.png.ed2013868a549bcecae60a0530739c9e.png

 

 

 

 

Edited by glasgood
  • Thanks 2
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. :) 

 

 

1386105668_Screenshot2019-06-03at22_13_03.png.bf50872c2e4cfb70fc1d13ce7e60913f.png

 

 

 

 

 

 

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

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 :)

  • Thanks 1
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 by AudioGod
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. 

 

:)

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 by AudioGod
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 

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.

 

637247841_Screenshot2019-06-04at21_06_59.png.854109e75044c30f54c9cdb01459fecc.png

 

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 by glasgood
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.

 

637247841_Screenshot2019-06-04at21_06_59.png.854109e75044c30f54c9cdb01459fecc.png

 

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. :)

 

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

 

 

Screenshot 2019-06-04 at 23.07.08.png

  • Like 1
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 :(

 

 

 

Screen Shot 2019-06-06 at 12.02.06 am.png

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? 

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. 

 

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 ? 

 

 

 

 

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 ?

 

 

 

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.

 

1788948731_Screenshot2019-06-06at20_20_16.thumb.png.92d91aa7162c8904abc762098b16e3f6.png

 

 

 

 

 

 

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.

 

1788948731_Screenshot2019-06-06at20_20_16.thumb.png.92d91aa7162c8904abc762098b16e3f6.png

 

 

 

 

 

 

So buddy do I need to make any changes to my efi folder other then disconnecting the internal h100i usb header?

×
×
  • Create New...