Near Perfect Audio With Latest AppleHDA

March 12th, 2009

Apple / Mac

Volume Error

So there have been many updates to the audio since the 1525_codec and the AppleHDAPatcher that were included in the ever-so-popular drivers pack. Since then the Internal Microphone has been enabled as well as the External Microphone, switching to both the left and right headphone jacks for headphone use (just not both at the same time…yet), the sliders for the Internal Mic and External Mic which allows for less background noise when using the Microphone, and all while the Internal Speaker works beautifully. But of course you can’t get these updates with the previous codec dump so it is time for a long awaited update to the site.

To get the new audio kext working, you will need Kext Helper and AppleHDA.kext which can be found here. Just delete ALCinject.kext and AppleAzalia.kext beforehand and then load the new AppleHDA.kext with Kexhelper and restart. Upon restarting, you should find everything working great.

***In the rare case that this does not work for you,  try Richard’s instructions in the comments***

Audio Out

(Richard: Thanks! Now I can rock out with audio out and blow my speakers.)

, , , , , , , , , , , , , ,

About Thomas

Thomas is a self-proclaimed guru (just ask him). He enjoys long walks on the beach, running Mac OS X on his Inspiron 1525, and tweeting about nonsensical life happenings. You can follow Thomas on twitter, email him, or search the interwebs for all his personal information. Neither should be too difficult.

View all posts by Thomas

87 Responses to “Near Perfect Audio With Latest AppleHDA”

  1. Gasher

    Hey Thomas,
    Any chance you could give me some hints on how to get the following audio card working?

    00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)

    I have tried virtually every kext i can think of and have several active threads over on InsanelyMac forum on this issue. It seems like it should be trivial to get it working but for some reason it is not.

    My current guesse is that I am missing the com.apple.driver.AppleHDAController. Any idea where I can find this?

    Additional info is here:
    http://www.insanelymac.com/forum/index.php?showtopic=97201&st=180&start=180

    Last post in that thread.

    Best regards,
    Gasher

    Reply

  2. dlvndr

    i tried to find these 2 files but i didnt find them firstly my sound is working well but when i istall the hot keys then it went to mute ..any help?

    Reply

    • Thomas

      To which two files are you referring? And if by hot keys you mean media keys then it should not effect audio playback as they are controlled by two totally different kexts.

      Reply

  3. Nick

    Yes, i have a sigmatel 9205, but for some reason nothings working. i followed all the instructions i could find step by step carefully. Nothing.

    Reply

  4. Nick

    Hey, i just tried richards method and STILL nothing. i’ve been at this for days. i’m using iatkos v7 and a Dell Inspiron 1521. ive tried so many different kext files and guides i’ve lost track. Nothing will work for me.
    please help
    thank you in advance.

    Reply

  5. kade

    hello . i have update to 10.5.8 from 10.5.6 after update haven’t get the sound to work how do i fix it ,anybody?

    Reply

  6. wa77ior

    i think it uses soundmax hd audio. (hp 550)

    Reply

  7. wa77ior

    would this work on a hp550 too?

    Reply

  8. aciofu

    AppleHDA_patcher not working: I drag the .txt file, but nothing happens

    Reply

    • Thomas

      You don’t drag the text file, you drag the .codec file.
      Edit: I’m an idiot. You’re right for dragging the 1525_codec.txt file. Just make sure to drop it in the AppleHDA Patcher window.

      Reply

  9. machak

    Yeah, its an ALC888 or Realtek Audio driver, I’m not really sure which one. Hope this helps, Thanks.

    Reply

  10. machak

    Hey, anyone know how to get the sound working on a gigabyte board. Tried the stuff posted by Richard and it seems that its meant for a Dell and no luck with the original Kext Helper and AppleHDA.kext steps. Thanks

    Reply

    • Thomas

      You are probably facing issues because you do not have Sigmatel 2905 audio. If you can find out the audio that your Motherboard uses then I can find the proper codec for you.

      Reply

  11. Thomas

    Ok I want you to navigate to /Library/Preferences/SystemConfiguration/ and drag com.apple.boot.plist to your desktop. Open it with textedit and then find where it says “Kernel Flags”. Then on the line directly below it change it so that it reads “-f ForceWake=y” w/o quotes (-f and ForceWake=y are separated by a single space. Then reboot and upon logging in try to put the computer to sleep.

    Reply

  12. Osmac

    I have the same Sigmatel 9205 according to the BIOS.

    I am pretty sure it does not directly relate to the Audio, it just surfaces because of the audio kext. As you may recall, I also am not able to get sleep/hibernation to work.
    For some reason sometimes a /vat/vm/sleepimage is created even though I had defined the location at /dev/null (which got changed back to /var/vm/sleepimage…).
    I have no data on the circumstances it got created.

    Reply

  13. Thomas

    Hmmm. This is very strange. It could be some strange situation where you have different audio hardware. Boot into the BIOS (I assume you know how to do this) and then go to the System Info section. It should say something about audio. Does it say Sigmatel 9205 or something different?

    Reply

  14. Osmac

    Been out a few days

    Tried your suggestion but this yields the same result…..

    Reply

  15. Thomas

    Open up the terminal and type “sudo shutdown -h now” without the quotes. Then type your password and your computer should start to shutdown. Let me know if you receive any kernel panic when doing this and if so is it the same error as before?

    Reply

  16. Osmac

    I have seatbelt and AppleDecrypt and I do not have ApplaAzalia or ACLinject.
    I installed AppleHDA and HDAEnabler with kexkthelper, repaired permissions and rebooted.

    thanks all for your contibutive thinking

    Reply

  17. Genaro Bonilla

    Another thing you should check if ALCinject.kext is deleted.

    Reply

  18. Thomas

    If he didn’t have seatbelt.kext installed then he wouldn’t be able to mount DMG’s and would get a kernel panic every time he tried so thats not likely. Also, AppleAzalia.kext screws up the AppleHDA.kext so i also doubt its that.

    Reply

  19. Genaro Bonilla

    osmac do you have appleazalia.kext installed?

    In addition to this do you have seatbelt.kext and AppleDecrypt.kext installed? This is a wild guess but perhaps you could get shutdown working with those.

    Reply

  20. Thomas

    How exactly are you installing the appleHDA.kext?

    Reply

  21. Osmac

    Reinstalled 10.5.6 (XxX). Initially shutdown worked okay, but after installing appleHDA.kext not anymore… Not specifically this new appleHDA, but also my “old” appleHDA.

    Reply

  22. Jacob

    @Osmac
    http://www.tinypic.com is one place you can upload pictures.

    Reply

  23. Osmac

    Do not know how to upload a picture, but have send it to you though email.

    Reply

  24. Thomas

    Still there? Would it be possible for you to induce the Panic and then take a picture of it? And sorry about not having a speedy response this time but Call of Duty was calling my name.

    Reply

  25. Osmac

    By the way, I greatly appreciate your quick responses!

    Reply

  26. Osmac

    Reinstalled your appleHDA.kext, repaired permissions and rebooted.
    Ausio works fine, Shutdown problem still exists…

    Reply

  27. Thomas

    Ok so that means that it was appleHDA.kext causing the issue (it may seem obvious but I just had to be sure). Now go to the top of this post to download the applehda.kext and reinstall it, repair permission, and restart and your audio should be working again. You also shouldn’t have any issues with shutdown.

    Reply

  28. Osmac

    Deleting appleHDA.kext, repairing permissions and restarting resolves the issue, but leaves me without audio…

    Reply

  29. Thomas

    It appears that appleHDAcontroller is supposed to be in the plugins folder in the contents of AppleHDA.kext so thats alright. It could just be that your appleHDA.kext got screwed up somehow when installing it. I think you should reinstall it, repair permissions, restart, and then see how it works for you. If this doesn’t work then it could be a power management problem, although I doubt it.

    Reply

  30. Osmac

    Thomas, yes I installed this audio fix. I have looked for the appleHDAcontroller.kext, but did not find it in System/Library/Extenstions but rather in the contents of appleHDA.kext (plugins section)

    Reply

  31. Thomas

    Osmac- My first guess would be that there is some conflict with you audio drivers. I have two questions for you to answer. First, did you install the audio fix found at http://www.dailyblogged.com/275/near-perfect-audio-with-latest-applehda/ and second, do you currently have an appleHDAcontroller.kext in your /System/Library/Extensions/ folder?

    Reply

  32. Osmac

    Thomas, when shutting down (not restarting) I get a kernel panic “A driver releasing a(n) AppleHDAController has corrupted the registry …”

    Any thoughts on how to resolve this?

    Reply

  33. Alejandro

    Awesome!.
    Thank you very much. I´m on a 1525 with XxX 10.5.4
    and this works fine.
    Thanks again.

    Reply

  34. Genaro Bonilla

    It does the exact same thing as the one I created so either method works.

    Reply

  35. Richard

    This is good stuff. Take my word for it: Use this kext!

    Reply

  36. Wolfer

    Richard/Genaro,

    Is this dump a greater version, better, or more functional than that last Kext you dumped on InsanelyMac in Dec. or Jan., Genaro? I haven’t tested the switching or plugged mic yet so I’ll be lazy and just ask you two before I download the above and go to work on the audio again.

    Thanks!

    – Dave

    Reply

  37. Genaro Bonilla

    Well the camera actually has two microphones and in vista it is compiled as a microphone array which you can use but I’ve never been able to get it to work so I just settled with what works.

    Reply

  38. Thomas

    For those of you that don’t know- whether you have a webcam or not, you still have an internal mic. Every model of the Inspiron 1525 has an internal mic. If you got a webcam with your laptop then the only thing added was the camera.

    Reply

  39. Richard

    All this time I’ve owned the 1525 I didn’t realize there was an internal mic until. And it works.

    Reply

  40. Thomas

    Yes, both the internal and external mics work with this fix

    Reply

  41. rahul

    I’ve tried speech recognition with the internal mic. Works pretty well :) Yet to try plugging in an external one.

    Reply

  42. Genaro Bonilla

    Does the internal and external mic work with this fix?

    Reply

  43. Richard

    I love having working mute. Now I don’t have to exit out of iTunes when I get a phone call and I’m rocking out to some old Stroke 9 jams.

    Reply

  44. Alex

    Richard’s instructions worked for me. Both outputs work, mute works, but I haven’t tested the mic yet.

    Reply

  45. Richard

    I had both files — deleted them as instructed and when I booted after installing the new kext, sound does not function at all.

    Reply

  46. Alex

    It didn’t work for me when I tried it. Like rahul, I couldn’t find “AppleAlalia.kext”. I deleted the other one, installed the new kext, and then rebooted. My sound didn’t work when it booted.

    I reapplied the old kext. I might try it again later.

    Reply

  47. Richard

    UPDATE!

    After poking around a bit, I’ve come up with a solution that works for me (XxX 10.5.6). Feel free to give this one a try if the above has failed. I haven’t tested this with a mic, but it fixes my mute problem — mute now knocks the sound dead and this might make other things work, too.

    First, download my files here

    Unzip the files to your desktop. Now open up Terminal and let’s delete some files. Type “sudo su -” to log in as the root user. Type your user password to get in.

    Now in Terminal type: “cd /System/Library/Extensions/” and that’ll bring you to your Extensions folder. Be sure to make a backup of your extensions before doing this (or you can restore from my original Dell 1525 files). Now type the following (without the quotes, of course):

    “rm -fr ALCinject.kext”
    “rm -fr AppleAzalia.kext”
    “rm -fr AppleHDA.kext”

    Congratulations, you’ve just broken sound. Now let’s get it working again. With those files clear, let’s drag the codec file into the HDA Patcher icon and it’ll open up and patch AppleHDA.kext. Now install the newly patched AppleHDA.kext with Kext Helper b7. Be sure to tag cache rebuild. Now repair your permissions with Disk Utility and reboot. Ta da :)

    Reply

  48. Richard

    I’m going to try this now. Thomas had said it’d fix my issues with Mute not completely muting the sound. We’ll see what happens…

    Reply

  49. rahul

    Update:
    Thanks Thomas.

    I just replaced only AppleHDA.kext with the one you provided. Its working now :)

    Reply

  50. rahul

    Hey richard, tried this. I couldn’t find AppleAzalia.kext. But i fould ALCinject. I deleted ALCinject and tried. No luck. Now am back with the old AppleHDA kext..

    Reply

Trackbacks/Pingbacks

  1. Address common problems with Dell Inspiron 1525 hackintosh drivers | Mac Your PC - May 30th, 2009

    [...] this doesn’t work you can download this dailyblogged_fix which was posted over at http://www.dailyblogged.com/275/near-perfect-audio-with-latest-applehda/ To run it you have to open the AppleHDAPatcherv1.20 and drag the 1525_codec onto it. After this [...]

  2. Your audio doesn’t work, right? Well…. | Daily Blogged - March 23rd, 2009

    [...] Audio (applys for all issues) – Go here [...]

Leave a Reply