Jump to content

Guide to patch AppleHDA for your codec


  • Please log in to reply
50 replies to this topic

#41
Mirone

Mirone

    InsanelyMac Deity

  • Local Moderators
  • 1,846 posts
  • Gender:Male
  • Location:Brazil

Mirone,

 

When I tried to patch the Apple HDA binary, here is the output I got

 

 ./patch-hda.pl 10ec0269

OSX version 10.9.4 detected

Patching AppleHDA codec 11d41984 with 10ec0269

2 codec range comparison(s) to patch

Patching range comparison 10ec0884

Patching range comparison 10ec0885

Found no matching codec to patch.  AppleHDA may already be patched

Aborting with AppleHDA NOT patched

 

This may be my problem.

 

This is the original 10.9.4 file. I tried it with files from two different machines.

Any ideas?

 

Srini

you can fix the binary manually using HexEdit. 
find: 8419d411 
replace: 6902ec10 
find: 8408ec10 
replace: 00000000 
find: 8508ec10 

replace:: 00000000



#42
Srini2000

Srini2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts

Mirone,

 

I cannot find 8419d411

 

I can find 8408ec10 and I can  find: 8508ec10 

 

Apple may be using a different codec in their new machines instead of 11d41984 ??

 

 

Srini



#43
Mirone

Mirone

    InsanelyMac Deity

  • Local Moderators
  • 1,846 posts
  • Gender:Male
  • Location:Brazil
if you do not find it is because it has already been replaced, 
the eero the script is caused by this.


#44
Srini2000

Srini2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts

Mirone,

 

If I cannot find it because it has been replaced I should at least be able to find 6902ec10. I am not able to find this either.

 

By the way, my audio still isn't working. I had sent you my Ioreg. Do you have any comments on that?

 

Thanks for your help,

 

Srini



#45
Srini2000

Srini2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts

Mirone,

 

I decided to go through the whole thing one more time very carefully. I must have made a mistake somewhere.

 

I have a question on the info.plist for AppleHDAHardwareConfig.kext.

 

In the info.plist that you sent me for the ALC 269Vc that you modified, you have 17 entries for configdata. 16 I can understand..they are for 01271c40, 01471c10, 01571 and 01871. However there is a 17th entry 01470c02. 

 

What is the reason for this 17th verb?

 

Thanks,

 

Srini


Mirone,

 

I have one more question. In all this patching how is the audio for HDMI taken care of?

 

Thanks,

 

Srini



#46
Mirone

Mirone

    InsanelyMac Deity

  • Local Moderators
  • 1,846 posts
  • Gender:Male
  • Location:Brazil
01470c02 is for EAPD (External Amplifier Power Down).without it the audio does not work.
HDMI for audio you need to edit your DSDT.


#47
Srini2000

Srini2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts

Mirone,

 

Thanks for clarifying 01470c02.

 

I will also look for the DSDT changes for HDMI.

 

Srini



#48
aliab

aliab

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 590 posts
  • Location:Paris

Hi

 

Thank's for this this great topic !

 

i can't get ALC662 (p5b-se) working with Olarila 's patches and AppleHDA patcher but now i understand why mine do not match

EDIT: Sorry it's working nicely with only 2 output analog and digital!

just perhaps it is possible to match more

 

i am a little confused about making my own hdaconfig.txt and Platforms.xml

here linux codec_dump

Attached File  codec_dump.txt   11.45KB   4 downloads

if someone could help ?

 

A



#49
horizoli

horizoli

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Budapest

Hi 
Someone please tell me how much the ConfigData (AppleHDAHardwareConfigDriver.kext) and PathMap (Platforms.xml). 
Thanks for the help

 

  • codec_dump.txt 
  • codec_dump_dec.txt.svg 
  • verbs.txt
  • Original AppleHDA

 
 

Attached Files



#50
Mirone

Mirone

    InsanelyMac Deity

  • Local Moderators
  • 1,846 posts
  • Gender:Male
  • Location:Brazil
This is a guide, "do it yourself." 
please post only doubt about the guide here, for 
go ask a fix to the appropriate topic.
 


#51
horizoli

horizoli

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Budapest

Hi Mirone!

 

Trying to set up a voice! Thank you! 
But what is the precise NID me? I do not understand. 
Can you help me?

 

Line Out =  2-12-20 OK! Green

Line Out =  3-13-21OK! Orange

Line Out =  4-14-22 OK! Black

Headphone = ?

External Mic = ?
External Mic Front = ?

Attached Files







0 user(s) are reading this topic

0 members, 0 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