Jump to content

ALC889A, Gigabyte (Intel): now having a working front mic


VCH888
 Share

1,156 posts in this topic

Recommended Posts

I've managed to get audio working in 10.6.4 with the vanilla AppleHDA , LegacyHDA from the first post pack + HDAEnabler for snow. ALC 889a here, the 885 code used.

 

Much much cleaner and better sound then VoodooHDA.

Link to comment
Share on other sites

hy,

 

I have a (AMD) 10.6.4 system,

(new 10.6.2 install, without sound kext, upgrade to 10.6.4)

but the sound (alc889a)doesn't work.

 

I have used this method:

"For using my LegacyHDA.kext with AppleHDA.kext v1.7.9a4 (10.6.2) or later, please remove BuiltInHDA key from info.plist of LegacyHDA.kext, see an example."

 

but, has no effect.

 

what can i do?

 

thx

Link to comment
Share on other sites

hy,

 

I have a (AMD) 10.6.4 system,

(new 10.6.2 install, without sound kext, upgrade to 10.6.4)

but the sound (alc889a)doesn't work.

 

I have used this method:

"For using my LegacyHDA.kext with AppleHDA.kext v1.7.9a4 (10.6.2) or later, please remove BuiltInHDA key from info.plist of LegacyHDA.kext, see an example."

 

but, has no effect.

 

what can i do?

 

thx

 

Please read post #803 and post #805

 

Azaliaaudio might help you get one audio output.

Link to comment
Share on other sites

anybody got front/back headphones and mic working?

 

Works for me with HDA Enabler 1.0.0d1 and Legacy HDA.

 

The sound quality isn't great, though. I've got a Yamaha hi-fi amp and 2 KEF IQ10, but these sound much better on Windows, with the realtek driver… I'm not an audiophile at all, but the difference is so obvious I think I'm gonna buy a proper DAC.

Link to comment
Share on other sites

I'm another 662 user trying to get HDMI audio working. I'm using an Acer Aspire Revo r3610. I've attached my current DSDT.aml. It's being used with a kext called ALC662.kext which I believe was originally made for one of the Zotac machines. My current setup shows an extra input and output but works just fine otherwise. I tried adding the relevant parts to my DSDT but no luck. My device id is 0007 as someone else with a 662 also mentioned. Any help with this would be brilliant, thanks.

 

Marc

Revo.zip

Link to comment
Share on other sites

currently using voodoohda

on the rig in my sig.

...not quite overwhelming

 

I only need spdif out - nothing else -, cause I am using an external

studio dac (rme-adi 2) feeding 2 Adam Studio monitors.

 

voodoohda works with spdif out but only in 16 bit mode /44Khz -192KHz

not in 24 bit and without dynamic samplerate changing

 

is there any chance with the ALC 889 stuff here ?

 

I mean a working SPDIF out 24 bit 44 ,1 -192 Khz ?

 

Thanx

Armin

Link to comment
Share on other sites

currently using voodoohda

on the rig in my sig.

...not quite overwhelming

 

I only need spdif out - nothing else -, cause I am using an external

studio dac (rme-adi 2) feeding 2 Adam Studio monitors.

 

voodoohda works with spdif out but only in 16 bit mode /44Khz -192KHz

not in 24 bit and without dynamic samplerate changing

 

is there any chance with the ALC 889 stuff here ?

 

I mean a working SPDIF out 24 bit 44 ,1 -192 Khz ?

 

Thanx

Armin

 

Your mother board is EP45-DS4P, isn't it. If yes, your sound on board is ALC889a, not ALC889.

 

Remove VoodooHDA, reinstall latest AppleHDA.kext into /S/L/E, and rebuild kext caches

 

get LegacyHDA and HDAEnabler

 

install LegacyHDA.kext (3out2in HDA) and HDAEnabler.kext into /Extra/Extensions

Link to comment
Share on other sites

Your mother board is EP45-DS4P, isn't it. If yes, your sound on board is ALC889a, not ALC889.

 

Remove VoodooHDA, reinstall latest AppleHDA.kext into /S/L/E, and rebuild kext caches

 

get LegacyHDA and HDAEnabler

 

install LegacyHDA.kext (3out2in HDA) and HDAEnabler.kext into /Extra/Extensions

 

Yes: 889A and

 

solved (24bit/96khz SPDIF out)

thanx for the tip

best

a

 

****and hat off ..learned a lot from you you in the past week

Link to comment
Share on other sites

@tmongkol and others who have gotten ATI HD4XXX HDMI to work, can you guys tell me which audio kext you're using to get HDMI audio?

 

I have a HD4870, on EP45-UD3L, 10.6.4, and no luck with HDMI showing in my Audio-Out :thumbsup_anim:

 

Also, I'm not sure how to edit my DSDT from this post: http://www.insanelymac.com/forum/index.php...0941&st=769

 

 

Any help would be appreciated!

Link to comment
Share on other sites

I need some help with this.

I can't wrap my brain around what Tmongol is telling me to do.

 

I have an xfx 5850, looking for HDMI out.

 

Geesh... my head is spinning.

I don't even know if his post is related to the ATI cards or not.

 

Can anyone dumb this down?

Link to comment
Share on other sites

Please don't ask me about ATI HDMI audio. You got to find out whether or not iMacs (mid 2010) / coming new MacPros get HDMI audio thru miniDisplayPort to HDMI. If yes, how we can get it. If not, just forget it. Thanks.

Link to comment
Share on other sites

Please don't ask me about ATI HDMI audio. You got to find out whether or not iMacs (mid 2010) / coming new MacPros get HDMI audio thru miniDisplayPort to HDMI. If yes, how we can get it. If not, just forget it. Thanks.

 

http://support.apple.com/kb/ts3065

 

 

"

 

Resolution

iMac (Late 2009), MacBook Pro (Mid 2010), and MacBook (13-inch, Mid 2010) computers supply an audio signal from the Mini-DisplayPort. However, not all Mini-DisplayPort to HDMI adapters support audio out. For this feature, use Mini-DisplayPort to HDMI adapters that conform to the VESA v1.1a DisplayPort Interoperability Guidelines.

 

The following adapters adhere to VESA v1.1a standards:

 

Contact the manufacturer or see www.vesa.org for more information."

 

 

 

 

Sounds promising :)

 

EDIT - Typical Apple they give you 2 options from the apple store that cost £40.. looking for a cheaper option !!

 

EDIT EDIT - Also was wondering why the hell the HDMI port on Macs wouldn't carry the audio signal but it looks like thier variant of the 5770 has 2x display ports and 2x DVI - so that makes sence.

 

Also cheap DP>HDMI + Audio

 

D

Link to comment
Share on other sites

Hi Guys,

 

I could really use some help with this ALC888 audio on a GA-EP41-UD3L. I also have a Geforce GT240 Graphics card with HDMI and I think this is why I might be having so much dramas with this.

 

What I have done so far.

 

I had 10.5.8 running with working audio but video card was not running QE/CI.

 

I updated to Snow Leopard 10.6.3 using S3.

 

I have installed the AppleHDA.kext about 10 different versions and about 5 different versions of Legacy.kext but none of the combinations work. :) I have no idea about DSDT mods.

 

I so far have showing up HDMI in the output and Pink and yellow showing inputs. The Volume icon in the taskbar on the desktop is greyed out but has volume at full. I assume that is due to the HDMI not having any cable plugged in.

 

the kexts that are currently installed are:

 

AppleAzaliaAudio.kext

VoodooHDA.kext

 

I would really appreciate any assistance that you guys could give.

 

Thank you. :)

 

*Update - After a long hard search I have found out that I have rev.1.4 board which has a ALC892 Audio Card. This explains why none of the kexts combos were working for me. :( .

 

I would still appreciate any help regarding this. :) I know that when I ran 10.5.8 the audio worked with the Azalia option in iAtkos v7.

Link to comment
Share on other sites

http://support.apple.com/kb/ts3065

 

 

"

 

Resolution

iMac (Late 2009), MacBook Pro (Mid 2010), and MacBook (13-inch, Mid 2010) computers supply an audio signal from the Mini-DisplayPort. However, not all Mini-DisplayPort to HDMI adapters support audio out. For this feature, use Mini-DisplayPort to HDMI adapters that conform to the VESA v1.1a DisplayPort Interoperability Guidelines.

 

The following adapters adhere to VESA v1.1a standards:

 

Contact the manufacturer or see www.vesa.org for more information."

 

 

 

 

Sounds promising :D

 

EDIT - Typical Apple they give you 2 options from the apple store that cost £40.. looking for a cheaper option !!

 

EDIT EDIT - Also was wondering why the hell the HDMI port on Macs wouldn't carry the audio signal but it looks like thier variant of the 5770 has 2x display ports and 2x DVI - so that makes sence.

 

Also cheap DP>HDMI + Audio

 

D

 

update: new MacPros available

 

Tech Specs

 

 

Connections and audio

  • Four FireWire 800 ports (two on front panel, two on back panel)
  • Five USB 2.0 ports (two on front panel, three on back panel)
  • Two USB 2.0 ports on included keyboard
  • Front-panel headphone minijack and internal speaker
  • Optical digital audio input and output TOSLINK ports
  • Analog stereo line-level input and output minijacks
  • Multichannel audio through Mini DisplayPort <--------- What are you thinking?

Link to comment
Share on other sites

yes

:D

 

GA-x58A-UD3R ALC889 to 5.1 and 7.1 4x Lineout, 2x Mic, 1x LineIn, 1x Digital In/Out good :D

 

my ATI4870 HDMI no sound ? Please help me HDMI sound ?

 

Device (PCI0)
	{
		Name (_HID, EisaId ("PNP0A03"))
		Device (PEGP)
		{
			Name (_ADR, 0x00010000)
			Device (GFX0)
			{
				Name (_ADR, Zero)
				Name (_PRW, Package (0x02)
				{
					0x09, 
					0x05
				})
				OperationRegion (PEGH, PCI_Config, Zero, 0x40)
				Field (PEGH, ByteAcc, NoLock, Preserve)
				{
					VID0,   16, 
					DID0,   16
				}

				Method (_DSM, 4, NotSerialized)
				{
					If (LEqual (Arg0, Buffer (0x10)
							{
								/* 0000 */	0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
								/* 0008 */	0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
							}))
					{
						If (LNotEqual (And (VID0, 0xFFFF), 0xFFFF))
						{
							Store (Package (0x56)
								{
									"@0,AAPL,boot-display", 
									Buffer (0x04)
									{
										0x01, 0x00, 0x00, 0x00
									}, 
							  ........................
							  .......................
					 Buffer (0x13)
									{
										"ATI Radeon HD 4870"
									}, 

									"name", 
									Buffer (0x12)
									{
										"ATY,MotmotParent"
									}, 

									"hda-gfx", 
									Buffer (0x0A)
									{
										"onboard-1"
									}
								}, Local0)
							DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
							Return (Local0)
						}
					}

					Return (0x80000002)
				}
			}

			Device (HDAU)
			{
				Name (_ADR, One)
				OperationRegion (HDAH, PCI_Config, Zero, 0x40)
				Field (HDAH, ByteAcc, NoLock, Preserve)
				{
					VID0,   16, 
					DID0,   16
				}

				Method (_DSM, 4, NotSerialized)
				{
					If (LEqual (Arg0, Buffer (0x10)
							{
								/* 0000 */	0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
								/* 0008 */	0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
							}))
					{
						If (LNotEqual (And (VID0, 0xFFFF), 0xFFFF))
						{
							Store (Package (0x02)
								{
									"hda-gfx", 
									Buffer (0x0A)
									{
										"onboard-1"
									}
								}, Local0)
							DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
							Return (Local0)
						}
					}

					Return (0x80000002)
				}
			}
		}

 

ALC889 good

Device (HDEF)
		{
			Name (_ADR, 0x001B0000)
			OperationRegion (HDAR, PCI_Config, Zero, 0x60)
			Field (HDAR, WordAcc, NoLock, Preserve)
			{
				VID0,   16, 
				DID0,   16, 
						Offset (0x4C), 
				DCKA,   1, 
						Offset (0x4D), 
				DCKM,   1, 
					,   6, 
				DCKS,   1, 
						Offset (0x54), 
					,   15, 
				PMES,   1
			}

			Method (_PRW, 0, NotSerialized)
			{
				Return (Package (0x02)
				{
					0x0D, 
					0x05
				})
			}

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x06)
					{
						"layout-id", 
						/**** Is ResourceTemplate, but EndTag not at buffer end ****/ Buffer (0x04)
						{
							0x79, 0x03, 0x00, 0x00
						}, 

						"device-type", 
						Buffer (0x06)
						{
							"Audio"
						}, 

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

 

I saw AppleHDA sound card ATI4870 inside information (0x1002aa01 ---> 01aa0210) This is the ATI4870 sound card information,

Following is a load error message HDMI sound card:

 

Aug 10 00:48:06 cfmdeMac-Pro kernel[0]: Sound assertion "-1 == streamIOType" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 5084 goto Exit

Aug 10 00:48:06 cfmdeMac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 4788 goto Exit

Aug 10 00:48:06 cfmdeMac-Pro kernel[0]: Sound assertion "0 != fHDAStream->activateStream ( fStreamDataMode )" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDAEngine.cpp" at line 7577 goto Exit

Aug 10 00:48:31 cfmdeMac-Pro kernel[0]: Sound assertion "-1 == streamIOType" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 5084 goto Exit

Aug 10 00:48:31 cfmdeMac-Pro kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 4788 goto Exit

Aug 10 00:48:31 cfmdeMac-Pro kernel[0]: Sound assertion "0 != fHDAStream->activateStream ( fStreamDataMode )" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDAEngine.cpp" at line 7577 goto Exit

post-19452-1281438443_thumb.png

post-19452-1281438452_thumb.png

post-19452-1281438464_thumb.png

post-19452-1281438474_thumb.png

Legacy889HDA_7.1.kext.zip

AppleHDA.kext.zip

dump.txt.zip

Extra.zip

Link to comment
Share on other sites

  • 2 weeks later...

I'm trying to get HDMI sound on a GTX 480.

 

I've followed tmongkol guide for HDAU injection and the beginning is pretty good:

 

 

Not patched:

 

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

 

Patched 000a -> 0010 (got the ID under windows):

 

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

 

Patched AppleHDAController from 0eb4 to 0eb5 (Fermi High definition audio):

 

When no cable no error message and kext loaded:

78 1 0xffffff7f81355000 0x17000 0x17000 com.apple.driver.AppleHDAController (1.8.7f1) <77 58 9 5 4 3 1>

101 0 0xffffff7f8146d000 0xc4000 0xc4000 com.apple.driver.AppleHDA (1.8.7f1) <100 78 77 73 59 58 5 4 3 1>

 

When i put an HDMI cable i've got this error :D

 

Sound assertion ""Graphics vendor property indicates CODEC is attached but

Presence Detect is FALSE!\\n"" failed in

"/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDADriver.cpp" at line

3614 goto handler

Sound assertion ""Graphics vendor property indicates CODEC is attached but

Presence Detect is FALSE!\\n"" failed in

"/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDADriver.cpp" at line

3614 goto handler

 

Help ? :blink:

Link to comment
Share on other sites

I'm trying to get HDMI sound on a GTX 480.

 

I've followed tmongkol guide for HDAU injection and the beginning is pretty good:

 

 

Not patched:

 

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

 

Patched 000a -> 0010 (got the ID under windows):

 

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

 

Patched AppleHDAController from 0eb4 to 0eb5 (Fermi High definition audio):

 

When no cable no error message and kext loaded:

78 1 0xffffff7f81355000 0x17000 0x17000 com.apple.driver.AppleHDAController (1.8.7f1) <77 58 9 5 4 3 1>

101 0 0xffffff7f8146d000 0xc4000 0xc4000 com.apple.driver.AppleHDA (1.8.7f1) <100 78 77 73 59 58 5 4 3 1>

 

When i put an HDMI cable i've got this error :(

 

Sound assertion ""Graphics vendor property indicates CODEC is attached but

Presence Detect is FALSE!\\n"" failed in

"/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDADriver.cpp" at line

3614 goto handler

Sound assertion ""Graphics vendor property indicates CODEC is attached but

Presence Detect is FALSE!\\n"" failed in

"/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDADriver.cpp" at line

3614 goto handler

 

Help ? :D

 

1) see Post #760, how to add "hda-gfx" into your DSDT --> You need to use DSDT.

2) patch 0A 00 DE 10 with 10 00 DE 10 in AppleHDA binary

Link to comment
Share on other sites

1) see Post #760, how to add "hda-gfx" into your DSDT --> You need to use DSDT.

 

Yes it's done:

Device (PEGP)

{

Name (_ADR, 0x00030000)

Name (_PRW, Package (0x02)

{

0x09,

0x05

})

 

 

Device (GFX0)

{

Name (_ADR, Zero)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x1a)

{

"AAPL,slot-name",

"PCI-E x16",

"@0,compatible",

Buffer (0x0B)

{

"NVDA,NVMac"

},

"@0,device_type",

Buffer (0x08)

{

"display"

},

"@0,name",

Buffer (0x0F)

{

"NVDA,Display-A"

},

"@1,compatible",

 

Buffer (0x0B)

{

"NVDA,NVMac"

},

"@1,device_type",

Buffer (0x08)

{

"display"

},

"@1,name",

Buffer (0x0F)

{

"NVDA,Display-B"

},

"NVCAP",

Buffer (0x18)

{

/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,

/* 0008 */ 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a,

/* 0010 */ 0x00, 0x00, 0x00, 0x00

},

"VRAM,totalsize",

Buffer (0x04)

{

0x00, 0x00, 0x00, 0x60

},

"device_type",

Buffer (0x0D)

{

"NVDA,GeForce"

},

"model",

Buffer (0x17)

{

"NVIDIA GeForce GTX 480"

},

"rom-revision",

Buffer (0x0F)

{

"70.00.21.00.02"

},

"hda-gfx",

 

Buffer (0x0A)

{

"onboard-1"

}

}, Local0)

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

Return (Local0)

}

}

 

Device (HDAU)

{

Name (_ADR, One)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"hda-gfx",

Buffer (0x0A)

{

"onboard-1"

}

}, Local0)

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

Return (Local0)

}

}

}

 

2) patch 0A 00 DE 10 with 10 00 DE 10 in AppleHDA binary

Yes it's done (step 1 in my post)

that was not enough so i've patched the HDAControler binary and after that there is no more error

but when the cable is connected there is the last error reported.

Hope it's clear.

 

Thanks

Link to comment
Share on other sites

@ zzebulonn

 

Before you connected an HDMI cable, did you get HDAU like the below picture?

post-93383-1282306213_thumb.jpg

 

 

Why did you have to patch HDAController binary? I didn't have to do anything about HDAContoller for my GT220 & GT240. I patched AppleHDA bin for GT240 only. Did you try edit info.plist of AppleHDAController.kext?

 

I am thinking that AppleHDA will not support fermi/GF100 since there are no official GF100 kexts from Apple.

Link to comment
Share on other sites

@ zzebulonn

 

Before you connected an HDMI cable, did you get HDAU like the below picture?

post-93383-1282306213_thumb.jpg

 

Yes exactly that one.

 

Why did you have to patch HDAController binary? I didn't have to do anything about HDAContoller for my GT220 & GT240. I patched AppleHDA bin for GT240 only. Did you try edit info.plist of AppleHDAController.kext?

 

If i did not patch the binary i've that error:

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 661 goto handler

 

While looking at the code near the error message i've found that there is a hardcoded table ok some NVIDIA id in the binary:

10de:ac0 10de:d94 10de:be2 10de:be4

what is your id for the GT2x0 audio ? mine is (03:00.1 Audio device: nVidia Corporation Unknown device 0be5 (rev a1))

 

so i've patched the binary with the nearest one eb4 and the error have dissapeared.

 

I've not tried to add to Info.plist in HDAController, i've not found what to do here and in which section ?

 

Thanks for your time!

Link to comment
Share on other sites

I'm almost there.

 

I have the mobile GT240M device id 0be2 for the Nvidia audio controller. My Nvidia audio controller is a dual HDMI/DisplayPort output. I've followed tmongkol's instructions and I get the following error:

 

Sound assertion "0 == hdaGfxCandidate" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 1058 goto Exit

post-104137-1282351645_thumb.png

post-104137-1282351674_thumb.png

post-104137-1282351709_thumb.png

Link to comment
Share on other sites

Me again.

 

GOT IT!!!!

 

On Nvidia GT240M.

 

Tmongkol, thank you so much for your guidance!!

 

Looking at the IORegistryExplorer of the newer MacBookPro6,1, I discovered there's some important clues going on with the AppleHDAController kext.

 

The MacBookPro6,1 uses the device id 0BE2 for the Nvidia HDMI audio, same Nvidia HDMI id as mine, that's why I did not get any HDMI audio device id errors. The device id 0BE2 is in the AppleHDAController binary.

 

*** EDIT - 27 Aug 2010 ***: I now get HDMI audio, including all the other sound devices in Sound preferences. I had combined 2 microphones in the AppleHDAPlatformDriver Pathmaps, now I have the 2 microphones in 2 separates Pathmaps. The hdaGfxCandidate failed error is gone. HDMI audio is enabled with dsdt edit only. AppleHDAController totally unmodified.

 

The HDMI is connected to my Onkyo TX-SR606 audio receiver. I can do up to 7.1 multichannel, or send directly the Dolby Digital 5.1 encoded stream in VLC Media Player by selecting Built-In HDMI Output (Encoded Output).

 

I tried the 5.1 AAC encoded Apple trailer of Skyline. Crisp, neat and vibrant 5.1 analog sound coming out of all 5 speakers and the subwoofer. Quite neat.

 

Thanks again Tmongkol.

 

post-104137-1282918325_thumb.png post-104137-1282918345_thumb.png

 

*** EDIT ***: Some of you might want to see what dsdt code I'm using, here is my Graphics device section:

            Device (PEG3)
           {
               Name (_ADR, 0x00030000)
               Method (_PRT, 0, NotSerialized)
               {
                   If (PICM)
                   {
                       Return (AR0A ())
                   }

                   Return (PR0A ())
               }

               Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Name (_PRW, Package (0x02)
                   {
                       0x09,
                       0x05
                   })                    
                   OperationRegion (PEGH, PCI_Config, Zero, 0x40)
                   Field (PEGH, ByteAcc, NoLock, Preserve)
                   {
                       VID0,   16, 
                       DID0,   16
                   }

                   Method (_DSM, 4, NotSerialized)
                   {
                       If (LEqual (Arg0, Buffer (0x10)
                               {
                                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                               }))
                       {
                           If (LNotEqual (And (VID0, 0xFFFF), 0xFFFF))
                           {
                               Store (Package (0x02)
                                   {
                                       "hda-gfx", 
                                       Buffer (0x0A)
                                       {
                                           "onboard-1"
                                       }
                                   }, Local0)
                               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                               Return (Local0)
                           }
                       }

                       Return (0x80000002)
                   }
                }

               Device (HDAU)
               {
                   Name (_ADR, One)
                   OperationRegion (HDAH, PCI_Config, Zero, 0x40)
                   Field (HDAH, ByteAcc, NoLock, Preserve)
                   {
                       VID0,   16, 
                       DID0,   16
                   }

                   Method (_DSM, 4, NotSerialized)
                   {
                       If (LEqual (Arg0, Buffer (0x10)
                               {
                                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                               }))
                       {
                           If (LNotEqual (And (VID0, 0xFFFF), 0xFFFF))
                           {
                               Store (Package (0x02)
                                   {
                                       "hda-gfx", 
                                       Buffer (0x0A)
                                       {
                                           "onboard-1"
                                       }
                                   }, Local0)
                               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                               Return (Local0)
                           }
                       }

                       Return (0x80000002)
                   }
               }
           }


 

And here is my HDEF section:

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               OperationRegion (HDAR, PCI_Config, Zero, 0x60)
               Field (HDAR, WordAcc, NoLock, Preserve)
               {
                   VID0,   16, 
                   DID0,   16, 
                           Offset (0x4C), 
                   DCKA,   1, 
                           Offset (0x4D), 
                   DCKM,   1, 
                       ,   6, 
                   DCKS,   1, 
                           Offset (0x54), 
                       ,   15, 
                   PMES,   1
               }

               Method (_PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x0D, 0x04))
               }

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

                           "device-type", 
                           Buffer (0x06)
                           {
                               "Audio"
                           }, 

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

Link to comment
Share on other sites

 Share

×
×
  • Create New...