Naundob Posted August 16, 2017 Share Posted August 16, 2017 It seems that the Gaming 7 users have no sound after sleep. You can try it with this CodecCommander, install it to /S/L/E. It works here. CodecCommander.kext.zipUnfortunately, i do not have too much time for testing, because of some serious issues with my car. Thank you! Just tried the new CodecCommander but sound is still gone after wakeup. Good luck with your car! Link to comment Share on other sites More sharing options...
wern apfel Posted August 17, 2017 Author Share Posted August 17, 2017 Here are the files that I use and I have sound after sleep. AppleALC_Lilu.zipIf it still does not work, we need to take care of the ACPI code. I recommend that you use layout-id 4 with the CA0132 tools. The aim is to keep the audio jacks plugged in and to switch to the desired output via software. My car is off topic, but after the second broken timing chain, Volkswagen refuses to participate in the costs. Do not buy any car from them. 2 Link to comment Share on other sites More sharing options...
wern apfel Posted August 17, 2017 Author Share Posted August 17, 2017 Thanks Wern Apfel, I've used this files, I got HP and rear output, but no mic. After sleep no sound too. I have also tried CA0132 tools but when I selected any output immediately lost rear output and the output's name changed, line output is now Headphones :/ Gigabyte z170x gaming 7 Thanks a lot...! PD: Sorry for the inconvenience of you car. I think it works only with layout 4 and front HP jack. Please try it. You can also try this DSDT for the wake up issue, it will also change the layout-id to 4, HDMI could work with this kext, install it to the clover folder, only the kext. DSDT.aml_Gaming7.zip 1 Link to comment Share on other sites More sharing options...
wern apfel Posted August 19, 2017 Author Share Posted August 19, 2017 I think you use the rear headphone jack, use the front jack choose the first line-out and the CA0132tool should work as expected. The tool needs a few changes. The voodoo kext can't show you your display name, you can try this, it should show you only one HDMI-device. VoodooHDA-HDMI.kext.zip 1 Link to comment Share on other sites More sharing options...
Naundob Posted August 20, 2017 Share Posted August 20, 2017 I think you use the rear headphone jack, use the front jack choose the first line-out and the CA0132tool should work as expected. The tool needs a few changes. The voodoo kext can't show you your display name, you can try this, it should show you only one HDMI-device. VoodooHDA-HDMI.kext.zip Thank you for the updates! With the old VoodooHDA I had 4 HMDI outputs with the 2nd actual working. With this new one I have only 3 HDMI outputs with the 1st working. Nice! If there's a solution to ged rid of the other two... even nicer, but this is really cosmetic, so no big deal for me. I installed all your suggested files + layout_id 4 but I have no luck with the new CA0132Tool (see pic). The Audioswitcher (are both tools meant to do the same?) starts with "5.1 Surround" and sticks to it whatever I choose. So I'm rather clueless here... BUT I experienced analog audio via the rear HP after sleep/wake for the first time! Great!! It still has some flaws (but I'm sure you have an explanation for that). Rear HP was gone again after sleep/wake but then I plugged the HP jack into rear line out instead and there was sound! I plugged it back into rear HP and even that output was back alive! So, well, I thought I have to plug something into the rear line out to keep rear HP after sleep/wake. I tried it with my HP in rear HP and just a an unconnected cable in rear line out. But still no HP sound after sleep. But it came back when I unplugged the rear line out cable again. So the rear line out acts like a switch in my experience: After sleep/wake it switches on (or revives) the rear HP whenever I put a jack in OR out. Does this make any sense? Link to comment Share on other sites More sharing options...
wern apfel Posted August 23, 2017 Author Share Posted August 23, 2017 Thank you for the updates! With the old VoodooHDA I had 4 HMDI outputs with the 2nd actual working. With this new one I have only 3 HDMI outputs with the 1st working. Nice! If there's a solution to ged rid of the other two... even nicer, but this is really cosmetic, so no big deal for me. I installed all your suggested files + layout_id 4 but I have no luck with the new CA0132Tool (see pic). The Audioswitcher (are both tools meant to do the same?) starts with "5.1 Surround" and sticks to it whatever I choose. So I'm rather clueless here... BUT I experienced analog audio via the rear HP after sleep/wake for the first time! Great!! It still has some flaws (but I'm sure you have an explanation for that). Rear HP was gone again after sleep/wake but then I plugged the HP jack into rear line out instead and there was sound! I plugged it back into rear HP and even that output was back alive! So, well, I thought I have to plug something into the rear line out to keep rear HP after sleep/wake. I tried it with my HP in rear HP and just a an unconnected cable in rear line out. But still no HP sound after sleep. But it came back when I unplugged the rear line out cable again. So the rear line out acts like a switch in my experience: After sleep/wake it switches on (or revives) the rear HP whenever I put a jack in OR out. Does this make any sense? These are useful infos, i'll upload later some updated files. The CA0132Tool should work if you press the control key before you start it, but only with the front HP jack. The Switcher is nearly the same, but it is in an early beta stage. Try this HDMI kext. VoodooHDA-HDMI.kext.zip 2 Link to comment Share on other sites More sharing options...
Naundob Posted August 23, 2017 Share Posted August 23, 2017 These are useful infos, i'll upload later some updated files. The CA0132Tool should work if you press the control key before you start it, but only with the front HP jack. The Switcher is nearly the same, but it is in an early beta stage. Try this HDMI kext. VoodooHDA-HDMI.kext.zip The control key trick changed nothing unfortunately. Strange thing, I had no problems starting your previous versions... BUT: Bullseye! The new HDMI.kext nailed it! Excellent work once more! Now HDMI sound works and looks how it should, thank you soooo much!! Link to comment Share on other sites More sharing options...
lig8sp33d Posted September 7, 2017 Share Posted September 7, 2017 Hi all, Thanks for your continued support on the Audio Chip-set. Thanks Wern for helping me with that earlier on 10.12.2, but now i am on 10.12.6. My Mother Board is Gigabyte Gaming 7 I do have a small question though. I am using Audio Layout 6 with (AppleALC and Lilu) and it seems to give output through Line out + Headphones + Headphones and the volume slider for them work - at least on display. I have not tested them as i am primarily focused on audio output through the "Digital Output", which is working. The main concern of mine is that that volume bar does not work on the Digital Output. Is there any way to fix that ? I use external DAC and it is very hard to control the volume via the analog knob all the time. Any help is really appreciated. Thanks again BIOS Version - F8Q (Gigabyte)Motherboard: Gigabyte Gaming 7 (Z170 Chipset) Audio Codec: Creative CA0132Mac: Sierra 10.12.6iMac (Retina 5K, 27-inch, Late 2015)4.01 GHz Intel Core i7 (6700K)32 GB 2132 MHz DDR4NVIDIA GeForce GTX 960 2047 MB Link to comment Share on other sites More sharing options...
wern apfel Posted September 18, 2017 Author Share Posted September 18, 2017 The control key trick changed nothing unfortunately. Strange thing, I had no problems starting your previous versions... Here an update of the tool, still not solved the rear Headphones issue, use the front HP instead. CA0132Tool 2.zip Thanks, The only issues i got is after sleep I do not have Headphones neither mics, only line out. The HDMI kext work fine showing just one line. Another issue is that all outputs show the same name "line output" but this is just cosmetics For the sleep issue, try this CodecCommander.kext CodecCommander.kext.zip Hi all, Thanks for your continued support on the Audio Chip-set. Thanks Wern for helping me with that earlier on 10.12.2, but now i am on 10.12.6. My Mother Board is Gigabyte Gaming 7 I do have a small question though. I am using Audio Layout 6 with (AppleALC and Lilu) and it seems to give output through Line out + Headphones + Headphones and the volume slider for them work - at least on display. I have not tested them as i am primarily focused on audio output through the "Digital Output", which is working. The main concern of mine is that that volume bar does not work on the Digital Output. Is there any way to fix that ? I use external DAC and it is very hard to control the volume via the analog knob all the time. Any help is really appreciated. Thanks again BIOS Version - F8Q (Gigabyte)Motherboard: Gigabyte Gaming 7 (Z170 Chipset) Audio Codec: Creative CA0132Mac: Sierra 10.12.6 iMac (Retina 5K, 27-inch, Late 2015) 4.01 GHz Intel Core i7 (6700K)32 GB 2132 MHz DDR4NVIDIA GeForce GTX 960 2047 MB Screen Shot 2017-09-07 at 5.03.56 pm.png Screen Shot 2017-09-07 at 5.08.36 pm.png Screen Shot 2017-09-07 at 5.10.19 pm.png Unfortunately, this is the intended behaviour by Apple. It works @Windows and Linux but there is a kind of downsampling with some quality loss, i think that's the reason why Apple is denying us that feature. 2 Link to comment Share on other sites More sharing options...
anor4k Posted September 18, 2017 Share Posted September 18, 2017 Hi all, Thanks for your continued support on the Audio Chip-set. Thanks Wern for helping me with that earlier on 10.12.2, but now i am on 10.12.6. My Mother Board is Gigabyte Gaming 7 I do have a small question though. I am using Audio Layout 6 with (AppleALC and Lilu) and it seems to give output through Line out + Headphones + Headphones and the volume slider for them work - at least on display. I have not tested them as i am primarily focused on audio output through the "Digital Output", which is working. The main concern of mine is that that volume bar does not work on the Digital Output. Is there any way to fix that ? I use external DAC and it is very hard to control the volume via the analog knob all the time. Any help is really appreciated. Thanks again BIOS Version - F8Q (Gigabyte)Motherboard: Gigabyte Gaming 7 (Z170 Chipset) Audio Codec: Creative CA0132Mac: Sierra 10.12.6 iMac (Retina 5K, 27-inch, Late 2015) 4.01 GHz Intel Core i7 (6700K)32 GB 2132 MHz DDR4NVIDIA GeForce GTX 960 2047 MB Screen Shot 2017-09-07 at 5.03.56 pm.png Screen Shot 2017-09-07 at 5.08.36 pm.png Screen Shot 2017-09-07 at 5.10.19 pm.png You can try to use a solution like Soundflower to control the DAC volume through software Link to comment Share on other sites More sharing options...
hls3355 Posted September 24, 2017 Share Posted September 24, 2017 hi, i have read all the solutions below and tried, unfortunately,none of those worked for me except the Voodoohda which can have the sound output but no volume control.i want the output volume control very much! my spec: Alienware 15 R1 cpu:i7 4720hq audio:sound blaster recon3di graphics:intel hd4600,nvidia gtx980m I have tried also the sierra ones in #1,but not work at all.i also tried the alienware15 r2 applehda fix as well as applealc,neither worked for me...i'm now using sierra 10.12.6.could you please take a look? thanks in advance!!! Link to comment Share on other sites More sharing options...
Naundob Posted September 24, 2017 Share Posted September 24, 2017 Here an update of the tool, still not solved the rear Headphones issue, use the front HP instead. CA0132Tool 2.zip Very nice, thank you! Link to comment Share on other sites More sharing options...
Blacky Posted September 27, 2017 Share Posted September 27, 2017 @wern apfel Hi, After one year of being outside the macOS world I am finally back in with High Sierra and my X99 Gaming 5P Mobo. Updated the CPU now to a 6900K . Anyway. I have been reading through this thread and I am very confused. Before I only had to install a Kext, now it seems a need a tool? BTW, I also have a GTX 760 in my system but there are no HDMI outputs detected even though the card was natively detected by macOS and works perfectly otherwise. Wern, if it is not much trouble, could you please give me a little guidance. To get my Creative CA0132 working , what do I need to do now? Link to comment Share on other sites More sharing options...
wern apfel Posted September 27, 2017 Author Share Posted September 27, 2017 hi, i have read all the solutions below and tried, unfortunately,none of those worked for me except the Voodoohda which can have the sound output but no volume control.i want the output volume control very much! my spec: Alienware 15 R1 cpu:i7 4720hq audio:sound blaster recon3di graphics:intel hd4600,nvidia gtx980m I have tried also the sierra ones in #1,but not work at all.i also tried the alienware15 r2 applehda fix as well as applealc,neither worked for me...i'm now using sierra 10.12.6.could you please take a look? thanks in advance!!! Save and upload your IOReg! @wern apfel Hi, After one year of being outside the macOS world I am finally back in with High Sierra and my X99 Gaming 5P Mobo. Updated the CPU now to a 6900K . Anyway. I have been reading through this thread and I am very confused. Before I only had to install a Kext, now it seems a need a tool? BTW, I also have a GTX 760 in my system but there are no HDMI outputs detected even though the card was natively detected by macOS and works perfectly otherwise. Wern, if it is not much trouble, could you please give me a little guidance. To get my Creative CA0132 working , what do I need to do now? Let the AppleHDA.kext untouched and use the latest AppleALC.kext it should be copied to clover/kexts/other, change the layout-id to 4,5 or 6 and CodecCommander to /S/L/E. Don't forget to repair permissions. The CA0132Tool is a tool that allows you to try out a few things, if you wanna use 5.1 and Headphones i recommend the CA0132 switcher 2 Link to comment Share on other sites More sharing options...
Blacky Posted September 27, 2017 Share Posted September 27, 2017 Hi! @wern apfel 1. Do I set the layout-id in Clover->DEvices->Audio Inject and set the value to 4 ,5 or 6? I don't have a DSDT cause I didn't need one. 2. Does the CodecCommander have to be in /S/L/E ? Can't I place in Clover kexts ? I already have the latest AppleALC.kext in Clover/etc. Edit: 1. I have the AppleALC.kext in Clover 2. I've set the Clover->Devices-> Audio Inject to 5 (I also tried 4) 3. I've placed the linked CodecCommander in /S/L/E and fixed permissions using Kext Utility (hopefully the tool also works on High Sierra). Results => No audio output devices exist on my system. Link to comment Share on other sites More sharing options...
Blacky Posted September 28, 2017 Share Posted September 28, 2017 I've attached my IOreg. https://www.mediafire.com/file/gnegi5zzfji65i3/Silmac.ioreg Any help would be greatly welcomed. Link to comment Share on other sites More sharing options...
hls3355 Posted September 28, 2017 Share Posted September 28, 2017   Save and upload your IOReg!     Let the AppleHDA.kext untouched and use the latest AppleALC.kext  it should be copied to clover/kexts/other, change the layout-id to 4,5 or 6  and CodecCommander to /S/L/E. Don't forget to repair permissions.   The CA0132Tool is a tool that allows you to try out a few things, if you wanna use 5.1 and Headphones i recommend the CA0132 switcher   here's the file,thanks! link:http://pan.baidu.com/s/1dF1YYsx code:f4iz Link to comment Share on other sites More sharing options...
Israel Fernandes Posted September 28, 2017 Share Posted September 28, 2017 Any solution for high sierra ? Link to comment Share on other sites More sharing options...
wern apfel Posted September 28, 2017 Author Share Posted September 28, 2017 Hi! @wern apfel 1. Do I set the layout-id in Clover->DEvices->Audio Inject and set the value to 4 ,5 or 6? I don't have a DSDT cause I didn't need one. Yes, it works with clover. 2. Does the CodecCommander have to be in /S/L/E ? Can't I place in Clover kexts ? Yes, else it doesn't work properly. I already have the latest AppleALC.kext in Clover/etc. I've forget to say that AppleALC needs Lilu!, but you've already done it. Results => No audio output devices exist on my system. You also need the ALZA to HDEF patch.    here's the file,thanks! link:http://pan.baidu.com/s/1dF1YYsx code:f4iz Remove VoodooHDA and AppleHDADisabler, set the layout-id to 1, if it doesn't work upload the IOREG. Any solution for high sierra ? If it works @Sierra it should work @HighSierra too. No updates needed! Link to comment Share on other sites More sharing options...
Blacky Posted September 28, 2017 Share Posted September 28, 2017 1. Do I set the layout-id in Clover->DEvices->Audio Inject and set the value to 4 ,5 or 6? I don't have a DSDT cause I didn't need one. Yes, it works with clover. Yes, else it doesn't work properly. I've forget to say that AppleALC needs Lilu!, but you've already done it. You also need the ALZA to HDEF patch. ALZAtoHDEF.png OK! So I also applied the patch you said but no difference. I have however used https://github.com/toleda/audio_ALCInjection/blob/master/ssdt_hdef/ssdt_hdef-1-x99-alza.zip And now the video card HDMI seems to be detected as HDEF , but it's still not listed under Sound Outputs. ApplecALC is where it should be. CommanderCodec is where you said it should be. Lilu.kext is also in Clover. I am out of ideas. I've linked here my current IOReg and my Clover EFI folder. Maybe I'm missing something. IOREG: http://www.mediafire.com/file/a88dds4e2ts0syp/iMac.ioreg EFI: http://www.mediafire.com/file/pnz1bemzkeiprib/EFI.zip To be honest, I would be more than happy to donate again if we could get this sound card to work. Thank you! I have linked here both my Clover EFI file and my current IOREG. Edit: this might also help: http://www.mediafire.com/view/ci8j95530is0ggu/Screen%20Shot%202017-09-28%20at%2022.16.52.png Link to comment Share on other sites More sharing options...
Blacky Posted September 30, 2017 Share Posted September 30, 2017 After some work this is my current situation. Got HDMI sound working via https://github.com/toleda/audio_hdmi_amd-nvidia/tree/master/ssdt_hdmi-nvidia Problem is, if I try your patch for ALZAtoHDEF or Toleda's for ALZA to HDEF, the system hangs at boot indefinitely. Either patch won't get my audio card to be recognised by macOS unfortunately. Here is an example: https://www.tonymacx86.com/attachments/img_20170929_005838-jpg.281629/ I have two options to get the system to boot right now: - Not use any ALZAtoHDEF patch and use Toleda HDMI fix => HDMI sound working. - Use ALZAtoHDEF and not use HDMI patch => no audio device Link to comment Share on other sites More sharing options...
Naundob Posted September 30, 2017 Share Posted September 30, 2017 Any solution for high sierra ? I wonder if you did the 10.13 update in the meantime. I'm rather shy to do it right now. It took me a while to get there where I am with Mr. Apfels great support. Don't wanne mess it all up and start from scratch. Link to comment Share on other sites More sharing options...
wern apfel Posted October 1, 2017 Author Share Posted October 1, 2017 After some work this is my current situation. Got HDMI sound working via https://github.com/toleda/audio_hdmi_amd-nvidia/tree/master/ssdt_hdmi-nvidia Problem is, if I try your patch for ALZAtoHDEF or Toleda's for ALZA to HDEF, the system hangs at boot indefinitely. Either patch won't get my audio card to be recognised by macOS unfortunately. Here is an example: https://www.tonymacx86.com/attachments/img_20170929_005838-jpg.281629/ I have two options to get the system to boot right now: - Not use any ALZAtoHDEF patch and use Toleda HDMI fix => HDMI sound working. - Use ALZAtoHDEF and not use HDMI patch => no audio device You can use the HDMI SSDT it will probably not affect the HDEF device. For the ALZA to HDEF patch, you can use your preferred method, look at the IOReg if the device name is "HDEF" the patch is working. I think your issue is the HDAController, which is not supported natively by the driver. Here you said that the patch is working, try it again. Normally the AppleALC should do it for you but it seems that there are two patches for your controller that are likely to interfere. I'll upload later a kext with only one patch for your controller. PS: Please use IORegistryExpolrer 2.1 which makes smaller files, and the content is sorted by name. I wonder if you did the 10.13 update in the meantime. I'm rather shy to do it right now. It took me a while to get there where I am with Mr. Apfels great support. Don't wanne mess it all up and start from scratch. I've used HighSierra since the first DP with layout-id 0, which doesn't need the CodecCommander.kext where only rear line-out and rear HP is working. A few days ago i've updated my working Sierra install without any issues, except that we need to move the CodecCommander to /L/E. The CA0132Tool also needs an update. 1 Link to comment Share on other sites More sharing options...
Blacky Posted October 1, 2017 Share Posted October 1, 2017 You can use the HDMI SSDT it will probably not affect the HDEF device. For the ALZA to HDEF patch, you can use your preferred method, look at the IOReg if the device name is "HDEF" the patch is working. I think your issue is the HDAController, which is not supported natively by the driver. Here you said that the patch is working, try it again. Normally the AppleALC should do it for you but it seems that there are two patches for your controller that are likely to interfere. I'll upload later a kext with only one patch for your controller. PS: Please use IORegistryExpolrer 2.1 which makes smaller files, and the content is sorted by name. Thank you wern ! In the mean time I have done a lot more tinkering with Clover , since I suspected that the inability to boot with both HDEF and HDAU on, might be related to something else. So I added: - Drop DMAR table - DROP SSDT Cpu0lst table - DROP SSDT CpuPm table - some cpu kernel patches Now I enabled again the DSDT patch 414c5a41 to 48444546 + the Kernel patch you mentioned a08c to 208d , and this time everything worked! Yuhu! Afterwards I disabled the kernel patch a08c to 208d and the system still booted and sound is still on. Would there be any sound quality difference between having this kernel patch on and off? What would you think? Is there any way to check? Also I have this while booting: CodecCommander: no attempt to hook IOAudioDevice due to codec profile Disable flag. Any other tips that you might have are welcomed. Thank you! Link to comment Share on other sites More sharing options...
wern apfel Posted October 1, 2017 Author Share Posted October 1, 2017 Now I enabled again the DSDT patch 414c5a41 to 48444546 + the Kernel patch you mentioned a08c to 208d , and this time everything worked! Yuhu! Congratulation! Afterwards I disabled the kernel patch a08c to 208d and the system still booted and sound is still on. That means that AppleALC has done it's job. Would there be any sound quality difference between having this kernel patch on and off? What would you think? Is there any way to check? The clover patch does the same as AppleALC, if it works without the patch, you can remove it, there are no differences. Also I have this while booting: CodecCommander: no attempt to hook IOAudioDevice due to codec profile Disable flag. This means that CodecCommander is disabled for HDMI (HDAU device). If the front headphones work with layout-id 5 or 6, the CodecCommander works as expected. 1 Link to comment Share on other sites More sharing options...
Recommended Posts