Jump to content

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


  • Please log in to reply
560 replies to this topic

#1
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

Here is a patched AppleHDA, but unfortunately no output volume control, both inputs have volume control.

btw. with Headphones the sound is very good.
 
Here is the kext (10.11.1) with working:
 
Line-Out
Headphone Rear (with amplifier)
Headphone Front (with amplifier)

S/PDIF-Out Rear (not tested)
 
Mic Rear
Line-In Rear
 
Not working:
Output volume control

 

If you don't use a dsdt and your audio device name @dsdt  is HDEF you don't need any edits, else set layout-id to 0

If you use voodooHDA and AppleHDAdisabler, remove those kexts

 

For X99 chipsets (maybe others) you probably need Toleda's AppleHDAcontrollerpatch

 

Attached File  AppleHDA.CA0132.kext.zip   1.61MB   410 downloads

 

Edit:

I've made some progress, here a few test files:

 

for 5.1 sound try this 5.1 no volume control

for 5.1 orange rear jack instead of HP frontAttached File  AppleHDA.kext_orange_rear.zip   1.64MB   39 downloads

for volume control, only rear LineOut and rear HP AppleHDA.kext_2CH.zip

If you have bad sound quality try this one AppleHDA.kext_2CH_s_quali.zip

 

Here one with volume control, with output @ green rear, black rear, orange rear, and green HP rear

AppleHDA.kext 6ch C/Sub no front HP.zip

 

Another one with volume control, with working: front HP, instead rear orange jack

AppleHDA.kext 10.11.4 front HP no C/Sub.zip

 

It seems, that the kexts from 10.11 doesn't work any longer @Sierra, so use this updated kexts:

AppleHDA.kext_10.12_front_HP.zip or AppleHDA.kext_10.12_C:Sub.zip

 

Since AppleALC is working fine with this codec i've not updated the kext any longer. Use the newest AppleALC instead, it contains the same resources.

The AppleALC kext needs the Lilu.kext to work properly!. Copy them to the Clover other folder.

For multichannel and front Headphones you also need the CodecCommander.kext, install it to /L/E and repair permissions

You can try different layout-IDs, here a detailed description by joevt.

If you want to switch to the headphones or front microphone try the CA0132Switcher.

 

 

 

If someone has found a data-sheet or similar for this codec, please share it, thanks

 

Some feedback would be usefull, thanks

 

Please don't add any patches that i've posted on this topic to your projects, when you ask people for donations, thank you.

 

 



#2
Andres ZeroCross

Andres ZeroCross

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 356 posts
  • Gender:Male
  • Location:Indonesia
  • Interests:Hackintosh

Can you give me information,, what binary that you patched??? :)

I need to use patch on the fly with clover



#3
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

Can you give me information,, what binary that you patched??? :)

I need to use patch on the fly with clover

<dict>
				<key>Find</key>
				<data>
				AIjsGg==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				EQACEQ==
				</data>
			</dict>
<dict>
				<key>Find</key>
				<data>
				dBmtFQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				EAACEQ==
				</data>
			</dict>


#4
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

I have no idea how you got this to work. I tried to copy your KEXT to my extensions folder, fixed permissions, but still I have no output devices detected..

What am I doing wrong ?



#5
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

have you changed the layout-id ?, if yes leave your HDEF section @dsdt untouched = layout-id 0, or change it to 0



#6
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

have you changed the layout-id ?, if yes leave your HDEF section @dsdt untouched = layout-id 0, or change it to 0

I have no touched the layout-id since the pinout is identical on all Gigabyte Mobos with the CA0132 .



#7
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

Ok. I've changed my SMBIO from 6.1 to 14.2 and now I get something from AppleHDA.

 

I get Line-Out, Microphone, Digital-Out but it says "The selected  device has no output control"

I also have Line-In which seems to be working fine.

 

Nvidia HDMI outputs are still not present.

 

BTW, this is what DCPI Manager reports: http://i67.tinypic.com/qq692w.png



#8
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

The system profiler should show you Audio-ID: 0

For HDMI you need dsdt HDAU patch

Attached File  sysproaudio.png   360.28KB   28 downloads



#9
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male
Thank you. I am fairly certain I can fix the HDMI issues on my own.

However for the CA0132, I need your help. It might be the case that my pinout is different then yours?

Anyway, I will check the System Profiler when I get the chance. Right now it's new year's eve and I am away. Happy New Year!

#10
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

Ok. So my System Profiler looks slightly different.

 

988znk.png



#11
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

I fixed the HDMI and all other issues with my system. Everything runs as it should, except for the sound.

 

So I've managed to get the latest codec_dump from Fedora 23, which is looks slightly better.

 

See below.

 

https://www.mediafir...b473ahvj/shared



#12
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

Your codec is almost the same, have you tried all the outputs ?, all green ports + front HP

This codec has an DSP controlled by widget 0x15 and 0x16, the Linux community also had issues with this codec, creative labs doesn't share their specs

I will upload another kext later with 3 outputs, but keep in mind there is no volume, balance control

 

Attached File  AppleHDA.kext.10.11.2.zip   1.61MB   34 downloads



#13
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

Hi! Thank you so much!

I am using your new Kext.

 

Now I have under output:

LineOut

Headphones

LineIn

DigitalOut

Samsung (it's my TV - HDMI)

 

Edit:

I just realised I had a residual Kext in Clover. I removed it and now I have:

 

Output:

LineOut (changes to Microphone when unplugged)

Headphones

LineOut

DigitalOut

Samsung (it's my TV - HDMI)

 

Input:

Internal Microphone

 

Unfortunately, it doesn’t matter what output I choose, iTunes or any other video/audio will not play at all (it remains paused). The only exception is the HDMI output obviously, which plays anything.

 

Maybe it’s something to do with my Clover Config.

 

I’ve tried this in Clove:

-> no FixHDA in Clover

-> no HDA check in DropOEM_DSM

-> no Audio inject

-> yes ResetHDA

 

result => only HDMI sound, no other output is visible

 

-> no FixHDA in Clover

-> yes HDA check in DropOEM_DSM

-> no Audio inject

-> yes ResetHDA

 

result => only HDMI sound, no other output is visible

 

-> yes FixHDA in Clover

-> yes HDA check in DropOEM_DSM

-> no Audio inject

-> yes ResetHDA

 

result => HDMI and all above mentioned outputs are visible, but they won’t play

 

-> yes FixHDA in Clover

-> no HDA check in DropOEM_DSM

-> no Audio inject

-> yes ResetHDA

 

result => HDMI and all above mentioned outputs are visible, but they won’t play

 

-> yes FixHDA in Clover

-> no HDA check in DropOEM_DSM

-> Detect Audio inject

-> no ResetHDA

 

result => HDMI and all above mentioned outputs are visible, but they won’t play

 

I’m out of ideas.

 

I am very grateful wern for all your support! it was more than I could have hoped for. I am thinking of trying to patch the AppleHDA on my own, but at this point, I have no clue how to do it, but at least I have the codec dump, which I know it's the first step.



#14
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

Output:

LineOut (changes to Microphone when unplugged)

Strange it should be Headphones

 

I also had this issue, you have to install the creative software under windows and switch from headphones to 5.1 once



#15
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

Strange it should be Headphones

 

I also had this issue, you have to install the creative software under windows and switch from headphones to 5.1 once

 

I just tried that, but had no affect. The port is reported as LineIn when plugged in, and headphones when unplugged.

At this point I feel I have no choice, but to do a complete clean install of OS X and see how that turns out.

 

Someone else with the same board claims VoodooHDA works without an issue, which is not the case for me:

http://www.insanelym...ess-waterdragon

 

I guess I must have messed something up.



#16
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

Thank you Blacky you're the only one who gives me feedback  :thumbsup_anim:

Have you tried this voodookext ? 

 

Attached File  VoodooHDA.kext.zip   154.95KB   43 downloads

 

 

Another one with working 5.1 Sound, Center/LFE  @HP (front green), unfortunately still no volume control

Please give me feedback!

 

Attached File  AppleHDA.kext_5.1.zip   1.61MB   132 downloads

 



#17
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

Ok, so using the info provided here http://www.insanelym...-waterdragon byiWanderer I got the computer to work with VoodooHDA , line-out is working, headphones and microphone is working. 

 

I deleted from Clover VoodooHDA and AppleHDADisabler and tried to get one of your AppleHDA kext to work. Unfortunately none of them worked. They get loaded and DPCI reports the correct codec for each audio device, but I have no outputs whatsoever. 

 

I think this is related to the DSDT I am now using thanx to iWanderer. 

 

Anyway, as far as I know AppleHDA has better sound quality that VoodooHDA (correct me if I am wrong), plus VoodooHDA has no 5.1 support. I will try to get iWanderer involved in this discussion, he seems to be a lot more knowledgeable than I am.



#18
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

If the SystemProfiler shows you Audio-ID: 0 and the AppleHDA.kext is @/S/L/E not clover folder it should work.

 

I've made some reverse engineering and volume control is working,  DSP is also possible  :yoji:

@Blacky, for me the Apple kext sounds better, especially with x-bass which is my favorite.



#19
Blacky

Blacky

    InsanelyMac Protégé

  • Donators
  • 90 posts
  • Gender:Male

you are absolutely right. It's Audio ID: 9 instead of Audio ID:0 . Trying to google to see how could fix this. Any help would be appreciated. 

 

EDIT: I fixed it.

So this is how it looks like: http://www.mediafire...at 21.14.45.png

These are my output: http://www.mediafire...at 21.15.29.png

 

Unfortunately none iTunes would still refuse to play anything. I don't understand what the problem is. It's like ... the sound card is there but the system refuses to use it. I wish I could know what is going on.



#20
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male
  • Location:Earth

For me it looks ok, is voodoohda working, volume control ?

Maybe an IRQ issue, can you upload a file saved with ioregistryexplorer ?







2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy