Jump to content

[HOW TO] Patch AppleHDA - Knowledge Base


  • Please log in to reply
392 replies to this topic

#341
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 274 posts
  • Gender:Male
Hi, the KING. I still don`t know how to fix these sound assertion. And I found using the Leagcy kexts make the sound reaction slower while I change the volume. Can u give me a guide of how to zap the assertions, man? I saw u post the similar problem in the StickPin`s guide. So u`ve figured out by the help of the French guy, can u share the trick with me? :D

#342
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 694 posts
  • Gender:Male

Here's attached my ( Asus P5Q ) ALC1200 codec dump.

I'm trying to create a working a driver...
<01171c40 01171d01 01171e43 01171f99 01471c10 01471d40 01471e01 01471f01 01571c10 01571d10 01571e01 01571f01 01671c10 01671d60 01671e01 01671f01 01771c10 01771d20 01771e01 01771f01 01871c50 01871d98 01871ea1 01871f01 01971c60 01971d9c 01971ea1 01971f02 01a71c50 01a71d30 01a71e81 01a71f01 01b71c20 01b71d4c 01b71e21 01b71f02 01c71cf0 01c71d01 01c71e33 01c71f59 01d71c00 01d71de6 01d71e15 01d71f40 01e71c30 01e71d61 01e71e45 01e71f01 01f71cf0 01f71d11 01f71e11 01f71f41>

0x3a3e8086
Did you get a driver??

For Misc: if is iinternal connection then is 1(no jack detection also) if is a jack/externla then is allway 0(jack detect also)

Hi, the KING. I still don`t know how to fix these sound assertion. And I found using the Leagcy kexts make the sound reaction slower while I change the volume. Can u give me a guide of how to zap the assertions, man? I saw u post the similar problem in the StickPin`s guide. So u`ve figured out by the help of the French guy, can u share the trick with me? :P

Dunno what you say about the french guy...
Anyway I have some personal stuff to take care atm.
After one month or more I will rewrite the guide, it will be more detailed and explicit(n00b proof)
Try to figure out by yourself or wait for the new guide...

#343
alex MENG

alex MENG

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Sure, no problem. I've also attached my Hex linux dump for the CX20549

thanks a million for sharing this awesome file!
i've been looking for it for a really loooooooooooong time, i will test it soon and reply the result.
again thx so much!

#344
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
Hi THe KiNG,

Do you have any idea what this error mean?

kernel[0]: Sound assertion "0 != setupHostInterrupt ()" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDAController/AppleHDAController.cpp" at line 253 goto Exit


Thank you.

EDIT: Never mind, this error occurs if ACPIFIX installed.

kizwan

#345
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 274 posts
  • Gender:Male
Hi,the king. Finally I got it working without annoying sound assertions. But one more thing Even when I set the Internal Mic volume to 0 the recordind is still loud. Any idea?

#346
walterav

walterav

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 209 posts
Great work sofar!

AD 1988b new plist only kext + hdaenabler.kext
on asus p5ke wifi ap

10.5.6 was needed, thats the first thing I noticed. The following stuff is working.

GOOD
builtin speaker: green
line out:orange
line out: black

BROKEN
front panel headphone "switch" is working Internal > Headphone, but no sound is coming out of the headphones.
removing the headphone will give audio back to built-in speakers

not able to test:
microphone or line in, no devices for that around

When 10.5.7 is released I will go for DSDT solution.

#347
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 694 posts
  • Gender:Male

Great work sofar!

AD 1988b new plist only kext + hdaenabler.kext
on asus p5ke wifi ap

10.5.6 was needed, thats the first thing I noticed. The following stuff is working.

GOOD
builtin speaker: green
line out:orange
line out: black

BROKEN
front panel headphone "switch" is working Internal > Headphone, but no sound is coming out of the headphones.
removing the headphone will give audio back to built-in speakers

not able to test:
microphone or line in, no devices for that around

When 10.5.7 is released I will go for DSDT solution.

I have no front panel to test, ordered 2 and both was AC97(chinese {censored}) ;)
I need to change my case or to buy a dedicated fp hd audio, afaik is not avail here...w/o the case so...cant test sorry
For sure front mic works since I was able to test it, w/o the proper cable and jacks(tried to modd those i have w/o luck) i cant fix headphones.
You have 2 choices wait for me to save some money for a new case with hd audio front panel or fix it by yourself... :)

#348
verdant

verdant

    InsanelyMac V.I.P.

  • Gurus
  • 5,548 posts
  • Gender:Male
  • Interests:At home, I have the following computers......
    >
    >
    >
I have tried out the experimental VoodooHDA.kext on my Asus P5N32-E SLI Plus MOBO with Asus SupremeFX Audio Card (with AD1988b audio codec).....see here or here.....with Sound Preferences and Audio MIDI Setup screen-shots.....

No Built-in Audio shows up in System Profiler......

Rear sound-out ports working on Analog PCM #0: and Front sound-out ports working on Analog PCM #1:.......volume adjusted via Master or PCM.......autoswitching between ports is not working....

Sound Input ports and Digital PCM #2: have not been tested.......

#349
walterav

walterav

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 209 posts
Thanks for the quick reply, I will not be for a while again at this pc, so fixing it myself will not hapen in a month or three...

dmesg:
14-04-09 17:40:41 kernel Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDAController/AppleHDAController.cpp" at line 238 goto Exit1
A/AppleHDA-162.1.37/AppleHDA/AppleHDAPath.cpp" at line 697 goto Exit

activity monitor:
update-Removed the multibridge driver and coreaudio seems responding again...
""and I have CoreAudio notrespondig but the music keeps playing, think that its the BMD multibridge driver... I will ditch it.""

btw I also have HD2600Xt from ati, which has hdmi audio capability, can they conflict?

#350
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 694 posts
  • Gender:Male

I have tried out the experimental VoodooHDA.kext on my Asus P5N32-E SLI Plus MOBO with Asus SupremeFX Audio Card (with AD1988b audio codec).....see here or here.....with Sound Preferences and Audio MIDI Setup screen-shots.....

No Built-in Audio shows up in System Profiler......

Rear sound-out ports working on Analog PCM #0: and Front sound-out ports working on Analog PCM #1:.......volume adjusted via Master or PCM.......autoswitching between ports is not working....

Sound Input ports and Digital PCM #2: have not been tested.......


Sorry I'm not supporting voodoohda, is not my work and you have dedicated place for it...

Thanks for the quick reply, I will not be for a while again at this pc, so fixing it myself will not hapen in a month or three...

dmesg:
14-04-09 17:40:41 kernel Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDAController/AppleHDAController.cpp" at line 238 goto Exit1
A/AppleHDA-162.1.37/AppleHDA/AppleHDAPath.cpp" at line 697 goto Exit

activity monitor:
update-Removed the multibridge driver and coreaudio seems responding again...
""and I have CoreAudio notrespondig but the music keeps playing, think that its the BMD multibridge driver... I will ditch it.""

btw I also have HD2600Xt from ati, which has hdmi audio capability, can they conflict?

No problem with ATI is ignored...
Always test on a clean install...

#351
MGJulius

MGJulius

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 505 posts
  • Gender:Male
  • Location:sudo rm -rf /
Does this support every audio codec, because I tried on my 1986A codec and it didnt work

#352
dakkie

dakkie

    InsanelyMac Protégé

  • Members
  • PipPip
  • 72 posts
  • Location:Cracow/planet POLAND
Strange things, couse everything looks fine with my AD1988b (ASUS P5B Premium) profiler looks great and system preferences shows devices as well but .... nothing comes out from speakers.. ;) silent ...don't know why

#353
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 694 posts
  • Gender:Male

Strange things, couse everything looks fine with my AD1988b (ASUS P5B Premium) profiler looks great and system preferences shows devices as well but .... nothing comes out from speakers.. :| silent ...don't know why

You are unlucky owner of unnsuported revision...
Same stuff happen on a friend AD1988b or msi wind alc888 or my atom alc662 etc.
I dont know, yet, where is the problem. :)

#354
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 274 posts
  • Gender:Male
Hi, The King. A strange thing happened here. Recently I did a clean installation of Mac OS X 10.5.6 but used the Legacy kexts which I did in 10.5.4 upgraded to 10.5.6 the kext cannot load now. Dunno what`s wrong.

#355
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

You are unlucky owner of unnsuported revision...
Same stuff happen on a friend AD1988b or msi wind alc888 or my atom alc662 etc.
I dont know, yet, where is the problem. :(

+1.......BenQ S41 ALC262.....only input working.

#356
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 274 posts
  • Gender:Male
Hi, all. I've get all device working. But I noticed the Input has a very annoying echo. How to lower the echo? Is there a similar solution like the noise reduction function to add? Anyone succeed, please post and reply. Thanks a bunch.

#357
pierrox

pierrox

    InsanelyMac Protégé

  • Members
  • PipPip
  • 90 posts

1. First step --> Linux Codec Dump
-It is a must for start patching applehda.kext, my advice use latest linux distro you can find, dump it and save it in a safe place!
*New Since I found some errors in ubuntu dumps I advice you to use mandriva-linux-one-2009-KDE4-int-cdrom-i586 to make the dumps, you will get a clean codecgraph w/o errors b/c mandriva use latest alsa drivers...


That's interesting, I've just tried both and Mandriva gives my MSi Wind an ALC1200 codec, where Ubuntu gives it the correct (if I've read the right info on the web) ALC888. I'll compare them further to see who's got it right.

#358
marionez

marionez

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 425 posts
10.5.7 is out... and AppleHDA now is slightly different! -_-

#359
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
HDAenabler needs edit to work on 10.5.7

actual HDAenabler info.plist says:
<key>com.apple.kernel.iokit</key>
		<string>6.9.9</string>

need to say:
<key>com.apple.kernel.iokit</key>
		<string>7.9.9</string>


#360
shatterhenner

shatterhenner

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 108 posts
nice one, macgirl...thanx for this





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