Contribute
Register

Fix no sound after sleep on 1150 (and possibly other realtek's)

Status
Not open for further replies.
Thank you for posting this! The audio after sleep was the last thing I needed to figure out. Now my hackintosh is working 100% 90%!

EDIT: I spoke too soon. My input device drops after sleep. Output works fine, but the line-in I'm using drops the mic after 30 seconds of activity. Selecting the other line-in (which has no plugged in device) and then selecting the device I want to work re-enables the input option for another 30 seconds, but something is apparently running that is checking to see if that input is working and shutting that bad boy down. Likely to mess with my head or some other nefarious reason...
 
Last edited:
Thanks it worked for me
 
Compile with Xcode (Note: May be this procedure also works when editing a precompiled Codeccommander if you struggle with Xcode)
Hi, I tried to compile this but I get 14 isssues with deprecation ... everything seems to be deprecated ... how did you get it to compile?
 
Hi, I tried to compile this but I get 14 isssues with deprecation ... everything seems to be deprecated ... how did you get it to compile?
Hi @2cold4u , I remember that being an issue but I found a way to acknowledge them and still compile. I cannot recall what I had to do but I did not change any code.
 
Hi @2cold4u , I remember that being an issue but I found a way to acknowledge them and still compile. I cannot recall what I had to do but I did not change any code.
Thx Iocmer, good to know that I do not need to change the code ... but still how to compile :(
 
Fix no sound after sleep on 1150 - other method (may work for other realtek's aswell)

Preface:
No sound after sleep is a common issue for afaik all realteks. Some people reload the kext using audio reset apps but others feel this is dangerous or a bad solution. A better solution is using codec-commander but it's harder to wrap your head around and some motherboards are even worse to get working. I had one of those and this is a guide to how I solved it.

So how the hell do I fix this?
There are a few threads on this topic but I spent days with them and still didn't get codec-commander to work on my 1150-enabled motherboard (Gigabyte GA-Z79MX-gaming 5). At last I was pointed to a few closed issues where I puzzled out the answer. I've uploaded the pre-compiled kext here for others to find with the same issue. It seems the 1150 on this and similar motherboards is a particularly tough one to fix.

This kext should work on motherboards with a similar setup to the Z79mx-gaming 5. If that seems like what you have, go ahead and just try the kext attached first. Install it using kextbeast or similar to S/L/E and set darkwake to 8. (See bottom of post for links)

If my kext doesn't work, or you have another realtek, I'll also provide the updated instruction on how to (probably/possibly) get it working. These instructions assume some general previous knowledge, let me know if you need more details about any particular step in the process. Most guides are not correct, telling you to find device id's in a plist that doesn't exist. Codec-commander was updated but the guides were not. What you do is download codec-commander and compile it with xcode (yes you need to download and install xcode). On some motherboards, as I understand it, this is all you need to do. Just install the kext in S/L/E and set darkwake to 8 and bam, sound after sleep.

Some aren't as lucky due to some amplifier chip as I understand it. If that's your case, after compile go into the build-folder and find the release-version of the kext. Open the container and find the .plist inside. Open this file with an editor or plist editor for convenience. Look up the section for your realtek and find the value for update nodes. Edit this to true and possibly increase the delay to the same as in the default section (I think it was 300). Save and install the kext into S/L/E, set darkwake=8 and reboot. Sleep and wake the computer, holding your thumb as we do in Sweden. Hopefully you now have working audio after sleep.

If you still do not, there's probably some other mysterious setting inside the .plist that you need to edit for your realtek and I cannot help you on that. Look through the conversations at git (link below). Wish I had the answer for everybody but at least I have it for those on 1150 and maybe a few others.

ready-made kext for 1150 on Gigabyte GA-Z79MX-gaming 5 and similar motherboards.
View attachment 146742

Link to download codec-commander:
https://github.com/Dolnor/EAPD-Codec-Commander (click download zip)

Other tools needed/useful in the process:
Xcode: app store, search for xcode, free, takes a lot of space.
Plist editor pro (easier way of editing that .plist): http://www.fatcatsoftware.com/plisteditpro/
kextbeast: easy way of installing kext's: http://www.tonymacx86.com/downloads.php?do=file&id=32
Issues-conversation at codec-commander page: https://github.com/Dolnor/EAPD-Codec-Commander/issues?q=is:issue+is:closed
(last resort if nothing above help you)

Maybe this should be pinned if it's considered worthwhile. Cheers!

EDIT 1:
Oh and if you get any kp's try installing the audio driver as a patched kext = use multibeast. Injected stuff here is apparently a bad idea. Don't ask me why, it's above my pay-grade!

EDIT 2:
Setting darkwake=8 is apparently not required but recommended by some user somewhere sometime in combination with this. I tried going back to what I had before (default setting). You do as you see fit!

EDIT 3:
There's another guide with a downloadable codec-commander but this will not work for the 1150.

EDIT 4:
This was tested on 10.10.4 and 10.10.5. Have not tried on anything pre-yosemite but it may work. Remember before 10.9.2 (I think, somewhere there) you no longer need this fix as it's needed due to a change made by apple at the builds after that.

I've had the same issue you mentioned. Decided to start from scratch (as per the audio guide) and unistalled the changes I'd made and followed the guide finishing with setup in Multibeast. I've installed the kext you've attached with EasyKextUtility and now I'm hopefully up to the last part. I've downloaded and installed Xcode and downloaded the EAPD-Codec-Commander-Master. I just have no idea how to use Xcode and am somewhat intimidated by it to be honest!! A total newbie here. My question is: How do I compile that with Xcode? Are you able to walk me through what I do? Thanks for your patience in advance.
 
GA-Z170N-WIFI
6700K
ALC1150
on Sierra 10.12.3

Codec enabled using Lilu and AppleALC from InsanelyMac (No clover patches save for HDAS-HDEF and vanilla AppleHDA)
Darkwake=8

Using the prepared kext from first post installed to L/E w/ KextBeast. sudo kextcache -i / after for good measure. Both speakers (green output) and headphones on front jack working beautifully after sleep. Well done, thanks!!


Hi, i have the same board + gigabyte r9 380x , can you please attach all the files required for sleep/sound fix?
thanks :)
 
Hi, i have the same board + gigabyte r9 380x , can you please attach all the files required for sleep/sound fix?
thanks :)
No, I dont attach files made by someone else that I dont "know" and are not here. Google AppleALC and Lilu.
 
Status
Not open for further replies.
Back
Top