Jump to content
janek202

HDA Wizard - Simple tool for AppleHDA.kext

151 posts in this topic

Recommended Posts

Advertisement
OK guys, this is the full monty for the ALC888 (running perfectly on my Shuttle XPC SG31G2V2):

...

Thanks for your effort but unfortunately i have no microphone input using this method. Switched back to 10.6.2 AppleHDA/ALC8xx.

Share this post


Link to post
Share on other sites
@ janek202

how can i platform.xml / layout.xml / info.plist for my codec

If you were using LegacyAppleHDA.kext before, then it is easy to convert those to above mentioned files. Platform.xml and Layout.xml are indeed plist files. If you open them, which you can download from this topic, with a plist editor and compare them with the info.plist inside the LegacyAppleHDA.kext, you'll see that what you need to do is to split the content of info.plist of the LegacyAppleHDA.kext into three different files: layout.xml, platforms.xml and info.plist.

 

Give it a try and let us know the result.

Share this post


Link to post
Share on other sites
If you were using LegacyAppleHDA.kext before, then it is easy to convert those to above mentioned files. Platform.xml and Layout.xml are indeed plist files. If you open them, which you can download from this topic, with a plist editor and compare them with the info.plist inside the LegacyAppleHDA.kext, you'll see that what you need to do is to split the content of info.plist of the LegacyAppleHDA.kext into three different files: layout.xml, platforms.xml and info.plist.

 

Give it a try and let us know the result.

no i have no legacyhda

this codec is of my new notebook just bought it from three days :)

so this is first try to patch applehda for it

 

if you don't mind can you help me making this work for my codec ;)

 

the only i did on applehda is patching binary by this code

sudo perl -pi -e 's|\x84\x19\xd4\x11|\xd1\x76\x1d\x11|g' /Users/Mido/Desktop/AppleHDA.kext/Contents/MacOS/AppleHDA

 

added dsdt part

 

and now kernel log contain

 

9/1/11 3:52:15.000 PM kernel: Sound assertion "0 == widget" failed in AppleHDADriver at line 2083 goto Exit
9/1/11 3:52:15.000 PM kernel: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
9/1/11 3:52:15.000 PM kernel: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit

Share this post


Link to post
Share on other sites

@mohamed

this the file .

just set your layout id in your dsdt to 7603(B3 1D):

the plist is from taptun and script is from bcc9

install file using Hdawizard and run script in terminal

replace the codec id in info.plist in item 17 with your codec and also replace configdata with your pinconfig

also in platform and layput7603 find all ۲۸۷٬۱۴۳٬۴۲۷ and replace with your codec id

audio.zip

Share this post


Link to post
Share on other sites
@mohamed

this the file .

just set your layout id in your dsdt to 7603(B3 1D):

the plist is from taptun and script is from bcc9

install file using Hdawizard and run script in terminal

ok thanks very much

are this files work for my audio codec without any edit or i must customize it :)

thanks

 

on info plist i will add my codec id an config data

on layout i will ad codec id

on patcher will replace codec id

 

but what about platform :(

 

is this engouh ?!

as tried before with bcc9 ones and notebook stop on blue screen :unsure:

 

ok will try yours one :)

Share this post


Link to post
Share on other sites
ok thanks very much

are this files work for my audio codec without any edit or i must customize it :)

thanks

 

on info plist i will add my codec id an config data

on layout i will ad codec id

on patcher will replace codec id

 

but what about platform :(

 

is this engouh ?!

as tried before with bcc9 ones and notebook stop on blue screen :unsure:

no need to make change in platform just use 7603 as layout id in your dsdt:

about blue screen sorry i don't have this error before .but if you want to get you audio working you must .accept the risk :)

Share this post


Link to post
Share on other sites
no need to make change in platform just use 7603 as layout id in your dsdt:

about blue screen sorry i don't have this error before .but if you want to get you audio working you must .accept the risk :(

no problem booting with -x will solve :roll eyes:

 

you put your config on item 17 ?

i attched edit for my codec

 

0x111d76d1

 

 

<00A71C20 00A71D10 00A71EA1 00A71F04 00B71C1F 00B71D10 00B71E21 00B71F04 00C71CF0 00C71D00 00C71E00 00C71F40 00D71C10 00D71D01 00D71E17 00D71F90 00F71CF2 00F71D00 00F71E00 00F71F40 01171C60 01171D01 01171EA3 01171FD5>

 

for dsdt

this is correct for layout ?

 

						"layout-id", 
					Buffer (0x04)
					{
						0xb3, 0xd1, 0x00, 0x00
					},

 

:unsure:

audio.zip

Share this post


Link to post
Share on other sites

 Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: nstat_lookup_entry failed: 2
Sep  9 16:12:48: --- last message repeated 1 time ---
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "!result" failed in AppleHDAPath at line 568 goto handler
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "!path->initPathFromXML ( path_aArrayOfNodeIdDictionaries, functionGroup )" failed in AppleHDAPathSet at line 77 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "!pathSet->initPathSetFromXML ( pathSet_aArrayOfPathArrays, fHDAFunctionGroup )" failed in AppleHDAEngine at line 1300 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != buildPathSets ( pathGroupArray )" failed in AppleHDAEngine at line 327 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != result" failed in AppleHDADriver at line 2134 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
Sep  9 16:12:48 The-Kings-MacBook-Pro kernel[0]: Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit

 

audio.tiff

 

so that is what i got :unsure:

Share this post


Link to post
Share on other sites
:superman:

...

 

I have a system with a ALC1200 and I tried your XML files/Binpatch, I can see the devices in the control panel and system profiler, except I have no output. I think that my layout.xml might be different than your ALC1200. Can you help me fix my Layout.xml so I can get sound output?

 

Thanks!

Edited by .: ErmaC :.
No need to quote all the reply

Share this post


Link to post
Share on other sites
I have a system with a ALC1200 and I tried your XML files/Binpatch, I can see the devices in the control panel and system profiler, except I have no output. I think that my layout.xml might be different than your ALC1200. Can you help me fix my Layout.xml so I can get sound output?

 

Thanks!

alc888.zip

Share this post


Link to post
Share on other sites
:)

...

 

Hi I have MB P5Q-E with a AD2000B and I tried your XML files/Binpatch, I can see the devices in the control panel and system profiler, except I have no output. I think that my layout.xml might be different than your AD2000B. Can you help me fix my Layout.xml so I can get sound output?

 

Thk

Edited by .: ErmaC :.
No need quote all the reply

Share this post


Link to post
Share on other sites

Hi evrybody and thank you janek for all your usefull three contributions

 

I have a issue here on the MSI P67A-GD65 with ALC892 codec. I have audio but the sound is stopping evry 2 minutes with annoying pops. I have the same pops when I activate an audio reader, finder, itunes, VLC.

 

I'm using actually ALC8xxHDA + AppleHDA Rollback + ALC892 from Tony's [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url]

 

Any idea ?

 

Thanks

Share this post


Link to post
Share on other sites

ALC892 (Complete) Tested on Asus board. No idea for other.

Info.plist

layout892.xml

Platforms.xml

Two binpatch edit are needed

's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g'

's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g'

ALC892.zip

DSDT edit is mandatory.

[size=4]			Device (HDEF)
		{
			Name (_ADR, 0x001B0000)
			Method (_PRW, 0, NotSerialized)
			{
				Return (Package (0x02)
				{
					0x0D,
					0x05
				})
			}

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x0C)
					{
						"subsystem-id",
						Buffer (0x04)
						{
							0xA0, 0x00, 0x00, 0x00
						},

						"subsystem-vendor-id",
						Buffer (0x04)
						{
							0x6B, 0x10, 0x10, 0x10
						},

						"layout-id",
						Buffer (0x04)
						{
							0x7C, 0x03, 0x00, 0x00
						},

						"codec-id",
						Buffer (0x04)
						{
							0x92, 0x08, 0xEC, 0x10
						},

						"device-type",
						Buffer (0x11)
						{
							"ALC892"
						},

						"PinConfigurations",
						Buffer (Zero) {}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}
		}[/size]

 

I have a issue here on the MSI P67A-GD65 with ALC892 codec. I have audio but the sound is stopping evry 2 minutes with annoying pops. I have the same pops when I activate an audio reader, finder, itunes, VLC.

Share this post


Link to post
Share on other sites

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.

889_Patch.zip

Share this post


Link to post
Share on other sites

hy

i've hp (in signature) with IDT.. but IDT what?

it's difficul to see where is the complete name!

so my card is 111d 7605

 

and all the idt founded.. never run!

Share this post


Link to post
Share on other sites
ALC892 (Complete) Tested on Asus board. No idea for other.

Info.plist

layout892.xml

Platforms.xml

Two binpatch edit are needed

's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g'

's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g'

ALC892.zip

DSDT edit is mandatory.

[size=1]            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x0D, 
                       0x05
                   })
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0C)
                       {
                           "subsystem-id", 
                           Buffer (0x04)
                           {
                               0xA0, 0x00, 0x00, 0x00
                           }, 

                           "subsystem-vendor-id", 
                           Buffer (0x04)
                           {
                               0x6B, 0x10, 0x10, 0x10
                           }, 

                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x7C, 0x03, 0x00, 0x00
                           }, 

                           "codec-id", 
                           Buffer (0x04)
                           {
                               0x92, 0x08, 0xEC, 0x10
                           }, 

                           "device-type", 
                           Buffer (0x11)
                           {
                               "ALC892"
                           }, 

                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }[/size]

 

Thank you ErmaC but I'm looking for a non DSDT solution because I want to keep my Speedstep working. Is working only without DSDT.

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. 
       
      With my mod, created starting from the sources of the last version of kx audio driver, and also by using apple developer documentation for pci and audio drivers as reference, i am working to achieve 2 things mainly: get all the cards supported by the driver to work with all the recent versions os macOS and add support for other cards that are not officially supported by the driver that works or could, but needs to be more properly supported.
       
      This driver is made to support cards based on the E-mu 10k1, 10k2 and similars (like what is used by audigy rx and audigy 4 cards).
       
      Supported cards are:
       
       - most of the sound blaster live!, live! 5.1 and live! 5.1 digital series
       - sound blaster 512
       - sound blaster 256
       - other creative and e-mu sound cards based on the 10k1 chip (cards with the ES1370/ES1371/ES1372/ES1373 chips are not supported)
       - sound blaster Audigy series (1 st gen)
       - sound blaster Audigy 2  and audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip
       - Some Audigy 4 cards (SB0610 only) and the audigy 4 pro
       - Sound blaster Audigy RX (sb0155)
       - other creative and e-mu cards based on the (10k2, 10k2,5 and CA10300 based cards)
       
      NOT supported cards:
       
       - Any ISA Sound card
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - CMI8738/CMI8788 based 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
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5 series
       
      In the time being the things i have modded or added with this mod are:
       
      - increased the simple buffer frames number with different values for emu10k1 based cards and emu10k2 based cards (including recent audigy 4 and rx) to reduce and all the audio cracking issues and possibly fixing all of them on a lot of cards
       
      - added a more proper support for the pci express sound blaster audigy rx (which basically is an audigy 4 with a pcie bridge chip) 
       
      - added more fancy names for the cards in the settings and other 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 chaning and added lots of sample rates (from 8 khz to 176,4 khz) to accomodate any possible usecase (note that 10k1 sound cards are limited up to 48khz sample rate, and 10k2 based cards for now are limited up to 176,4 khz and because of issues getting 192 khz to work, for now the driver goes up to 176,4 khz for supported cards) 
       
      - added boot args to manage the driver:
       
      Boot args to use with the kx audio driver mod: -kx_disable or -kxdisable or -kxoff This will prevent the driver from doing any initialization work, so the driver is basically disabled, use it to boot your ssytem in case the driver is giving you issues and kernel panics while you are trying to boot/using your system, so you are able to remove this driver or replace it with another version of it or to do some truble shooting. -kx_debug or -kxdebug or -kxspec Will show more debug info about the card, mainly the i/o port address and the kind of bus that it uses -kx_exp_deb or -kx_beta or -kxbeta Will enable experimental and probably not working or unstable features like showing inputs for the card or 192 khz sampling rate, use it only for testing and debug purposes, this may likely cause instability and problems in the everyday usage! Use it at your own risk! -kx_original or -kxoriginal This will basically turn off almost all the mods of this mod, so the driver will come to work as it was before modding it, this can be usefoul as a "safe mode" like feture to have a working driver in case of problems with features of the mod, so using this means no crsking issues improvements, only 48 khz sample rate and only features of the non-modded kx audio driver for mac os x  
      - created a script file to use with the driver for debug and also installer replacement, it can be also used to unload and reload, replacement of the driver without rebooting
       
      What i'd like to implement but i don't know how to do:
       
       - I'd like mainly to add a more proper support to the pci bridge chip of the audigy rx,
       
       - have audio inputs working,
       
       - fix the support when using more than one card, to get all the cards shown in the settings and other menus,
       
       - have the gameport/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 me, you can, and also an hand from other people with testing and feedback will be nice.
       
      link for the kext only (if you have clover put it in [your clover efi folder]/clover/kexts/[your macOS version]/ so it will not be deleted when updating macOS):
               - download from the downloads section:          kX Audio Driver Mod by ITzTravelInTime 1.01                                                                                    - external download:                                      https://dl.dropboxus...Driver.kext.zip   link for the installer pack (the best way to install it, but you have to reinstall it when you upgrade macOS, remeber to fix kext permitions and rebuild the kernelcache if you want to remove the kext from it's install directory without using the unistall feature of the provvided script):              - download:                                                   https://dl.dropboxus...aller pack.zip   Source code from Git Hub:          -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   NOTE: Some system because of some problems with the HPET may need to use FixHPET in clover and to install the kext in /System/Library/Extensions  






    • By ITzTravelInTime
      This driver is a mod of the popular kx audio driver for mac os x, the project goal is to still maintaining it for the future releases of mac os and to include as much cards as possible and to get all the features of the cards to work.
       
      Currently the only features not supported are audio inputs and integrated midi and synth capabilitues of the cards, and some minor things like creative remote controllers or software controlled volume gears on creative external drives and bays)
       
      It supports most the sound blaster live! series cards, the sound blaster PCI 512, most of the audigy (emu 10k2 based) series, audigy 1, audigy 2, audigy 2 zs, audigy 4 (SB0610), audigy 4 pro, audigy 5 and audigy rx (sb1550) and some e-mu edsp audio cards with all the recent versions of mac os, tested to work with mac os yosemite, el capitan, sierra and high sierra on intel based machines from socket 775 to 1151 (including enthusiast platforms like x58, x79, x99, x299) and also confirmed to work on mac pros.
       
      reference topic:
       
      Kx audio driver mod [sound blaster live!, audigy 1/2/4/RX emu edsp]
    • By giacomo.furlani
      Salve, il mio portatile ha la scheda audio  Realtek ALC3234, uso voodoo hda ma con questo Kext l'audio è più basso del normale.. cosa posso fare? Si sente più basso anche il microfono, infatti spesso siri non capisce cosa dico
    • By spectra
      Hi people, can someone help to put my HDMI sound working? I already tried different methods and I can't figure a way to fix this problem.   And another question, someone knows why the HDMI port just work if i use macbook pro 14,2 on smbios? Because my hardware is much more similar to 14,3.    
      thanks guys
      My system dump
      CLOVER.zip
      DarwinDumper_3.0.4_01.02_12.24.51_MacBookPro14,2_AMI_X64_4392_High Sierra_17D47.zip
    • By maxb2000
      Hi,
       
      I have a problem with sound via HDMI on GTX 750 Ti. The sound only works after sleep I put and wake up the Hackintosh from sleep. The TV gets detected before sleep in the Sound Settings, but I want to play YouTube, Play Music or anything else there is no sound coming out. After sleep it's working without a problem. So in roder to get sound via HDMI I need to start the hackintosh, put it to sleep, wake it up and then I have sound.
       
      The question is: Why the sound via HDMI doesn't work without sleep ?
       
      You can find the the system specs in the signature.
       
      Logs:
       
      https://drive.google.com/open?id=1sAcqNZCI-luSzkCkikR39UO0HC4LVDe_
       
      https://drive.google.com/open?id=1XpVGbp77HF0R5vdUoyL9GzR2YoeLmxaH
×