Jump to content

HDA Wizard - Simple tool for AppleHDA.kext


janek202
 Share

150 posts in this topic

Recommended Posts

@ 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.

Link to comment
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

Link to comment
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

Link to comment
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 :)

Link to comment
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 :)

Link to comment
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

Link to comment
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:

Link to comment
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
Link to comment
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
Link to comment
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
Link to comment
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

Link to comment
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.
Link to comment
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

  • Like 1
Link to comment
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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...