Jump to content

[HOW TO] Patch AppleHDA - Knowledge Base


  • Please log in to reply
392 replies to this topic

#41
B612

B612

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 463 posts
has anybody been able to patch appleHDA for AD1986a?

I have the AppleHDA patched by Taruga, but I'd like to try another patch. At the moment, in fact, the volume slides are not working. I have sound, but certainly there is something I'm missing...

Please if you have any ideas, let me know.

#42
Giblet

Giblet

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
@ King

Could you please post your AD1988b Drivers, im dying to try them out!
Greetz. Giblet

#43
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
i'd like also to test your kext for 1998b
i have an installation somewhere with boot132 so i can try

#44
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 732 posts
  • Gender:Male

OK. I'm trying to plow through the data sheet for my ALC889 and see if I can figure it out. The dump isn't as clean as what MadTux talked about for outputs (the mixer aren't "starred" for the input devices so it's just not clean to figure out the mapping)

I'm also trying to understand the HDAController plist. I see the linkage between the Layout and Pathmap sections but I initially thought that there was a direct one to one correspondence between the order of the input/output items in the Layout and the items in the Pathmap section but it's not consistent in the stock kext so I'm confused about that. I'm also interested in why there are so many Layout/Pathmap combinations for a single codec.

Thanks. Hope I can contribute here.

SMF

You are right about dump but at least for ALCxxx its a chance to be almost ok, AD19xx its a PITA
About HDAController, i have same questions like you about combinations, didn't find a valid answer yet, and to be more confuse on latest mbp for the same ALC885 apple don't use any ConfigData, not even a empty one, no verb at all!
For the corespondent LayoutID they added "MikeyAFGLowPowerState" on HDAController, and a new plugin on hda: AppleMikeyDriver.kext

My audio works perfectly fine, but in System Profiler -> Audio (Built-in) it does not show any details of audio installed. How to get it, mine is Realtek ALC888.

You didn't make a proper codec verb.

Hi. I have read the guide, but I find it a bit obscure.. apart from the points I could overpass, like graphviz etc., I'm stuck with the colors and the numbers.
Could you help me somehow? My codec dump is the one I have attached (I got it from Mandriva linux, last version), and it is a little different from the one I had found online.
Thank you.

I can't write more n00bish then that, and I'm a n00b too...if you don't understand what I write..sorry This is not a five minute job,and it takes a lot of time, to understand you must deal with each section...
Also please don't provide dumps, this is a Knowledge Base, not a patching section...also on PM...

Is there any way to get the same pinout config(codec) in Windows XP?
StiCMAN

Didn't tried on XP but imo must be on registry somewhere...

I'm a little bit confused about the codec verb. Do we need to put the node on some sequence or just put it ascendent?

Put them as you like, but imo try to use a vanilla example and follow it.

Hi THe KiNG, great tutorial, I have a P5K Premium and I was wondering about your progress on the AD1988b. Would this work on munkys EFI partition? I have a Vanilla install and the only thing not working is the audio. I want to attemp this, but only if it works from EFI partition.

Thanks,

SirReal

Yea works just fine from EFI partition or from root on /extra/..mkext
I've stoped for now to deal with hda b/c latest applehdaudio.kext from mbp51 update is messed at least for us, HDAController is problematic random refuse to load and I have to boot with -f flag to fix it...but even with -f sometimes refuse to load...
AD1988b is like I sad just 5.1 analog out and digital, no in for now...
I'm waiting for 10.5.6 or for a new hda kext, if this problem would remain its possible for us to be forced to use 10.5.4 hda and that mean bye bye vanilla...hope not

#45
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts

You are right about dump but at least for ALCxxx its a chance to be almost ok, AD19xx its a PITA
About HDAController, i have same questions like you about combinations, didn't find a valid answer yet, and to be more confuse on latest mbp for the same ALC885 apple don't use any ConfigData, not even a empty one, no verb at all!
For the corespondent LayoutID they added "MikeyAFGLowPowerState" on HDAController, and a new plugin on hda: AppleMikeyDriver.kext


THe KiNG,

Thanks. At least I'm not missing something obvious in HDAController. I haven't looked at the updated AppleHDA - I've been having enough fun with the "earlier" one. I'll keep working on it.

SMF

#46
B612

B612

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 463 posts
I've finally understood what you wrote on your guide. I did everything you suggested but it didn't work. I realized that in the case of Taruga patched AppleHDA, there are also some binary files patched and not only in "Controller" and "Driver" sections. To be more specific, the modified files are:

Contents/Info.plist
Contents/MacOS/AppleHDA
Contents/Plugins/AppleHDAController.kext/Contents/Info.plist
Contents/Plugins/AppleHDAController.kext/Contents/MacOS/AppleHDAController
Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn

Do you think it is possible to do something anyway?
In this case, do you think it's even possible to load the patched files from EFI partition?

Thank you.

#47
Giblet

Giblet

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Still, King, could you post your AD1988b Kexts?
I want to try them!

#48
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 732 posts
  • Gender:Male

I've finally understood what you wrote on your guide. I did everything you suggested but it didn't work. I realized that in the case of Taruga patched AppleHDA, there are also some binary files patched and not only in "Controller" and "Driver" sections. To be more specific, the modified files are:

Contents/Info.plist
Contents/MacOS/AppleHDA
Contents/Plugins/AppleHDAController.kext/Contents/Info.plist
Contents/Plugins/AppleHDAController.kext/Contents/MacOS/AppleHDAController
Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn

Do you think it is possible to do something anyway?
In this case, do you think it's even possible to load the patched files from EFI partition?

Thank you.

Great! :unsure:
That was on old Tiger AppleHDA.kext!
On new Leopard one things are different, for example they removed Layouts.xml from resources on latest kexts, things are organized different and they introduced a new plugin..(two in plus since Tiger version)
My goal was to not touch any vanilla files, if hex hack is required for some codecs that's it!
BTW latest 10.5.6 hda kext is fixed, no more crush on boot.
Only plist only kexts can be loaded from /efi or /extra/extensions.mkext for hda, if you put a hex hacke kext on that only plist will be used...

Still, King, could you post your AD1988b Kexts?
I want to try them!

I cant post half job kext, when i will got at least one input(mic or line in) i will post it, like i did for my laptop, you must wait until is done or make it by yourself, again this is a knowledge base topic, if you have some info to share, do it, help me and others to go forward....

#49
rhyguy

rhyguy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 204 posts
if i did this, would it give me proper 5.1 sound, as opposed to the 5.1 i get with a 3to1 jack i have?
also, when updating, will you have to redo the plist, or can you use the old one?

BTW, since my computer has a graph on the page, do i have to dump the audio? (Dell Inspiron 530)

#50
SticMAC™

SticMAC™

    "Nobody likes a SmartASS"

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,590 posts
  • Gender:Male
  • Location:Da Bathroom!!
Have you figured which files to edit to get either the "mute" or "volume slider" working?

StiCMAN

#51
OcciJano

OcciJano

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 154 posts
  • Location:Mexico City
  • Interests:iPod, Pets, Dance latin music, Music, Macintosh, Hackintosh
THe KiNG

Thanks a lot for this wonderful guide.

:D OcciJano

#52
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 732 posts
  • Gender:Male

Have you figured which files to edit to get either the "mute" or "volume slider" working?

That depends on each codec, but first you should have on inputs/outputs on Layouts MuteGPIO, then looking on CodecGraph where u see a bright blue triangle(that is amplifier) on that NID you should add amp entry with all from it checked
Still as example mute dosen't work yet on AD1988b but at least volume works...maybe i have to add mute entry on other NID, will research more...

#53
B612

B612

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 463 posts
I'm trying to edit AppleHDA.kext from Leopard. My Taruga-Tiger AppleHDA works, but I'd like to try editing the new version of it.

I have edited Controller and Driver, I have written the same nodes I had in the previous working AppleHDA, but it doesn't work. When I reboot my computer, AppleHDA loads, but I cannot see any devices in System Preferences nor in System Profiler. Do you know why?

#54
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male
@THe KiNG: please re-up your last kext because rapidshare report this error :
"ERROR



This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times.



This limit is reached."


#55
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 732 posts
  • Gender:Male

@THe KiNG: please re-up your last kest because rapidshare report this error :

Link updated, damn RS :boxing:

#56
cesar di

cesar di

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Finally have working ALC883 address 1 for Notebooks with motherboard L50IIx (HASEE, OLIVETTI, FUJITSU-SIEMENS, etc) also could work for others too

The only problem I have is that the channels are not playing right ie.: left chanel seems to have a bit less vol than the right when using HP, just using the balance control for now ( that doesn`t happens with Taruga patcher)

The jack sensing works too!

Thanks for this great guide!

#57
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 732 posts
  • Gender:Male

Finally have working ALC883 address 1 for Notebooks with motherboard L50IIx (HASEE, OLIVETTI, FUJITSU-SIEMENS, etc) also could work for others too

The only problem I have is that the channels are not playing right ie.: left chanel seems to have a bit less vol than the right when using HP, just using the balance control for now ( that doesn`t happens with Taruga patcher)

The jack sensing works too!

Thanks for this great guide!

When you got something working SHARE!
This is a topic where people share knowledge and what they get working... ;)

#58
RichBUK

RichBUK

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
Hey The King, thanks for this, brilliant stuff - i've been struggling to get my ATI3850 HDMI audio working and now i know why!

Any chance you can post the Kext for that please to compare with may hacked together equivalent? I also have an ALC1200 on the MB (OSX sees 888) so the combination of the two should be similar in implementation to yours.

Cheers!

#59
ridgeline

ridgeline

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 532 posts
  • Gender:Male
  • Location:Cape Coral, FL
I could use a little help I am trying to get my IDT audio working and I feel in order to understand it fully I need the graph and I have followed your guide very closely, however when I go to Terminal to create the graph it tells me that my IDT.txt(codec dump) is not a codec description. I have tried with Ubuntu 8.10 and Mandriva latest edition. I am confused....... is there any other way to get a codec dump that will be recognized?
Thanks, for all your time and effort King.

Attached s my dump please take a look and let me know if you see something wrong......

#60
cesar di

cesar di

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

When you got something working SHARE!
This is a topic where people share knowledge and what they get working... ;)

OH! Sory! I just about to post the whole thing, just cleaning and making it more clear to all, because my approach is working on the AppleHDA itself and I don`t have boot132 yet so can`t post the mod kext here and have somehow figure how to explain what I did. Patience...

Thanks Again!





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