Jump to content

Patched AppleHDA.kext for codecs IDT 92HD81B1X5, 92HD91BXX, 92HD87B1/3, 92HD87B2/4, 92HD87XX etc.


Micky1979
 Share

203 posts in this topic

Recommended Posts

Congretz !!!! :thumbsup_anim:

Would you share your AppleHDA.kexts here, wanna test :P

Thanks

Palash

Sure, here is the link for my patched AppleHDA and other files as you might need!

www.dropbox.com/s/b6l4f9l9svwe01d/AppleHDA.kext.zip

 

I have scanned this forum for such a long time, :) I guess its time to give back some good stuff!

Happy to help! :angel_not:

 

I have noticed some really good stuff after moving over from VoodooHDA to AppleHDA.kext (patched of course) and DSDT edit that now

1) core audio service/process consumes less CPU now compared to what it used when using VoodooHDA

2) Occasional kernel panics caused due to VoodooHDA are gone

3) It now remembers separate volume levels for both Speaker and Headphones so that when I switch, volume level changes accordingly.

 

Just a last query though, Speaker sound seems to be a bit less than what it used to be. Can I increase the boost in AppleHDA layout12.xml so that I get more volume?? Will it be safe??

Link to comment
Share on other sites

  • 3 weeks later...

Sure, here is the link for my patched AppleHDA and other files as you might need!

www.dropbox.com/s/b6l4f9l9svwe01d/AppleHDA.kext.zip

 

I have scanned this forum for such a long time, :) I guess its time to give back some good stuff!

Happy to help! :angel_not:

 

I have noticed some really good stuff after moving over from VoodooHDA to AppleHDA.kext (patched of course) and DSDT edit that now

1) core audio service/process consumes less CPU now compared to what it used when using VoodooHDA

2) Occasional kernel panics caused due to VoodooHDA are gone

3) It now remembers separate volume levels for both Speaker and Headphones so that when I switch, volume level changes accordingly.

 

Just a last query though, Speaker sound seems to be a bit less than what it used to be. Can I increase the boost in AppleHDA layout12.xml so that I get more volume?? Will it be safe??

Hi, i tried to have applehda working on my hp, but without success. My pc is similar to your, then i tried your kext, and patched dsdt, but don't works. Can you tell me how did you it? Thanks
Link to comment
Share on other sites

Hi guys.

 

First: I apologize for my English.

Second: Sorry for my ignorance, I'm not a programmer or similar lake.

Third: @Micky1979 Thanks for this guide.

 

OK see my work so far.

 

I followed the guide and managed to complete the vast majority.

 

The first problem I had was:

When creating the file verbit.txt gave me error "AFG Function Id: 0x1 (unsol 1)"

For this reason, I have no clear view and modify my Verbit.

What I did in the patch layout12.txt file was copied my Verbit chain complete. Extracted from the W7 regedit and modified by Diabolik's site Pastebin.

 

The other problem that I have is:

I can not understand how to patch the AppleHDA binary

With @bcc9 script (excellent work also) patch-hda.

My VendorID (0x111d76d5 | | Codec: IDT 92HD81B1C5) is not included in the package of patches and I can not patch it, or did not understand how to use it properly.

 

Attached in the zip file all the info I think they can serve to explain how I should continue working to patch my sound card.

File Details:

dsdt-std.aml (unchanged)

dsdt.aml (currently in use)

Folder "codecgrap" (Folder "codecgrap" with all the files and information in this guide)

AppleHDA-std.kext (original file taken from the clean install OSX 10.8.3)

AppleHDA.kext (and modified the info.plist file | layout12.xml.zlib | Plataform.xml.zlib)

layout12.xml

Plataform.xml

system.log.txt (data startup)

Folder Miscellaneous (screenshots and more)

 

From already thank you very much for your time and dedication to answer this post.

 

Best regards.

IDT 92HD81B1C5.zip

  • Like 1
Link to comment
Share on other sites

Hi guys.

 

First: I apologize for my English.

Second: Sorry for my ignorance, I'm not a programmer or similar lake.

Third: @Micky1979 Thanks for this guide.

Please wait, do not go to bed :smoke: , I've just patched your AppleHDA.kext. Wait a few minutes

 

EDIT

 

try this: AppleHDA.kext.zip

patched DSDT with 0 Error, 0 Warning, 0 Remarks and fixed HDEF section : DSDT.aml.zip

Let me know!

 

Micky

Link to comment
Share on other sites

Dear @Micky1979,

 

Thanks for answering my questions.

Probe your modified files.

Apparently everything works perfectly! :)

 

Deputy image file, with the information of the preference pane.

 

I tried everything but the MicExt, but otherwise all OK!

 

The test sound after the laptop sleep, if not done correctly ..

Because the laptop is put into sleep state, but starts immediately, not that!

The state of sleep take it correctly, but starts immediately.

If you know something about this subject I would appreciate me some info, as a reference forum.

 

Turning to the sound, when you have time, I'd like to report what I was doing wrong. Do not know if I will understand but, I always like to learn as much as possible.

 

New mind appreciate your help.

 

Sincerely.

MaCaCoLoCo

post-289777-0-39992800-1366597367_thumb.jpg

Link to comment
Share on other sites

Dear @Micky1979

 

I had a timepo to review changes you made to my files.

From what I see the biggest problem I had in the info.plist, with PinConfig code insert them.

 

Below detail the changes I saw in the archives, so you tell me if there are just those or something that can not see.

 

AppleHDA.kext/Contents/MacOS/AppleHDA

I think it's the same file that happened, or at least has the ID of my plate d5761d11.

 

AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist

Which program do you use to change the encoding of the verbs?

 

 

<key>HDAConfigDefault</key>
<array>
<dict>
 <key>Codec</key>
 <string>IDT 92HD81B1C5</string>
 <key>CodecID</key>
 <integer>287143637</integer>
 <key>ConfigData</key>
 <data>ALccEAC3HRAAtx4hALcfAQDHHCAAxx0QAMceoQDHHwEA1xwwANcdAADXHhcA1x+QARccYAEXHQABFx6mARcfkA==</data>
 <key>FuncGroup</key>
 <integer>1</integer>
 <key>LayoutID</key>
 <integer>12</integer>
</dict>
</array>

 

 

 

AppleHDA.kext/Contents/Resources/layout12.xml.zlib

This code is added what would be the MICEX (as LineIn, because with the code shown in the verbs).

We must add also an <key> called LineIn, like other created for Headphone, Mic, IntSpeaker?

 

 

<key>CodecID</key>
<array>
<integer>287143637</integer>
</array>
<key>Headphone</key>
<dict>...</dict>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
</array>
<key>IntSpeaker</key>
<dict>...</dict>
<key>Mic</key>
<dict>...</dict>
<key>Outputs</key>
<array>
<string>Headphone</string>
<string>IntSpeaker</string>
</array>

 

 

 

AppleHDA.kext/Contents/Resources/Platforms.xml.zlib

In this file I see bad nodes ID you selected for the Mic.

To add the MICEX (LineIn), should use the same I use for the Mic?

Agrege also the info to configure the MICEX.

 

 

<key>PathMaps</key>
<array>
<dict>
<key>PathMap</key>
<array>
<array>
 <array>
 <array>
 <dict>
 <key>NodeID</key>
 <integer>22</integer>
 <key>ProcessingState</key>
 <true/>
 </dict>
 <dict>
 <key>Amp</key>
 <dict>...</dict>
 <key>NodeID</key>
 <integer>24</integer>
 </dict>
 <dict>
 <key>Boost</key>
 <integer>1</integer>
 <key>NodeID</key>
 <integer>17</integer>
 </dict>
 </array>
 </array>
</array>
<array>
 <array>
 <array>
 <dict>
 <key>NodeID</key>
 <integer>22</integer>
 <key>ProcessingState</key>
 <true/>
 </dict>
 <dict>
 <key>Amp</key>
 <dict>...</dict>
 <key>NodeID</key>
 <integer>24</integer>
 </dict>
 <dict>
 <key>Boost</key>
 <integer>1</integer>
 <key>NodeID</key>
 <integer>12</integer>
 </dict>
 </array>
 </array>
</array>
<array>
 <array>
 <array>
 <dict>
 <key>NodeID</key>
 <integer>11</integer>
 </dict>
 <dict>
 <key>Amp</key>
 <dict>...</dict>
 <key>NodeID</key>
 <integer>19</integer>
 </dict>
 </array>
 </array>
 <array>
 <array>
 <dict>
 <key>NodeID</key>
 <integer>13</integer>
 </dict>
 <dict>
 <key>Amp</key>
 <dict>...</dict>
 <key>NodeID</key>
 <integer>19</integer>
 </dict>
 </array>
 </array>
</array>
</array>
<key>PathMapID</key>
<integer>1</integer>
</dict>
</array>

 

 

 

Moreover, I was doing homework and I think the verb is like polishing the MICEX.

Deputy detail to know if I did well.

 

 

12 (MicExt)

00c71c20

Default Association: 2

Sequence: 0

 

00c71d10

Color: Black 1

Misc: Jack Detect Override 0

 

00c71ea1

Default Device: Mic In A

Connection Type: 1/8" stereo/mono 1

 

00c71f01 > fix to 02

Port Connectivity: 00

Location: 00 0010

Port has a jack - It is External - Front Panel Location

 

 

17 (MicIn)

01171c60

Default Association: 6

Sequence: 0

 

01171d00

Color: Unknown 0

Misc: Jack Detect Override 0

 

01171ea6

Default Device: Mic In A

Connection Type: Other Digital 6

 

01171f90

Port Connectivity: 10

Location: 01 0000

Built In Device - Internal - N/A

 

 

 

 

Thanks for your time and dedication.

I ask again sorry for my bad English.

 

Sincerely.

Link to comment
Share on other sites

I'm having a problems with this. My volume icon isn't synching correctly when I use the volume keys to set adjust it. So whenever I click on the audio icon, it always shows the volumes at max after I use the volume keys.

Same problem (IDT 92HD87B2/4). It looks like a driver bug. Temporary work around: use soundflowerbed.

 

Micky, do you experience that syncronization problem? Thank you!

Link to comment
Share on other sites

Sorry Micky, I tried to patch but did not I understand much. I tried a file already patched here from Chaitanya_cr8, and the strange thing is that it worked after a reboot, then no more! I wanted to ask, if I send you my files, can you send me the kext patched? Of course, if and when you have time. Thanks you very much!!

IDT 92HD81B1X5.zip

Link to comment
Share on other sites

  • 2 weeks later...

Hi, i tried to have applehda working on my hp, but without success. My pc is similar to your, then i tried your kext, and patched dsdt, but don't works. Can you tell me how did you it? Thanks

 

I just followed the guide to the word. The only step where I have done something other than said is I studied the Graph output from the steps and tried to figure out the correct combination for layout file. Luckily, I did that quite well and had working audio on Speaker and headphones with mic in only the second try.

 

If you can post all YOUR files (the codec graph extracted from your system and other such files that are system specific), I can help you.

 

If you look at the files I have posted, in codec_dump_dec.txt.svg, try to figure out the path that will connect input to output.

 

In my case,

Output = Jack for Headphones = Block 10

Intermediate processing Block = Block27

Input = Stereo Block = Block 23

 

Therefore, the path is 23 > 27 > 10

Edit your layout12.xml accordingly. Be careful here. Once you compare my graph and my xml, you change corresponding input blocks with your input block numbers, intermediate and output block numbers and so on.

Hope this helps and I am not confusing you! Here is a image representation for you.

Screenshot_04_05_13_2_58_AM.jpg

 

 

My sound control via Volume keys is not very effective.

It works but I would love to know about controlling the amount of volume step it does.

 

Any way (probably plist edit in some kext) to change this volume step Micky?? :worried_anim:

Link to comment
Share on other sites

My Volume Slider work great, but i can search to invalidate this setting.....

 

Micky

 

Mine shows volume sufficient variation only in last 4-5 steps. If I could get it change in reduced steps, it would be better suited as half of the slider remains useless now.

I am quite an audiophile so you can understand my situation! :yoji:

 

Great thread by the way, and great work from you Micky!

Link to comment
Share on other sites

Hi guys, my Volume Slider works perfectly. I could just see now what you're talking about, because I helped a friend build a Hackintosh, and the Volume Slider only worked for the first part, then became mute!

 

What I have done is to open System Preferences to see if the slider was synchronized with that of the top bar:

 

Volume slider.png

 

I opened a music file and I launched iTunes:

 

It is now perfectly synchronized, even after a reboot!

 

Try putting the slider to zero in System Preference, and increase with Volume Slider on the top bar.

...perhaps there is a need to synchronize

 

Micky

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

can you please patch an AppleHDA for my n5010.... I'm on 10.8.4...... I currently use pre-patched AppleHDA with HDAEnabler, it somehow works without mic.... but patching the dsdt patching doesn't work, maybe because HDEF doesn't show up in my DSDT when i extract it. I've attached files u might need. card0.txt is the codec dump.

card0.txt

pinconfig.txt

Link to comment
Share on other sites

I think it shows something like that shows up when i boot verbose but its a message from HDAEnabler.

 

btw... this is the pre-patched AppleHDA i'm using.

 

but HDAEnabler Alone can't get the job done so I un this shell script at logon. Without it i don't get audio.

cd /TempKexts;
sudo cp -rf VoodooHDA.kext /System/Library/Extensions/;
chmod -R 755 /System/Library/Extensions/VoodooHDA.kext;
sudo kextload /System/Library/Extensions/VoodooHDA.kext;
sudo kextunload /System/Library/Extensions/VoodooHDA.kext;
sudo rm -rf /System/Library/Extensions/VoodooHDA.kext;
exit;

I put VoodooHDA.kext in the TempKexts folder which I made.

Link to comment
Share on other sites

i Try to make/patch using this tutorial but I dont know how to input them on xml file and how to patch them..

 

maybe someone help me make platform & layout xml. thanks.

 

or maybe just point me how to next

 

post-230825-0-36076000-1372233144.png

 

ps: using deferent audio chipset

Link to comment
Share on other sites

I've tried this patched AppleHDA (see attached file) for my IDT92HD87B1/3 and it's works perfectly !!!    :thumbsup_anim:

 

P.S : this is not my work !!, is the work of TheEnthusiast

The original post is here (maybe you need registration) : http://www.osx86.net...do=file&id=3973

 

 

This is patched AppleHDA for IDT92HD87B1/3

- codec id: 111d76d1 (hex) ; 287143633 (decimal).

 

The menubar slider works, internal microphone with ambient noise reduction and internal speakers all work. HDMI requires patching of a separate kext, I might do this, but I don't need HDMI audio. External mic not tested, but should be easily enabled. Ideally, you want to do your own codec dump and get your own path map

 

Remove VoodooHDA from S/L/Extensions. Of course you need HDEF DSDT (layout 12) edit or some type of HDA enabler. Comment if it works or not.

 

AppleHDA (Full Working).kext.zip

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...