Jump to content

Creative CA0132 (G1.Sniper M3) patch for AppleHDA or VoodooHDA


wern apfel
 Share

801 posts in this topic

Recommended Posts

7 hours ago, abdouoi said:

Hello,

I wonder if I'm the only one having this weird issue: sometimes when I plug the charger, there is a noise coming from the speaker and I have to close the lid so that the computer goes to sleep to make the noise stop. It never happened before High Sierra

Move CodecCommander to /L/E

Link to comment
Share on other sites

On 2/22/2018 at 11:07 PM, wern apfel said:

CodecCommander is not working properly. Copy and paste this commands into the Terminal.

 

sudo chmod -R 755 /Library/Extensions/CodecCommander.kext

sudo chown -R root:wheel /Library/Extensions/CodecCommander.kext

sudo kextcache -i /

 

You should see something like: Kext with invalid signature allowed.

I am so sorry for keeping quiet after a long time. It seemed some forum problem that lose almost comment in this topic. Today I visit this thread to find a hope and find that the data is back.
I followed your instruction and now it can detect 2nd headphone jack since OS start up. There is one more problem that the mic from 2nd headphone jack, because this is a combo jack for both headphone and micro.

Link to comment
Share on other sites

13 hours ago, 064852029 said:

I am so sorry for keeping quiet after a long time. It seemed some forum problem that lose almost comment in this topic. Today I visit this thread to find a hope and find that the data is back.
I followed your instruction and now it can detect 2nd headphone jack since OS start up. There is one more problem that the mic from 2nd headphone jack, because this is a combo jack for both headphone and micro.

Did you select line-in in the preference pane? Is so, try the switcher from the first post an see if it works if you choose the front microphone.

Link to comment
Share on other sites

  • 1 month later...
23 hours ago, MikeSantos said:

Hi...

 

 

What about Mojave and the audio chip CA0132.

Would we have to change the CodecCommander because the new version of MacOs?

 

 

thanks

If you use layout 4, 5 or 6, it works as before.

  • Like 1
Link to comment
Share on other sites

On 6/10/2018 at 11:29 AM, MikeSantos said:

Great

 

 

thanks

I forgot to mention that you need to use the boot argument -alcbeta and -lilubeta or -lilubetall for all Lilu plugins.

 

On 6/10/2018 at 3:42 PM, nmano said:

Thanks

@wern apfel

10.14 Beta 18A293u

 LayoutID = 5

Screen Shot 2018-06-10 at 9.41.44 a.m..png

AppleHDA.kext.zip

AppleALC works as before with layout-id 5, use the boot arguments

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
On 6/20/2018 at 2:13 PM, MikeSantos said:

 

 

Ok, yes its truth......thanks.

 

 

Just one dude:

 

AppleAlc.kext is prepared to ca0132, why it is necessary to use a special Codeccomander.kext to make it works?

 

 

Thanks 

 

 

 

CodecCommander is needed for multichannel and the front headphone jack. If you use only line-out and the rear headphone jack, try layout-id 1 it should work without CodecCommander.

Link to comment
Share on other sites

  • 1 month later...
On 7/29/2018 at 6:41 AM, abdouoi said:

@wern apfel the issue is still there

Do you use CodecCommander from the first post? If it happens again, please try the switcher from the attachment to see if the noise stops.

On 7/30/2018 at 7:42 PM, MikeSantos said:

Hi


I have always had this issue: no rear jack headphone sound output when the system wake up. Line and mic works flawlessly.


Is there something I could do?

 

 

Thanks

Does the switcher from the attachment activate it again?

CA0132Switcher.zip

Link to comment
Share on other sites

  • 2 weeks later...
16 hours ago, MikeSantos said:

Hi,

Normally I use layout-id 4. I have used codecCommander in S/L/E since always. But now I changed it to L/E as you said.

 

Today I had to shut down the hack 3 times to get audio outputs in panel. Sometimes none and 2 others.


But ALWAYS after wake, I lost the sound output from headphones.

On the rear or front headphone jack?

I do not use AppleALC, but the same layout as layout-id 4 and it should work with the switcher. I guess you use a different CodecCommander, try this one.

CodecCommander.kext.zip

Link to comment
Share on other sites

On 8/21/2018 at 11:09 PM, MikeSantos said:

 

 

Hi,

 

Rear headphone. The mic, and line(after disconnect the HP jack) works flawlessly after wake my hack.

 

I have try with you new CodecCommander.kext and the switcher but no sound for rear HP after wake.( same issue)

 

It is very weird. I think I am the only one with this issue :(

 

Is there something more that I could do?

 

 

Thanks a lot..!!! 

Copy hda-verb to /usr/local/bin and drag the script to the terminal, show me the output before and after sleep.

dump.zip

Link to comment
Share on other sites

On 3/17/2018 at 10:03 AM, wern apfel said:

Ok, so you want to use AppleALC. Download the latest release where Lilu.kext is mandatory, copy both files to the clover/kexts/Other folder. Also delete the /Library/Extensions/realtekALC.kext and copy CodecCommanderkext to this folder and repair permissions. Then you can try layout-id 4,5,6 with layout-id 4 you can use this little App to switch to headphones or speakers.

If you have not already done so, pack the ioreg file as a zip file. I think only images and zip files can be uploaded.

There are 25 posts per page, 445 should not be on page 17 + 20 posts?

Dear Wern Apfel,

 

it took some time, but I am back. I was a little reluctant to use a foreign dsdt, but finally decided to try yours. Before I did so, I tried to rescue the only important data (a Photo mediathek) from this hack. But the time to copy that file to an external drive was always to short until the random freeze kicked in. Just by pure luck I found out, that, if I reseted my bios settings, I could prolong the time until the freeze occured. So I was able to rescue that file. Copying it, a message popped up, that my system was due for a minor update to 10.13.6. Well, there was nothing to loose and I did so. What shall I say? Full success (ATI Radeon RX 580 ooB, Messages runs like a charm etc.)! No freezes anymore! 

So I downloaded the new postinstallation tool (which must not be named) for 10.13.6. With that tool I installed Apple ALC. Manually I did all the steps in your quoted post. But I was not able to find out, how to "try out layout-id 4,5,6" and your little App did not start.

So I checked, where the tool which must not be named is saving the AppleALC and Lilu.kext. Well, it is not Clover! Actually the EFIMounter was not able to find any EFI at my drives (one SATA M2 with Mac OS and one SATA with SuseLinux). Apple ALC and Lilu.kext I can find in /Library/Extensions/. I was able to find a folder "EFI-Backups" with 3 sub-folders "r46XX" with "EFI/kexts/other"-subsubsubsub-folders inside. Any of these "other"-folders had only a fake-SMC-file inside... Does that mean anything to you?

Is it possible to adjust your tool to the different location? Can you help, please?

The ioreg should be in the attachement...

 

Thanks in advance! - Gichin

 

My build: GA-Z170X Gaming 7, i7-6700, Ballistix Sport RAM 32GB, Sapphire Pulse RX 580, Broadcom-WiFi, Phanteks Eclipse P400S

 

 

ioreg_20180823.zip

System.png

Edited by madicineman
Link to comment
Share on other sites

On 8/24/2018 at 11:14 AM, madicineman said:

Dear Wern Apfel,

 

it took some time, but I am back. I was a little reluctant to use a foreign dsdt, but finally decided to try yours. Before I did so, I tried to rescue the only important data (a Photo mediathek) from this hack. But the time to copy that file to an external drive was always to short until the random freeze kicked in. Just by pure luck I found out, that, if I reseted my bios settings, I could prolong the time until the freeze occured. So I was able to rescue that file. Copying it, a message popped up, that my system was due for a minor update to 10.13.6. Well, there was nothing to loose and I did so. What shall I say? Full success (ATI Radeon RX 580 ooB, Messages runs like a charm etc.)! No freezes anymore! 

So I downloaded the new postinstallation tool (which must not be named) for 10.13.6. With that tool I installed Apple ALC. Manually I did all the steps in your quoted post. But I was not able to find out, how to "try out layout-id 4,5,6" and your little App did not start.

So I checked, where the tool which must not be named is saving the AppleALC and Lilu.kext. Well, it is not Clover! Actually the EFIMounter was not able to find any EFI at my drives (one SATA M2 with Mac OS and one SATA with SuseLinux). Apple ALC and Lilu.kext I can find in /Library/Extensions/. I was able to find a folder "EFI-Backups" with 3 sub-folders "r46XX" with "EFI/kexts/other"-subsubsubsub-folders inside. Any of these "other"-folders had only a fake-SMC-file inside... Does that mean anything to you?

Is it possible to adjust your tool to the different location? Can you help, please?

The ioreg should be in the attachement...

 

Thanks in advance! - Gichin

 

My build: GA-Z170X Gaming 7, i7-6700, Ballistix Sport RAM 32GB, Sapphire Pulse RX 580, Broadcom-WiFi, Phanteks Eclipse P400S

 

 

ioreg_20180823.zip

System.png

AppleALC works, you should see some devices in the system preferences, but CodecCommander is missing. Install CodecCommander to /L/E repair permissions and rebuild the cache, then it should work, the switcher too. 

If you want to try the DSDT, rename it and add it into the Clover/ACPI/patched folder and choose it from the clover menu, if it works as it should, replace the old one.

Since 10.13.6 the EFI mounter tools need admin privileges, so use an updated version.

Link to comment
Share on other sites

On 8/26/2018 at 1:21 PM, wern apfel said:

AppleALC works, you should see some devices in the system preferences, but CodecCommander is missing. Install CodecCommander to /L/E repair permissions and rebuild the cache, then it should work, the switcher too. 

If you want to try the DSDT, rename it and add it into the Clover/ACPI/patched folder and choose it from the clover menu, if it works as it should, replace the old one.

Since 10.13.6 the EFI mounter tools need admin privileges, so use an updated version.

Dear Wern Apfel,

 

thank you very much for your quick answer. And I am one step further. Here is what I did:

1) I checked for the Codec Commander. And it was already installed in /L/E with permissions "wide open" (see picture). Can I do something beyond that? 

2) I learnt, how to rebuild a cache (I hope) and cleaned it with "DiskCleaner".

3) I tried to open CA0132Switcher but nothing happened neither with direct click nor with right mouse click and "Open" in the menu... I am kind of clueless, what is my failure here?

4) Then I was switching between the two headphone-connectors with now success. In a moment of silence due to my frustration I could hear something very faintly. So tuned up the system volume and the hardware-volume of my connected old Cambridge Soundworks DTT 2200 analog 5.1-Soundsystem to the maximum. 

5) I could hear music and, no, it was not in my head...

 

But I can barely hear it. The music is only at front speakers (left and right, but not at center) and the Subwoofer. Nothing at the rear speakers. But the music is kind of distorted (especially voices) and very faint.

 

The headphones are still not working in neither position. No HDMI audio.

 

Yes, System Preferences shows me headphones, digital audio output and my Apple TV in the next room (see picture 2).

 

Do you have any suggestions? Can we speak directly? Telephone?

 

I appreciate your help very much.

 

Thank you again!

 

Gichin

 

 

 

screenshot_CodecCommander_20180827.png

screenshotSystem_Preferences_20180827.png

Edited by madicineman
Link to comment
Share on other sites

On 8/26/2018 at 1:21 PM, wern apfel said:

AppleALC works, you should see some devices in the system preferences, but CodecCommander is missing. Install CodecCommander to /L/E repair permissions and rebuild the cache, then it should work, the switcher too. 

If you want to try the DSDT, rename it and add it into the Clover/ACPI/patched folder and choose it from the clover menu, if it works as it should, replace the old one.

Since 10.13.6 the EFI mounter tools need admin privileges, so use an updated version.

Wow, I got the CA0132Switcher running. Sorry, I did not recognized that it was a package...

Here is the output:

 

screenshotCA0132Switcher_20180827.png

Edited by madicineman
Link to comment
Share on other sites

1 hour ago, madicineman said:

Wow, I got the CA0132Switcher running. Sorry, I did not recognized that it was a package...

Here is the output:

 

screenshotCA0132Switcher_20180827.png

So, I got the CodecCommander in the right place with all the permissions he should get, but the Switch can´t locate him... What shall I do?

 

Thanks in advance for any suggestions... - Gichin

Link to comment
Share on other sites

Enter the following commands to the terminal window to repair the permissions.

 

sudo chmod -R 755 /Library/Extensions/CodecCommander.kext && sudo chown -R root:wheel /Library/Extensions/CodecCommander.kext

 

and then

 

sudo kextcache -i /

 

You should see something like: not signed but allowed.

 

When you start the switcher, you will see a speaker icon in the menu bar where you can change from speakers to headphones. All Apple apps are folders with this type of content.

  • Thanks 1
Link to comment
Share on other sites

On 8/28/2018 at 5:15 PM, wern apfel said:

Enter the following commands to the terminal window to repair the permissions.

 

sudo chmod -R 755 /Library/Extensions/CodecCommander.kext && sudo chown -R root:wheel /Library/Extensions/CodecCommander.kext

 

and then

 

sudo kextcache -i /

 

You should see something like: not signed but allowed.

 

When you start the switcher, you will see a speaker icon in the menu bar where you can change from speakers to headphones. All Apple apps are folders with this type of content.

Dear Wern Apfel,

 

thank you again for the new answer. I did what you said: The result is in the screenshot as attachment. This time the Switcher worked to the point, where I could switch between "Headphones", "Loudspeakers" and "Fake Surround". But whatever I clicked, I only got blurred and faint music from 2 of the 5 loudspeakers. No sound via headphones neither front nor back. The menu showed two further items: "Microphone front" and "Microphone back". But a click did not make a selection of one of the two despite a connected microphone.

 

So for the meantime I had a new intermediate possibility: I got my new LG monitor yesterday with Bluetooth and a quite good sound. ;) See the picture... But nevertheless I am eager to get that internal sound working. So appreciate more of your input...

 

Thank you so much!

 

Gichin

 

Update: After a reboot it changed a lot: Now I got clear sound from 2 of 5 speakers (+"ump!" from the subwoofer) but with some background noise like jingle bells. I have the speakers with the Switcher switched to "headphones". All other options are switching off the sound of the speakers, but no sound from the headphones in the front-plug in. The option "loudspeakers" switches to the headphones in the back (but very faint sound)

screenshot_Terminal_20180829.png

IMG_1962.JPG

Edited by madicineman
Link to comment
Share on other sites

23 hours ago, MikeSantos said:

I have copied the output and uploaded with TextEdit, it is ok?

 

That's ok, but it's the dump of your HDMI audio device which CodecCommander should not recognise. This is the reason why it does not work properly.

Please upload an ioreg dump.

 

1 hour ago, madicineman said:

Update: After a reboot it changed a lot: Now I got clear sound from 2 of 5 speakers (+"ump!" from the subwoofer) but with some background noise like jingle bells. I have the speakers with the Switcher switched to "headphones". All other options are switching off the sound of the speakers, but no sound from the headphones in the front-plug in. The option "loudspeakers" switches to the headphones in the back (but very faint sound)

Layout-id 1 is for Alienware laptops without multichannel and front headphone, change it to 4. Or try the DSDT I provided, where the layout-id is already set to 4.

Link to comment
Share on other sites

42 minutes ago, wern apfel said:

 

That's ok, but it's the dump of your HDMI audio device which CodecCommander should not recognise. This is the reason why it does not work properly.

Please upload an ioreg dump.

 

Layout-id 1 is for Alienware laptops without multichannel and front headphone, change it to 4. Or try the DSDT I provided, where the layout-id is already set to 4.

Thanks a lot for your very quick response! The ioreg.txt is attached.

I don´t know if this is important: My super-old previous monitor was connected with HDMI, but HDMI-audio never worked. The new monitor has all kinds of connectivity, but due to shortness of the inclosed cables (USB-C, HDMI) I have chosen the Display-port to connect the monitor to the "iHac". Music is transferred to the monitor via Bluetooth.

Because I am a newbe in Hackintosh I am still reluctant to use another dsdt, because I still do not know, how to replace the current one and to switch back in case the new one freezes the system... I hope you can understand this. It would be some sort of last resort for me to try a dsdt. Can you teach me to change the Layout-id´s instead?

 

Thank you so much again!

 

Gichin

Gichin.ioreg.txt

Link to comment
Share on other sites

On 8/29/2018 at 8:47 PM, madicineman said:

Thanks a lot for your very quick response! The ioreg.txt is attached.

I don´t know if this is important: My super-old previous monitor was connected with HDMI, but HDMI-audio never worked. The new monitor has all kinds of connectivity, but due to shortness of the inclosed cables (USB-C, HDMI) I have chosen the Display-port to connect the monitor to the "iHac". Music is transferred to the monitor via Bluetooth.

Because I am a newbe in Hackintosh I am still reluctant to use another dsdt, because I still do not know, how to replace the current one and to switch back in case the new one freezes the system... I hope you can understand this. It would be some sort of last resort for me to try a dsdt. Can you teach me to change the Layout-id´s instead?

 

Thank you so much again!

 

Gichin

Gichin.ioreg.txt

HDMI/DP probably will not work because you're using a modified AppleHDA.kext, so restore it.

The layout-id can also be changed via the config.plist. Use CloverConfigurator and change the value as in the following picture. If nothing happens, you also use an SSDT that sets the layout-id.
 
Regarding the DSDT, use an updated EFI mounter or CloverConfigurator to mount the EFI partition and add the provided DSDT you have previously renamed to the patched folder, restart and select the renamed DSDT via clover menu if the provided DSDT does not work do a restart and clover will use the old DSDT again.

 

For 5.1 you have to make an aggregate device with the Audio-MIDI-Setup tool, see picture.

Audio-MIDI-Setup.png

Configure Speakers.png

Link to comment
Share on other sites

23 hours ago, wern apfel said:

HDMI/DP probably will not work because you're using a modified AppleHDA.kext, so restore it.

The layout-id can also be changed via the config.plist. Use CloverConfigurator and change the value as in the following picture. If nothing happens, you also use an SSDT that sets the layout-id.
 
Regarding the DSDT, use an updated EFI mounter or CloverConfigurator to mount the EFI partition and add the provided DSDT you have previously renamed to the patched folder, restart and select the renamed DSDT via clover menu if the provided DSDT does not work do a restart and clover will use the old DSDT again.

 

For 5.1 you have to make an aggregate device with the Audio-MIDI-Setup tool, see picture.

Audio-MIDI-Setup.png

Configure Speakers.png

Wow, you are my man! The clover configurator is so great! So I got rid of a lot of messed up stuff I installed with the postinstallation tool which must not be named. Thanks for that hint!

I some sort of fixed the AppleHDA.kext by deleting old ALC.kexts who somehow were installed by me in former trials at the beginning of my hackintosh journey.

With that the sound was crystal clear. Than I did extensive testing.

Before I use the MIDI Setup tool I want to share my findings. It might of help for others: 

Audio_GA_Z170X_Gaming7.png

Edited by madicineman
  • Like 1
Link to comment
Share on other sites

On 8/31/2018 at 5:21 PM, wern apfel said:

HDMI/DP probably will not work because you're using a modified AppleHDA.kext, so restore it.

The layout-id can also be changed via the config.plist. Use CloverConfigurator and change the value as in the following picture. If nothing happens, you also use an SSDT that sets the layout-id.
 
Regarding the DSDT, use an updated EFI mounter or CloverConfigurator to mount the EFI partition and add the provided DSDT you have previously renamed to the patched folder, restart and select the renamed DSDT via clover menu if the provided DSDT does not work do a restart and clover will use the old DSDT again.

 

For 5.1 you have to make an aggregate device with the Audio-MIDI-Setup tool, see picture.

Audio-MIDI-Setup.png

Configure Speakers.png

Well my Audio-MIDI Setup tool looked a lot different from yours. It might be, that the old analoge DTT 2200 5.1 Surround is not detected as your system. But I finally succeeded with some kind of "Fake 5.1-Surround". Here is what I did:

From my chart I looked for a clover configuration for "Audio inject", where all channels are optional without the CA0132Switcher, because I looked for a solution which is there automatically after starting the system. This layout-id (=inject) is "4".

After reboot I opened "Audio-Midi".

There I created a "Device with several outputs" and clicked all "Lines out".

In "Configure speakers" I have chosen "Surround 2.0" (this is the maximum of my choices). 

After that all 6 speakers of the old 5.1 system are getting sound. The rest is finetuning with the DTT 2200 itself. I am pretty sure, it is Fake-Surround only, but I am happy.

 

Big thanks to you, Wern Apfel. Without you I would not be able to get where I am now. Thanks!

 

Gichin

screenshot_AudioMIDI_20180901.png

Edited by madicineman
Link to comment
Share on other sites

 Share

×
×
  • Create New...