Jump to content

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

10.8.x Native Audio

  • Please log in to reply
170 replies to this topic

#141
TheEnthusiast

TheEnthusiast

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts

Two new test kexts sent. 



#142
andrek

andrek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
  • Gender:Male

The first one's (older) got "No output devices found" and "No input devices found". No sound whatsoever.

Going for the second one...


The second one (newer) has output working as intended and regarding input:

there's one device called Internal microphone (type "built in") and it's a internal mic (near camera) indeed - and it's working, however plugging a line in ext mic does nothing, the input audio is still captured by the internal mic.



#143
TheEnthusiast

TheEnthusiast

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts

OK, I'm narrowing it down to pin config related to mic/ext mic as well as MuteGPIO values. This would explain why it picked up internal mic node as ext mic when using my original kext. At this point, I'm guessing there has to be some change regarding pinconfig. Unfortunately, I'm not too knowledgeable about pinconfigs yet. I'll provide two more kexts shortly. If those don't work, Micky1979 may have more insight or I'll look at a kext with a similar path math.  



#144
andrek

andrek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
  • Gender:Male

#3 - No output and input devices. No sound at all.

I'll update this when I'll get the fourth one.

 

But most importantly, thank you for spending time figuring this out!

 

edit: 4th - same, no output/input devices. I'll take a look at those dumps. Thanks again!

 

@Micky1979 or anyone willing to help - here's a zip package of the necessary files: https://www.dropbox....B13_hp4530s.zip

Also - courtesy of TheEnthusiast - pinconfig: https://www.dropbox....fig-HP4530s.rtf

(I hope it's okay I share it?)

I'll give it a shot myself but, as they say, two heads are better than one. :)



#145
TheEnthusiast

TheEnthusiast

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
This is what I was referring to earlier. It takes time especially since I don't have your hardware with me. Also, remember that it took me too full days to fully figure out what configuration I needed. This has just been a few hours. I was mainly trying to narrow down what should work by sending you kexts that I knew wouldn't work because of the difference in hardware. Create a range so to speak, not the most time efficient method, but it beats guessing. I'll send you something else when I experiment again. :thumbsup_anim:

Also, keep the two kexts that gave audio in/out and use those as bases for modification.

#146
imacX86

imacX86

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male

The first one's (older) got "No output devices found" and "No input devices found". No sound whatsoever.

Going for the second one...


The second one (newer) has output working as intended and regarding input:

there's one device called Internal microphone (type "built in") and it's a internal mic (near camera) indeed - and it's working, however plugging a line in ext mic does nothing, the input audio is still captured by the internal mic.

It is possible to send me the second version? I was looking for web cam mic working. I could switch to version with external Mic (Patched AppleHDA.kext IDT92HD87B1/3) when needed, but by default would like to use web can one.

 

I spent a few hours experimenting, may be it would help to see the difference between the two. 



#147
andrek

andrek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
  • Gender:Male

Sent you a PM.



#148
ihosc

ihosc

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

Hi Micky, I tried follow this guide for my ALC883 chipset. And I'm getting these assertions,

 

 

Sound assertion in AppleHDAWidget at line 4157

Sound assertion in AppleHDACodecGeneric at line 1207

 
Any idea where I might gone wrong with my patching?
 
Any help would be much appreciated.


#149
X58_OSX

X58_OSX

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:Switzerland
  • Interests:Drive My Shelby Gt500 2012 and my Ducati 848, OS X on normal PC and Gaming PC

Sorry i am a noob in this =) anyone have a patched 111d76e0 apple hda?



#150
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,704 posts
  • Gender:Male
  • Location:Italy

Patch it with Pandora, but be sure that you have original AppleHDA.kext in your S/L/E.

Check your HPET section into the DSDT or delete AppleHPET.kext (make a backup first), if you don't have one....and reboot

 

Micky



#151
X58_OSX

X58_OSX

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:Switzerland
  • Interests:Drive My Shelby Gt500 2012 and my Ducati 848, OS X on normal PC and Gaming PC

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?



#152
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,704 posts
  • Gender:Male
  • Location:Italy
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


#153
X58_OSX

X58_OSX

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:Switzerland
  • Interests:Drive My Shelby Gt500 2012 and my Ducati 848, OS X on normal PC and Gaming PC

here my virgin DSDT. i have the uefi bios F24. https://www.dropbox....envy 7386ez.zip

 

qua il mio DSDT. non so se hanno lo stesso bios perche il mio ha l uefi. comunque il link e sopra.



#154
iMacOSXUser_85

iMacOSXUser_85

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
  • Gender:Male
  • Location:Ukraine
  • Interests:Apple

Hello everyone! Who can help me with the codec 92HD87B2/4? Maybe someone has already started?



#155
Jeffrey.C

Jeffrey.C

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

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 :-)

Attached File  AppleHDA.kext.zip   1.22MB   53 downloads

 

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

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)

Attached File  codec_dump.txt   8.6KB   7 downloads

    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.dropboxus...ared/Info.plist

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

Attached File  Info.plist.zip   1.8KB   5 downloads

 

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.dropboxus...Shared/AppleHDA

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

Attached File  Patched AppleHDA Binary.zip   242.74KB   4 downloads

 

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.dropboxus...ed/layout12.xml

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

Attached File  layout12.xml.zip   1.23KB   3 downloads

 

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.dropboxus...d/Platforms.xml

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

Attached File  Platforms.xml.zip   3.97KB   3 downloads
 

 

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.dropboxus...pleHDA.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.

Attached File  AppleHDA.kext.zip   1.37MB   16 downloads

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Edited by Jeffrey.C, 13 October 2013 - 02:15 AM.


#156
La Maravishh

La Maravishh

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

@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



#157
TUX FIRE

TUX FIRE

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts

Hello guys,

 

i upload my working kext for IDT 92HD93XX, it's works (i tried it) on 10.8.4 /5 and 10.9 (GM)

 

Enjoy.

Attached Files



#158
b04r

b04r

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Mexico
  • Interests:Linux,HTML5,CSS3,WebGL,Music,Poetry,CS Geek.

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.

Attached Files



#159
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,704 posts
  • Gender:Male
  • Location:Italy

Hello guys,

 

i upload my working kext for IDT 92HD93XX, it's works (i tried it) on 10.8.4 /5 and 10.9 (GM)

 

Enjoy.

Added to Pandora :)



#160
maly70

maly70

    InsanelyMac Protégé

  • Members
  • PipPip
  • 98 posts
  • Gender:Male

Hi there, will you please share AppleHDA.kext Patched file for IDT 111D:76E0 and audio DSDT Patch to my dsdt please

Im nooby with this stuff and like my audio works please

Thank you in advance







2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy