Jump to content
janek202

HDA Wizard - Simple tool for AppleHDA.kext

150 posts in this topic

Recommended Posts

great share, works for me on P67A-UD4-B3 on ML DP2 : ) thanks man

 

ALC 889 for 5.1 Speaker

I want to share my new 889 patch files. I test GA X58A-UD3R board. Now you can use 3 LineOut and HeadphoneOut. So you can use 5.1 speaker in Audio MIDI setup. I cannot make HeadphoneOut auto detection, so I delete SPDIF output (I don't use it anyway.) You have to connect orange pin to gray connecter. Don't forget bin patch !!

 

I attach layout889.xml, Platforms.xml, and info.plist.

 

NOTE: you have to switch to line-out in the utilities

Share this post


Link to post
Share on other sites
Advertisement

Hi Andy, i just want to tell you that your app works like a charm in mountain lion 10.8, I've patched the original applehda for my p5q (alc1200) like i always do in snow or lion.

cheers and tnx for the usefull application!

 

Hi stefano.85,

 

Can you please post the ALC1200 HDEF entry in your DSDT? Also, can you upload your patched AppleHDA.kext for Lion? I have an Asus P5Q-EM that also has ALC1200, and I cannot get audio working using AppleHDA.

 

Your help will be very much appreciated!!

 

Thanks,

Dil83

Share this post


Link to post
Share on other sites

Can you please post the ALC1200 HDEF entry in your DSDT?

He's probably using the same code as everyone else. It's very rare to see HDEF DSDT code with modifications for a specific sound device. Some people add code to inject make and model of the device so that it shows in System Profiler, but that's purely cosmetic.

 

There are two different versions of the DSDT HDEF device, one for nforce and one for Intel chipsets:

http://www.projectos...findpost&p=3781

 

Make sure you're using the appropriate one according to motherboard chipset, and that you have Method DTGP somewhere in there as well.

can you upload your patched AppleHDA.kext for Lion?

Why?

 

Here, let me hold your hand:

 

Download HDAWizard from the first post in this topic.

Grab the plist and xmls for ALC1200 from this post:

http://www.insanelym...dpost&p=1740532

Extract the ALC1200 archive to somewhere convenient

Run HDAWizard

Select ALC1200 in the drop down menu

Load the plist and the xmls from ALC1200.zip in their respective slots

Start the patching process

Reboot

Profit.

Share this post


Link to post
Share on other sites

Why?

The reason why I am asking for both is because I can't seem to find a working combination of DSDT edit and ALC1200 patched AppleHDA.kext. I've been stuck using VoodooHDA.kext ever since Snow Leopard was released, and I have tried countless .kexts and DSDT edits to get audio working using AppleHDA.kext. Since the board stefano has is similar to mine and he has a working solution, I wanted to see how he got it working. I have no problem with DSDT editing although I use the Method MCDP instead of Method DTGP in my DSDT's. One more thing, my clean untouched DSDT does not have any audio section in it at all, so I cannot just change AZAL to HDEF, and then add codec info to the end. If someone else has the Asus P5Q-EM motherboard, and I am wrong about there being no audio section in the DSDT, please let me know.

 

Here, let me hold your hand:

 

I do appreciate you "holding my hand" on this Gringo, as I was unsure where to find the plist and xml files I needed for ALC1200, so thanks for your help with that!

I will try patching my own AppleHDA.kext and try every ALC1200 DSDT edit that I've found so far, and will post back with the results.

Share this post


Link to post
Share on other sites

One more thing, my clean untouched DSDT does not have any audio section in it at all, so I cannot just change AZAL to HDEF, and then add codec info to the end.

ASUS P5Q series boards have no code for the on-board audio in their DSDT. I've placed the HDEF device code between P0P9 and the first USB port.

Share this post


Link to post
Share on other sites

Ok, I was finally able to get my ALC1200 audio working via AppleHDA.kext, but I had to use a patched 10.6.0 kext along with the HDAEnabler contained within the plugins. I found this solution here: http://www.insanelymac.com/forum/index.php?showtopic=161430

I was also able to remove the HDAEnabler.kext from the plugins folder of AppleHDA.kext, and used the DSDT patch found in the **First Method** which also gave me working audio via AppleHDA.kext. If I try to use the patched 10.6.2 or 10.6.3 kexts on that post, I end up with no audio. I tried them all with HDAEnabler + AppleHDA combo, and DSDT + AppleHDA combo, and the only one working is the AppleHDA.kext from 10.6.0. I tried to patch numerous versions of the original AppleHDA from 10.6.2-10.7.4, but audio does not work with any of them. For now I'm happy that I finally got rid of VoodooHDA.kext, but don't really understand why any AppleHDA.kext newer than the 10.6.0 version will not give me working audio??

 

Thanks,

 

Dil83

Share this post


Link to post
Share on other sites

Thanks! Almost done withy my ALC898 edited AppleHDA now ;)

I am on ALC898 as well. Can you publish/make available the xml files for this version?

Thanks

Share this post


Link to post
Share on other sites

Hi guys!

This HDA Wizard and the files are very nice.

Worked so pretty damn fine to Lion but...

In Mountain Lion it's not working.

Have anyone here used it in ML with success?

I had to try voodooHDA to make sound work, but I don't like the way voodoo works to sound.

 

Is there anything else to do in ML instead of only patching the AppleHDA.kext like in Lion?

I would appreciate hints to solve my sound issue.

 

Cheers,

bb.

 

EDIT - Success in patching AppleHDA for Mountain Lion and ALC888

If you're having trouble in making sound work for ALC888 in Mountain Lion, take a look at this topic precisely here:

ALC888 Patching to work in Mountain Lion

 

And don't forget to thank VCH888 for the tip.

Nice and easy.

 

Cheers once again,

bb.

Share this post


Link to post
Share on other sites

I am on ALC898 as well. Can you publish/make available the xml files for this version?

Thanks

I need it too!

Please post here.

 

HDAWizard link from 1 post do not work!

Share this post


Link to post
Share on other sites

In Mountain Lion it's not working.

Have anyone here used it in ML with success?

 

Unfortunately Apple changed few things in AppleHDA in 10.8.

 

I will make a new version after 10.8.2 comes out. It will also patch AppleRTC, and put custom DevIDs into Nvidia's kexts, maybe more.

Share this post


Link to post
Share on other sites

Unfortunately Apple changed few things in AppleHDA in 10.8.

 

I will make a new version after 10.8.2 comes out. It will also patch AppleRTC, and put custom DevIDs into Nvidia's kexts, mabe more.

 

Thank you very much....

 

Hope this time my IDT 92HD81B1X5 will work ... :moil:

Share this post


Link to post
Share on other sites

folks can someone help I don't know how to make the xml files all I got it a voodoo dump at this time I just wish someone could help me make an apple hda for lion and ML for this

I'm attaching that file it's an ALC269 for A laptop video works great on this laptop but no go for audio well voodoo had (patched works but volume is low and well it causes kernel panics :(

need some help here

terramir

folks I just found on my laptop the linux audio dumps as well maybe this will help

I'll attach those files as well

voodoodump.txt

audio samsung files.zip

Share this post


Link to post
Share on other sites

These commands are:

cd ~/desktop/AnalyseVerbs

. /AnalyseVerbs verbs.txt > verbs.txt

"verbs" is the file name can be any other name you have placed.

Share this post


Link to post
Share on other sites

What's about 269 ?

 

 

Device (HDEF)

{

Name (_ADR, 0x001B0000)

OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)

Field (HDAR, WordAcc, NoLock, Preserve)

{

DCKA, 1,

Offset (0x01),

DCKM, 1,

, 6,

DCKS, 1,

Offset (0x08),

, 15,

PMES, 1

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0D, 0x04))

}

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x0E)

{

"codec-id",

Buffer (0x04)

{

0x69, 0x02, 0xEC, 0x10

},

"built-in",

Buffer (One)

{

0x00

},

"hda-gfx",

Buffer (0x0A)

{

"onboard-2"

},

"layout-id",

Buffer (0x04)

{

0x0D, 0x01, 0x00, 0x00

},

"model",

Buffer (0x25)

{

"Realtek ALC269 & Intel Display Audio"

},

"device-type",

Buffer (0x21)

{

"High Definition Audio Controller"

},

"PinConfigurations",

Buffer (Zero) {}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

Share this post


Link to post
Share on other sites

Hi Guys,

 

I have an HP dv5-1130ea with IDT 92HD71B7X, pci 111d 76b2. Does anybody has any idea how to path AppleHDA binary for this code? Is there any formula or something, to compute the hex for it?

Share this post


Link to post
Share on other sites

Here is the audio patch for ALC883 (Asus P5K SE). It might work for other mobos as well.

Patch:

sudo perl -pi -e 's|\x85\x08\xec\x10|\x83\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
attachicon.gifALC883.zip

-Info.plist

-layout12.xml

-Platforms.xml

And finally HDEF in DSDT.

Device (HDEF)            {                Name (_ADR, 0x001B0000)                Method (_PRW, 0, NotSerialized)                {                    Return (Package (0x02)                    {                        0x0D,                         0x05                    })                }                Method (_DSM, 4, NotSerialized)                {                    Store (Package (0x08)                        {                            "codec-id",                             Buffer (0x04)                            {                                0x83, 0x08, 0xEC, 0x10                            },                             "layout-id",                             Buffer (0x04)                            {                                0x0C, 0x00, 0x00, 0x00                            },                             "device-type",                             Buffer (0x0F)                            {                                "Realtek ALC883"                            },                             "PinConfigurations",                             Buffer (One)                            {                                0x00                            }                        }, Local0)                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))                    Return (Local0)                }            }
The original kext, created for Aspire 9420, belongs to Kizwan so the credit goes to him.

I just modified the kext for the new AppleHDA.

 

Thanks.

 

Hi I have ALC883 chip on my board too. But I got these errors during boot up. Any idea what I might have missed?

 

 
27/6/13 12:20:39.000 AM kernel[0]: Sound assertion in AppleHDADriver at line 1128
27/6/13 12:20:39.000 AM kernel[0]: Sound assertion in AppleHDADriver at line 1053

Share this post


Link to post
Share on other sites

I rewrited and updated  HDA Wizard, now it's 2.0 version.

 

HDA Wizard is simple tool for patch AppleHDA.kext 

It was designed for quick sound repair after update, without any rollbacks.

 

New functions in 2.0 version:

 

- works with OSX 10.8.x 10.9.x 10.10.x

- It allows you to insert your own Layout and Platforms xml.zlib files and Info.plist

- support to current new binpatch (updated binpatch for Realtek ALC 885, 887, 888, 889, 892, 898, 1150, 1120 and more)

- add option write custom yours binpatch

 

 

It will set permissions, rebuild cache and prelink kernel.

It has drag and drop support.

 

It will not create any files, it will only help you to install them.

 

You still need set proper yours LayoutID in : DSDT (patch HDEF) or in bootloader (Chameleon/Clover) or add HDA Enabler kext with LayoutID.

HDA Wizard 2.0.zip

Share this post


Link to post
Share on other sites

Hard work to a newbie in OSX world... How i can patch my AppleHDA for work? I have a ALC 269 Realtek in my Laptop... Where i find my Layout ID to insert in this xml file? I have a DSDT already to have my FN controls workin properly, And where find a HDAEnabler ??? HAHAHAHAHAHA sorry for the questions...

 

Thanks!

Share this post


Link to post
Share on other sites

I rewrited and updated  HDA Wizard, now it's 2.0 version.

 

HDA Wizard is simple tool for patch AppleHDA.kext 

It was designed for quick sound repair after update, without any rollbacks.

 

New functions in 2.0 version:

 

- works with OSX 10.8.x 10.9.x 10.10.x

- It allows you to insert your own Layout and Platforms xml.zlib files and Info.plist

- support to current new binpatch (updated binpatch for Realtek ALC 885, 887, 888, 889, 892, 898, 1150, 1120 and more)

- add option write custom yours binpatch

 

 

It will set permissions, rebuild cache and prelink kernel.

It has drag and drop support.

 

It will not create any files, it will only help you to install them.

 

You still need set proper yours LayoutID in : DSDT (patch HDEF) or in bootloader (Chameleon/Clover) or add HDA Enabler kext with LayoutID.

 

Working great with ALC892 on 10.10.3.  Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ITzTravelInTime
      KX AUDIO DRIVER MOD
       
      Hi guys i am a small developer, i really like to use my sound blaster cards on my machines and i love also coding, so when i find the source code for the kx audio driver on git hub and then Eugene, the creator of kx audio driver decided to no longer maintain the project, i decided to start working on a mod of this driver and maintain it. 
       
      With my mod, created starting from the sources of the last official version of kx audio driver and all the small commiunity updates, i am working to keep the driver compatible with the latest mac os versions and to improove the driver over time.
       
      Supported cards are:
       
       - most of the Sound Blaster live!, live! 5.1 and live! 5.1 digital series (except for the cards not using the 10k1 architecture)
       - sound blaster pci 512 and pci 256
       - Sound Blaster Audigy, Audigy 2 and Audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip (like the EMU8852 aka 0404m, including the pcie version)
       - Sound Blaster Audigy 4 (SB0610 only) and the Audigy 4 pro
       - Sound Blaster Audigy RX (SB0155)
       - other creative and e-mu cards based on the (10k1,10k2, 10k2.5 and CA10300 based cards)
       
      The NOT supported cards includes (but are not limited to):
       
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - Any CA0106 based card and cards with similar architectures (like sound blaster live! 24 bit, sound blaster audigy SE SB0570, audigy LS and similars, but audigy SA is supported)
       - Any sound blaster x-fi (some of them works on macOS using a modified version of voodoo hda)
       - Any sound blaster recon3D
       - Sound blaster Audigy FX
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5/AE7/AE9 series
       - Any sound card without an emu sound chip
      - Any ISA Sound card
       
      In the time being the things i have modded or added with this mod are:
       
      - cracking and stability fixes
       
      - added a more proper support for the pci express Sound Blaster audigy rx SB0155 (which basically is an audigy 4 with a pcie bridge chip) 
       
      - more user-frienly names for the cards in the settings and other system menus (so the name will be, for example, SB live! 5.1 SB0060 instead of kx SB0060 [e880] witch was shown in the original driver)
       
      - added support to sample rate changing and bit resolution change (the absolte worst supported quality is 7 khz at 8 bit dept while the absolute best is 192 khz at 32 bit depth)
       
      - inputs support
       
      - added boot args to manage the driver (more info on those soon)
       
      What i'd like to implement but i don't know how to do:
       
       - fix the support when using more than one card, to get all the cards shown in the settings and other menus,
       
       - have the gameport/midi port of older cards to be used in mac os as a midi in/out
       
      If other developers would like to join and help they are free to do so, this is a free open source project afterall, and also an hand from other people with testing and feedback will be nice.
       
      LINKS and downloads:
               -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   (kext download coming soon, since an update is coming)  
       





    • By AbhilashSathe
      I'm currently using AppleALC inside /EFI/Clover/Kexts.
      Sound works fine through Laptop speakers. However, as soon as I connect my earphones, i start getting a continuous buzzing sound. Can anyone help me with this?

      config.plist
      SSDTS_DSDT.zip

       
      rough 
    • By LSP414
      Cannot figure out where to put custom ringtones on Catalina so I can select them in contacts. They are in the iTunes folder but are not recognized
    • By Diptamondal
      dell inspiron 5378 hackintosh wifi don't work 
    • By Slice
      Some users claim that using VoodooHDA they hear loud bump at system start and sound in system comes with noise.
      Although this can be repaired with existing drivers I propose a version that do this automatically.
      It started silently and have very clear output. The file is compiled as 32/64 and works from 10.6 up to 10.12.
      VoodooHDA.kext-289.zip
      The sources is in my signature.
       
      There is a VoodooHDA,prefPane compatible with Sierra
      VoodooHDA.prefPane-289.zip

       
      Now there is a version 2.9.0 by Zenith432.
      It can work with multichannel sound and play it on 5.1 analog system.

      VoodooHDA.kext-2.9.0d8.zip
      27.04.2017 
      d10 - Fix issues involving AudioControls
      VoodooHDA.kext-2.9.0d10.zip
       
      20.11.2018
      Fix issue with scratch on slow CPU
      VoodooHDA.kext-291SSE.zip
       
      04.05.2019
      More checks for memory allocation. More clear sound anyway. 
      VoodooHDA.kext-292.zip
      IOAudioFamily.kext.zip
       
       
×