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

i dont have the original one anymore. where i can find it? i installed my notebook with vodoo and it dont have the applehda.kext anymore

 

 

EDIT: ok i have one from appstore os x installation. i will now try with pandora.

 

EDIT2: with pandora works but only when i delete AppleHPET.kext. how i can edit AplleHPET.kext?

Link to comment
Share on other sites

Ok, AppleHPET.kext should not be edited, but the dsdt in the HPET I assume you do not have a dsdt in the Extra folder, right?

 

If you can extract a vanilla dsdt (virgin, not edited) I can patch it for you..

-------

AppleHPET.kext non deve essere modificato, ma il dsdt nella sezione HPET. Se mi passi il dsdt vergine, quello originale e non patchato, posso modificarlo per te. Purtroppo non questa sera perché ho da fare, ma per domani sera ci provo...

Fammi sapere quale bios sta usando il tuo Notebook, se è uguale al mio, è uguale anche il dsdt...

 

 

Micky

Link to comment
Share on other sites

  • 2 months later...

Edit: Updated on Oct. 13th, 2013

   

    With the help from Mirone @Olavia.com, the IDT 92HD90BXX(111d76e7) could finally work, both the IntMic, IntSpeakers and Headphone are all OK.

    Share with you the kext :-)

AppleHDA.kext.zip

 

-----------------------------------------------------------------------------------------------------------------------------------------------

Hi, Micky1979:

    I am trying my best to modify the Original AppleHDA.kext to drive the IDT 92HD90BXX(111d76e7) from Dell Latitude E6320, and below is some output from me, unfortunately, I still couldn't make it happen, so maybe I need your guys help~~~

 

Part 1. Codec ConfigData from Codec_Dump.txt, and modify info.plist file in AppleHDA.kext\Plugin (Codec_Dump.txt pls refer to attached file)

codec_dump.txt

    Codec: IDT 92HD90BXX
    Address: 0
    Vendor Id: 0x111d76e7
    Normal Hex: 11 1d 76 e7
    Decimal: 287143655
    Hex Byte Flipped: e7 76 1d 11
a. Original Codec ConfigData
00A71C20 00A71D10 00A71EA1 00A71F03
00B71C1f 00B71D10 00B71E21 00B71F03
00C71CF0 00C71D00 00C71E00 00C71F40
00D71C10 00D71D01 00D71E17 00D71F90
00E71C50 00E71D10 00E71E01 00E71F23
00F71C2e 00F71D10 00F71EA1 00F71F23
01071CF3 01071D00 01071E00 01071F40
01171CF2 01171D00 01171E00 01171F40
01F71CF0 01F71D00 01F71E00 01F71F40
02071CF0 02071D00 02071E00 02071F40
b. Verb Data which Corrected by me
00A71C20 00A71D10 00A71EA1 00A71F03
00B71C10 00B71D10 00B71E21 00B71F03
00C71CF0 00C71D00 00C71E00 00C71F40
00D71C10 00D71D01 00D71E17 00D71F90
00E71C50 00E71D10 00E71E01 00E71F23
00F71C20 00F71D11 00F71EA0 00F71F20
01071CF3 01071D00 01071E00 01071F40
01171CF2 01171D00 01171E00 01171F40
01F71CF0 01F71D00 01F71E00 01F71F40
02071CF0 02071D00 02071E00 02071F40 00D70C02
Comments: I modified the Verb Data according to http://www.insanelymac.com/forum/topic/283754-patched-applehdakext-for-codecs-idt-92hd81b1x5-92hd91bxx-and-92hd87b24/, thanks Micky1979 :-) 

Then, I modified the AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext\info.plist as following steps:(Edit with Plist Editor Pro)

    a. Change "CodecID" to 287143655 in decimal(111d76e7 in hex)

    b. copy above Verb Data into "ConfigData" area.(164 bytes)

    c. Change "Function Group" as "1"

    d. Change "Layout ID" as "12"(Same with DSDT).

 

file info.plist, download link: https://dl.dropboxusercontent.com/u/6897343/Shared/Info.plist

(sorry, i couldn't upload file to this thread. so I use a dropbox link)

Info.plist.zip

 

Part2. Patch the AppleHDA Binary file in AppleHDA.kext/Contents/MacOS.

I used bcc9's Script to patch the AppleHDA Binary file.

I modified the script file "patch-hda-codecs.pl", added the 111d76e7, and to replace the 11d4198b.

{ name => 'IDT 76e7',        #aka 92HD90BXX
target_id => 0x111d76e7,
patch_id => 0x11d4198b        #ADI 1984B
},
Comments: thanks bcc9's great effort. :-) 

file Patched AppleHDA Binary file, download link: 

https://dl.dropboxusercontent.com/u/6897343/Shared/AppleHDA

(sorry, i couldn't upload file to this thread. so I use a dropbox link)

Patched AppleHDA Binary.zip

 

Part3. Modified Layout12.xml.

I use zlib.pl (thanks RevoGirl R.I.P) to decompress the zlib file to xml, after modified, compress back.

 

     a. Change "CodecID" to 287143655 in decimal(111d76e7 in hex)

     b. Inputs                         Outputs

                    0: LineIn                       0:HeadPhone

                    1: Mic                           1:IntSpeaker

     c. Change "PathMapID" to "1".

 

 

file modified Layout12.xml file, download link: 

https://dl.dropboxusercontent.com/u/6897343/Shared/layout12.xml

(sorry, i couldn't upload file to this thread. so I use a dropbox link)

layout12.xml.zip

 

Part4. Calculate the PathMaps, and modify the platforms.xml.

Below is my PathMaps for Inputs and Outputs.

a. For Outputs (Pin Complex --> Audio Output)
   IntSpeaker:
     Hex:   0x0d --> 0x13
     Decimal: 13 --> 19
   HeadPhone:
     Hex:   0x0b --> 0x14
     Decimal: 11 --> 20
b. For Inputs (Pin Complex --> Audio Selector/Mixer --> Audio Input)
   Int Mic:
     Hex:   0x0f --> 0x17 --> 0x15
     Decimal: 15 --> 23 --> 21
   Ext Mic(LineIn):
     Hex:   0x0a --> 0x18 --> 0x16
     Decimal: 10 --> 24 --> 22 

then, I put those into platforms.xml file, and compress it, drop back.

 

 

file modified platforms.xml file, download link: 

https://dl.dropboxusercontent.com/u/6897343/Shared/Platforms.xml

(sorry, i couldn't upload file to this thread. so I use a dropbox link)

 

 

Part5. Modify DSDT to add the Method function in Device (HDEF).

I set the layout ID 0x0c, 0x00, 0x00, 0x00

 

 

file AppleHDA.kext file, download link: 

https://dl.dropboxusercontent.com/u/6897343/Shared/AppleHDA.kext.zip

(sorry, i couldn't upload file to this thread. so I use a dropbox link)

 

 

After done above, I drop the modified AppleHDA.kext to S\L\E, and repair the permission, then rebuild the kernelkeche.....reboot, but unfortunately, it didn't work at all.

AppleHDA.kext.zip

 

so, Could you help to solve it? thanks, appreciate for your effort. :-)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Edited by Jeffrey.C
  • Like 1
Link to comment
Share on other sites

@Micky1979

 

Tried this guide with OS X Mavericks 10.9 GM with no success. I have the IDT 92HD81B1X5. my dsdt is already setup with HDEF and layout-12. Would appreciate some assistance/guide if you can. the Audio Bar actually is black but no sound.

 

I don't want anything done for me I just need some direction to get it fully working. Let me know the files to attach. Thanks

 

 

UPDATE: Got it working with Pandora app which I didn't know nothing about. The only problem I have is the mute button turning orange. So if anybody knows the fix I would appreciate if you can tell me. Thank you!

 

UPDATE 2: I have fixed the issue myself editing the layout12.xml.zlib. I now have a IDT 92HD81B1X5 fully functional on OS X Mavericks 10.9 GM

  • Like 3
Link to comment
Share on other sites

Ok, i think i've tried enough :P

 

I need help getting my Internal Mic working correctly. I've managed to do correctly the Speakers, Headphones and Mic Detection, but the slider of Internal Mic it just don't appears. I've tried the fix from TheEnthusiast, but i don't manage to get it working correctly. 

 

Can you help me to take a look on this or to give me some additional steps to work it out?

 

Cheers ^^

 

P.S: I attached all the files that i've modified and used to make the patch to the point i've actually worked them.

post-260057-0-03203000-1381652669_thumb.png

Inspiron14z-IDT92HD91BXX.zip

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

@Micky1979

 

Tried this guide with OS X Mavericks 10.9 GM with no success. I have the IDT 92HD81B1X5. my dsdt is already setup with HDEF and layout-12. Would appreciate some assistance/guide if you can. the Audio Bar actually is black but no sound.

 

I don't want anything done for me I just need some direction to get it fully working. Let me know the files to attach. Thanks

 

 

UPDATE: Got it working with Pandora app which I didn't know nothing about. The only problem I have is the mute button turning orange. So if anybody knows the fix I would appreciate if you can tell me. Thank you!

 

UPDATE 2: I have fixed the issue myself editing the layout12.xml.zlib. I now have a IDT 92HD81B1X5 fully functional on OS X Mavericks 10.9 GM

Really??? i have the same problem with mute button, this turning orange. Can you write what are you doing? Or send me the AppleHDA kext? Thank you very much ;)

  • Like 1
Link to comment
Share on other sites

Could someone help me with this? I'm not quite sure which verbs should I add into ConfigData field.

 

This is from my verbs.txt

   Jack   Color  Description                  Node     PinDefault             Modified Verbs
--------------------------------------------------------------------------------------------------------
    1/8   Black  Line Out at Sep Rear        10 0x0a   0x21011030   00a71c30 00a71d10 00a71e01 00a71f21
    1/8   Black  HP Out at Ext Right         11 0x0b   0x0421101f   00b71c10 00b71d10 00b71e21 00b71f00
 Mic at Ext Right    0x0c 0x0c                        77664288 00c71c20 00c71d10     00c71ea1 00c71f00  
 Analog Unknown  Speaker at Int N/A          13 0x0d   0x90170110   00d71c50 00d71d00 00d71e17 00d71f90
Unknown Unknown  Other at Ext N/A            14 0x0e   0x40f000f0   00e71cf0 00e71d00 00e71ef0 00e71f40
 Line In at Sep Rear    0x0f 0x0f                        562106414 00f71c60 00f71d10     00f71e81 00f71f21  
Unknown Unknown  Other at Ext N/A            16 0x10   0x40f000f0   01071c70 01071d00 01071ef0 01071f40
  ATAPI Unknown  Mic at Int Top              17 0x11   0xd5a30140   01171c40 01171d00 01171ea3 01171fd0
Unknown Unknown  Other at Ext N/A            31 0x1f   0x40f000f0   01f71c80 01f71d00 01f71ef0 01f71f40
Unknown Unknown  Other at Ext N/A            32 0x20   0x40f000f0   02071c90 02071d00 02071ef0 02071f40
--------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

  • 2 weeks later...

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

How resolve this? codec_dump.txt I did in Ubuntu13 Live-CD

Codec: IDT 92HD81B1X5
Address: 0
AFG Function Id: 0x1 (unsol 1)

Vendor Id: 0x111d7605
Subsystem Id: 0x1028043f
Revision Id: 0x100104
No Modem Function Group found

My codec_dump.txt in attached files.

 

Same situation I saw in 5 distors of Linux.

codec_dump.txt

Link to comment
Share on other sites

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

How resolve this? codec_dump.txt I did in Ubuntu13 Live-CD

Codec: IDT 92HD81B1X5

Address: 0

AFG Function Id: 0x1 (unsol 1) >>>>>>>>> Delete this line in your codec dump, then run Verbit.

Vendor Id: 0x111d7605

Subsystem Id: 0x1028043f

 

Link to comment
Share on other sites

  • 4 weeks later...

Please help me! I'm all lost and confused in following this guide. I was able to get a few information about my own audio hardware though. It is similar to the one posted above: IDT 92HD87B2/4 according to the codec dump I made. I downloaded the Kit IDT 111d76d9.zip from post #6 but I am unsure what to do with it. What exactly do I do in order to get it working?

 

Here are some helpful information: My laptop model is an HP Pavilion G6-2991sa. I triple boot it with Windows 8.1, Ubuntu 13.10 and Mac OS X Mavericks 10.9.1. It has a 1x 3.5mm mic and 1x 3.5mm earphone ports and a Dolby Advanced Surround sound/Altec Lansing speaker. It also has an HP TrueVision HD webcam that I'm pretty sure has an integrated mic. I can't make the webcam work for some reason on normal boot, but in safe boot, the webcam works. Forgive me if I'm saying nonsense. I just want to provide all the information I could. 

 

I have 2 codec dumps:

The first one's "IDT 92HD87B2/4".

The other one I think has something to do with the HDMI port since that one's "Intel PantherPoint HDMI".

 

I also got my PinConfigOverrides (byte-flipped):

<00A71CF0 00A71D00 00A71EF0 00A71F40 00B71C1F 00B71D10 00B71E21 00B71F04 00C71C20 00C71D10 00C71EA1 00C71F04 00D71C10 00D71D01 00D71E17 00D71F90 00F71CF0 00F71D00 00F71EF0 00F71F40 01171C30 01171D01 01171EA3 01171FD5>

 

It is very similar to the one found inside the README.txt of Kit IDT 111d76d9.zip from post #6.

 

I was following a similar guide that made me generate an .svg file using codecgraph and I can provide those too if needed.

 

Please help me get my sound working. I'm not sure what exactly I need to do.

 

UPDATE: 

I've got all of these now:

codec_dump.txt
codec_dump_dec.txt
codec_dump.txt.svg
codec_dump_dec.txt.svg
verbitdebug.txt
verbs.txt

 

So I've read post #6 which explained verb. I couldn't see any other instruction in that post, merely a reiteration that verbit is better than getting PinConfigOverrides. So I moved along to post #7. This is where I get so confused. It says to run "patch-hda" and then select our codec. The problem is my codec is not in the list. Is there a way to add it there? Or do I have to pick the closest one? Please help. I really want to get my sound working. :(

 

UPDATE 2:

I'm lost in post #7. I've already extracted layout12.xml and platforms.xml and I honestly don't know how to edit the values and some of the pictures of the instructions are not loading up. Please... help me. :'(

Link to comment
Share on other sites

Please help me! I'm all lost and confused in following this guide. I was able to get a few information about my own audio hardware though. It is similar to the one posted above: IDT 92HD87B2/4 according to the codec dump I made. I downloaded the Kit IDT 111d76d9.zip from post #6 but I am unsure what to do with it. What exactly do I do in order to get it working?

 

Here are some helpful information: My laptop model is an HP Pavilion G6-2991sa. I triple boot it with Windows 8.1, Ubuntu 13.10 and Mac OS X Mavericks 10.9.1. It has a 1x 3.5mm mic and 1x 3.5mm earphone ports and a Dolby Advanced Surround sound/Altec Lansing speaker. It also has an HP TrueVision HD webcam that I'm pretty sure has an integrated mic. I can't make the webcam work for some reason on normal boot, but in safe boot, the webcam works. Forgive me if I'm saying nonsense. I just want to provide all the information I could. 

 

I have 2 codec dumps:

The first one's "IDT 92HD87B2/4".

The other one I think has something to do with the HDMI port since that one's "Intel PantherPoint HDMI".

 

I also got my PinConfigOverrides (byte-flipped):

<00A71CF0 00A71D00 00A71EF0 00A71F40 00B71C1F 00B71D10 00B71E21 00B71F04 00C71C20 00C71D10 00C71EA1 00C71F04 00D71C10 00D71D01 00D71E17 00D71F90 00F71CF0 00F71D00 00F71EF0 00F71F40 01171C30 01171D01 01171EA3 01171FD5>

 

It is very similar to the one found inside the README.txt of Kit IDT 111d76d9.zip from post #6.

 

I was following a similar guide that made me generate an .svg file using codecgraph and I can provide those too if needed.

 

Please help me get my sound working. I'm not sure what exactly I need to do.

 

UPDATE: 

I've got all of these now:

codec_dump.txt

codec_dump_dec.txt

codec_dump.txt.svg

codec_dump_dec.txt.svg

verbitdebug.txt

verbs.txt

 

So I've read post #6 which explained verb. I couldn't see any other instruction in that post, merely a reiteration that verbit is better than getting PinConfigOverrides. So I moved along to post #7. This is where I get so confused. It says to run "patch-hda" and then select our codec. The problem is my codec is not in the list. Is there a way to add it there? Or do I have to pick the closest one? Please help. I really want to get my sound working. :(

 

UPDATE 2:

I'm lost in post #7. I've already extracted layout12.xml and platforms.xml and I honestly don't know how to edit the values and some of the pictures of the instructions are not loading up. Please... help me. :'(

111d7605 is my codec id so I entered this value in calc and converted it to decimal, got a number, in my case it's 287143429.

Repeat for your codec id.

Do this for your audio card, paste the decimal number in the field as mentioned in #7. After that, paste your verbs into the next field as mentioned in images in #7.

I guess this should clear your doubts.

Link to comment
Share on other sites

111d7605 is my codec id so I entered this value in calc and converted it to decimal, got a number, in my case it's 287143429.

Repeat for your codec id.

Do this for your audio card, paste the decimal number in the field as mentioned in #7. After that, paste your verbs into the next field as mentioned in images in #7.

I guess this should clear your doubts.

I guess what I really mean is I don't quite understand the concept of it all. :(

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Reviving the Post, anyone can help me with VEN_111D DEV_7608  (I think it should work if based on the 7605 provided on the first post), I don´t have access to a Linux distro and don´t really understand the procedures... I don´t know much about DSDT either, but am open to learn and dirty my hands with it. I´m running Mavericks and the Voodoo works, but I would really like to have it running on AppleHDA due to compatibility with some Software I use. (Actually I installed OSX primarily for audio editing and processing).

 

Any help is welcome, even if to guide me where to learn more about a topic before asking stupid questions.

Link to comment
Share on other sites

Sorry but without the codec dump it is impossible for someone to give you a hand, at least it is not a magician. 

To run Linux do you just download it from the site and burn a simple CD or even on a USB stick and then run it without installing anything (Live).
 
Micky
Link to comment
Share on other sites

  • 3 weeks later...

Hi everyone
 

My codec is 92HD75B3X5 [111D-7603]

 

I am trying to Make the latest AppleHDA Kext (2.6.0f1) work with my system with no luck
usually i rollback to a very old AppleHDA Kext (2.0.5) which cause a lot of console errors like: 

kernel[0]: Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2954 goto Exit
kernel[0]: Sound assertion "kTypePinComplex != fType" failed in AppleHDAWidget at line 2034 goto Exit

The question is: can i use the "layout7603.xml" ,"Platforms.xml" , "Info.plist" files from the old Kext to the the New one, and then patch the kext using bcc9' script ?
if not what should i do to get the latest kext work ?

Working Files from AppleHDA (2.0.5) Kext
Info.plist.zip
layout7603.xml.zip
Platforms.xml.zip

Codec_dump exported from linux, PINConfig exported from Windows.txt
92HD75B3X5 codec_dump.txt
92HD75B3X5 PINConfig exported From Windows.txt

Link to comment
Share on other sites

  • 6 months later...

I leave you some information that I hope will be useful to activate the sound card IDT 92HD87B2/4 (111D:76D9) on OSX 10.8.5 and 10.9.5

 

Original Verbs: 
 
00a71cf0 00a71d00 00a71ef0 00a71f40
00b71c1f 00b71d10 00b71e21 00b71f04
00c71c20 00c71d10 00c71ea1 00c71f04
00d71c10 00d71d01 00d71e17 00d71f90
00f71cf0 00f71d00 00f71ef0 00f71f40
01171c30 01171d01 01171ea3 01171fd5
 
Modified Verbs:
 
00A71CF0 00A71D00 00A71EF0 00A71F40
01371C40 01371D10 01371E21 01371F04
00C71C20 00C71D10 00C71E81 00C71F04
01471C10 01471D01 01471E17 01471F90
00F71C50 00F71D00 00F71EF0 00F71F40
01171C30 01171D01 01171EA0 01171F90
 
AppleHDAHardwareConfigDriver.kext > Info.plist
 
<key>HDAConfigDefault</key>
<array>
<dict>
<key>CodecID</key>
<integer>287143641</integer>
<key>ConfigData</key>
<data>
AKcc8ACnHQAApx7wAKcfQAE3HEABNx0QATce
IQE3HwQAxxwgAMcdEADHHoEAxx8EAUccEAFH
HQEBRx4XAUcfkAD3HFAA9x0AAPce8AD3H0AB
FxwwARcdAQEXHqABFx+Q
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>12</integer>
</dict>
</array>
 
DSDT Fix:
 
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Store (Package (0x0A)
                    {
                        "built-in", 
                        Buffer (One)
                        {
                             0x00
                        }, 
                        "MaximumBootBeepVolume", 
                        Buffer (One)
                        {
                             0x4D
                        }, 
                        "hda-gfx", 
                        Buffer (0x0A)
                        {
                            "onboard-1"
                        }, 
                        "layout-id", 
                        Buffer (0x04)
                        {
                             0x0C, 0x00, 0x00, 0x00
                        }, 
                        "PinConfigurations", 
                        Buffer (Zero) {}
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
 
Status:
 
Speakers   : OK
Headphones : OK
HDMI Audio : OK (Intel HD3K/4K Tested)
LineIn     : OK
MicInt     : OK
MicExt     : OK
Sleep      : OK
WakeUp     : OK
AutoSleep  : OK
 
I created an installer to simplify this task. It can be downloaded from: 
 

convert_codec_dump_dec.txt

verbs.txt

convert_codec_dump_dec.txt.svg.zip

layout12.xml.zlib.zip

Platforms.xml.zlib.zip

audio.zip

  • Like 1
Link to comment
Share on other sites

Added support for sound card IDT 92HD87B2/4 (111D:76D9) in OSX Lion 10.7.5

 

Status:

 
Speakers   : OK
Headphones : OK
HDMI Audio : OK (Intel HD3K/4K Tested)
LineIn     : OK
MicInt     : OK
MicExt     : OK
Sleep      : OK
WakeUp     : OK
AutoSleep  : OK
 
I created an installer to simplify this task. It can be downloaded from: 
 
 
I'll try with OSX Snow Leopard 10.6.8 ...

layout12.xml.zip

Platforms.xml.zip

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

Can someone help me, i begin the patch process, extracted the codec dump, make the verb, but i'm stuck with patch hda process....(Unexpected codec match count: 2 (4 expected)

Aborting with AppleHDA NOT patched)

 

I have an idt 92hd81 in yosemite, maybe with my files someone can finish the job? that would be awesome.

 

MY CODEC DUMP ETC.zip

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...