Jump to content

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


VCH888
 Share

1,156 posts in this topic

Recommended Posts

Hey I have the same problem ...

I have installed SL 10.6.3 on a GA-EP35-DS3R (ALC889a) and now after reading all the tutorial I am a bit confused.

For now I have patched my dsdt as shown below :

 

Device (HDEF)
		{
			Name (_ADR, 0x001B0000)
			OperationRegion (HDCS, PCI_Config, 0x54, 0x04)
			Field (HDCS, DWordAcc, NoLock, Preserve)
			{
					,   15, 
				PMES,   1
			}

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

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x08)
					{
						"codec-id", 
						Buffer (0x04)
						{
							0x85, 0x08, 0xEC, 0x10
						}, 

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

						"device-type", 
						Buffer (0x10)
						{
							"Realtek ALC889a"
						}, 

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

 

But still no sound. What did I forget ?

 

 

You are using vanilla AppleHDA.kext, LayoutID = 66 so you don't need to have LegacyHDA.kext. However, you may get a few sound assertions.

Got rear green port and headphone for analog output.

Link to comment
Share on other sites

Hi, I am really hoping someone can help me. I have been trying to get this to work for at least a week, trying on my own, and I'm ready to jump out a window (but I'm on the 1st floor so that won't even work!)

 

I have a GA-EP45T-DS3R which is working fine, thanks to all the great people here. ; ) Recently I bought a GA-P55A-UD4P (which has the ALC889, not the ALC889A), and I just can't get it to work other than with VoodooHDA. :blush:

 

I have been trying to use the "HowTo_patch_AppleHDA" guide, but am not sure exactly what I'm supposed to change. I know I have correctly patched AppleHDA.kext, v1.8.4fc3 (I'm running 10.6.3) in the 4 areas with 89 08 EC 10, so at least I have that.

 

Also I have successfully set permissions and updated caches by cutting and pasting the commands from the guide and executing them.

 

Where I am getting confused is with:

 

1) What are "legacy/dummy kexts" and where do I get them, how do I know if I have one(s) that will work for my ALC889?

 

2) Once I have these "files", what "code" must I extract from them? Is it just simply changing the LayoutID from say 662 to 889, or is there more to it? Or when it says "Item #" in the guide, does that mean the entire "branch" of "Item x" (including all child branches)? If so, then again it becomes a question of "Where can I find a VALID source containing all of these entries correct for the ALC889?

 

Very sorry for being such a N00B, I know there are others who understand this guide and it's easy for them; but not for me.

 

If I can get this working, I would be MORE THAN HAPPY to share my corrected files with others! :wacko:

 

 

If it helps, here are the errors I get on boot:

 

Sound assertion "0 == pciVendorProductID" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDAController/AppleHDAController.cpp" at line 3226 goto Exit

 

Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 1666 goto Exit

 

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit

 

Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 1666 goto Exit

 

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit

 

THANK YOU!! :blink:

Link to comment
Share on other sites

Hi, I am really hoping someone can help me. I have been trying to get this to work for at least a week, trying on my own, and I'm ready to jump out a window (but I'm on the 1st floor so that won't even work!)

 

I have a GA-EP45T-DS3R which is working fine, thanks to all the great people here. ; ) Recently I bought a GA-P55A-UD4P (which has the ALC889, not the ALC889A), and I just can't get it to work other than with VoodooHDA. :blink:

 

I have been trying to use the "HowTo_patch_AppleHDA" guide, but am not sure exactly what I'm supposed to change. I know I have correctly patched AppleHDA.kext, v1.8.4fc3 (I'm running 10.6.3) in the 4 areas with 89 08 EC 10, so at least I have that.

 

Also I have successfully set permissions and updated caches by cutting and pasting the commands from the guide and executing them.

 

Where I am getting confused is with:

 

1) What are "legacy/dummy kexts" and where do I get them, how do I know if I have one(s) that will work for my ALC889?

 

2) Once I have these "files", what "code" must I extract from them? Is it just simply changing the LayoutID from say 662 to 889, or is there more to it? Or when it says "Item #" in the guide, does that mean the entire "branch" of "Item x" (including all child branches)? If so, then again it becomes a question of "Where can I find a VALID source containing all of these entries correct for the ALC889?

 

Very sorry for being such a N00B, I know there are others who understand this guide and it's easy for them; but not for me.

 

If I can get this working, I would be MORE THAN HAPPY to share my corrected files with others! :)

 

 

If it helps, here are the errors I get on boot:

 

Sound assertion "0 == pciVendorProductID" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDAController/AppleHDAController.cpp" at line 3226 goto Exit

 

Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 1666 goto Exit

 

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit

 

Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 1666 goto Exit

 

Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit

 

THANK YOU!! :angel:

 

 

 

Just an update - Ok, I'm looking at the info from an old "The Kings" post; I have got my PinConfig info using Win7 and working through that info. I will post if I have any progress, but still, any help would be great.

 

Thanks all,

 

Mammoth

Link to comment
Share on other sites

Just an update - Ok, I'm looking at the info from an old "The Kings" post; I have got my PinConfig info using Win7 and working through that info. I will post if I have any progress, but still, any help would be great.

 

Thanks all,

 

Mammoth

 

 

@Tmongkol

 

Thanks for sending me the AppleHDA.kext via PM. I have been trying to get sound working using it, but still no luck.

 

Since my first post, I have gone through all the steps of TheKings "How To" guide and I now have Linux Codec dump, Win7 PinConfig, the .SVG file, etc., and I have put everything in a .ZIP file and attached it here. I was able to go through all the steps to generate the needed files; however, for some reason I was not able to do the "VerbIt" part. It will not generate the final file needed and gives an error "ERROR: This doesn't appear to be an alsa codec dump file". Obviously, I made a mistake somewhere, I just don't know where.

 

.ZIP FILE = Tmongkol_GA_P55A_UD4P_ALC889.zip

 

THANKS TMONGKOL for your help with this. I have really tried hard to do this myself, and will even continue after posting this message.

 

Mammoth

Link to comment
Share on other sites

@Tmongkol

 

Thanks for sending me the AppleHDA.kext via PM. I have been trying to get sound working using it, but still no luck.

 

Since my first post, I have gone through all the steps of TheKings "How To" guide and I now have Linux Codec dump, Win7 PinConfig, the .SVG file, etc., and I have put everything in a .ZIP file and attached it here. I was able to go through all the steps to generate the needed files; however, for some reason I was not able to do the "VerbIt" part. It will not generate the final file needed and gives an error "ERROR: This doesn't appear to be an alsa codec dump file". Obviously, I made a mistake somewhere, I just don't know where.

 

.ZIP FILE = Tmongkol_GA_P55A_UD4P_ALC889.zip

 

THANKS TMONGKOL for your help with this. I have really tried hard to do this myself, and will even continue after posting this message.

 

Mammoth

 

Did you have LegacyHDA.kext in /Extra/Extensions when you're trying to use the patched AppleHDA.kext v1.8.4fc3_ALC889_LaoutID_12.zip?

I have read most GA_w/ALC889 users could not get sound working if they're using AppleHDA.kext v1.8.4fc3 (10.6.3). I may be wrong about this.

I need to hear sth form GA_w/ALC889 users.

 

I looked at Non-working current files folder.

 

LayoutID (889) in LegacyHDA.kext does not match to layout-id (12) in HDAEnabler.kext.

 

Set layout-id to 889HDAEnabler_889.zip

 

6f0854.jpg

Link to comment
Share on other sites

Hello, I followed aschar1's steps on page 21 (http://www.insanelymac.com/forum/index.php?showtopic=140941&st=387) but still can not get 5.1 sound. Gigabyte EX58-UD5 with ALC889a running SL 10.6.0.

 

I have sound on "built-in speaker" but nothing from line out.

 

My modified DSDT:

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x0D, 
                       0x05
                   })
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0A)
                       {
                           "built-in",
                           Buffer (One)
                           {
                               0x00
                           },

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

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

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

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

               Method (DTGP, 5, 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 (LEqual (Arg1, One))
                       {
                           If (LEqual (Arg2, Zero))
                           {
                               Store (Buffer (One)
                               {
                                   0x03
                               }, Arg4)
                               Return (One)
                           }
                           If (LEqual (Arg2, One))
                           {
                               Return (One)
                           }
                       }
                   }
                   Store (Buffer (One)
                   {
                       0x00
                   }, Arg4)
                   Return (Zero)
               }
           }

 

DSDT compiles without errors but I did get the following when running kextcache:

"JMicronATA.kext does not declare a kernel dependency; using com.apple.kernel.6.0."

 

In Audio MIDI Setup I only have the following outputs (2 each):

  • Built-in Speaker
  • Built-in Headphone
  • Built-in Line Output
  • Built-in Digital Output

audio_issue_small.png

 

Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDAWidget.cpp" at line 3206 goto handler

Sound assertion "0 != widget->setUnsolicited ( true )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleHDA/AppleHDACodecGeneric.cpp" at line 890 goto handler

 

Any ideas or suggestions? Thanks!

Link to comment
Share on other sites

does anyone have good idea?

 

GeForce GT 220 HDMI Aduio is work, but GeForce 210 HDMI Audio is not work.

 

DFI P55-T36 OnBoard Audio ALC885(codec-id 10ec0885)

- GeForce GT 220 HDMI Audio(codec-id 10de000a) OK

- GeForce 210 HDMI Audio(codec-id 10de000b) NG

 

error message is below, output is unkown vendor & product id. AppleHDA.kext is patched 0a 00 de 10 by 0b 00 de 10.

 

bash-3.2# dmesg | grep hda-gfx

Sound assertion ""hda-gfx property indicates support expected but vendor & product ID are not known to driver!\\n"" failed in "/SourceCache/AppleHDA/AppleHDA-184.4.3/AppleHDAController/AppleHDAController.cpp" at line 589 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-184.4.3/AppleHDAController/AppleHDAController.cpp" at line 589 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-184.4.3/AppleHDAController/AppleHDAController.cpp" at line 589 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-184.4.3/AppleHDAController/AppleHDAController.cpp" at line 589 goto handler

 

hexdump result diff

bash-3.2# diff AppleHDA.txt AppleHDA_patched.txt

11555c11555

< 002ea00 00 00 3d 0a 00 de 10 0f 85 9d 01 00 00 e9 60 01

---

> 002ea00 00 00 3d 0b 00 de 10 0f 85 9d 01 00 00 e9 60 01

12060c12060

< 0030a40 01 00 00 3d 07 00 de 10 0f 84 56 01 00 00 3d 0a

---

> 0030a40 01 00 00 3d 07 00 de 10 0f 84 56 01 00 00 3d 0b

71174c71174

< 0122590 0f 84 54 01 00 00 3d 0a 00 de 10 0f 85 9d 01 00

---

> 0122590 0f 84 54 01 00 00 3d 0b 00 de 10 0f 85 9d 01 00

71684c71684

< 0124570 0f 84 56 01 00 00 3d 0a 00 de 10 0f 85 83 01 00

---

> 0124570 0f 84 56 01 00 00 3d 0b 00 de 10 0f 85 83 01 00

Link to comment
Share on other sites

Hi tmongkol

 

I tried to add HDMI audio on an HD4850 but it fails with this sound assertion message :

 

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

 

We can see method works somewhat in ioreg :

post-290278-1273972045_thumb.jpg

 

Do you have any clue ?

 

Thx in advance

cheers

Link to comment
Share on other sites

does anyone have good idea?

 

GeForce GT 220 HDMI Aduio is work, but GeForce 210 HDMI Audio is not work.

 

DFI P55-T36 OnBoard Audio ALC885(codec-id 10ec0885)

- GeForce GT 220 HDMI Audio(codec-id 10de000a) OK

- GeForce 210 HDMI Audio(codec-id 10de000b) NG

 

error message is below, output is unkown vendor & product id. AppleHDA.kext is patched 0a 00 de 10 by 0b 00 de 10.

 

 

 

hexdump result diff

 

Try to add PCIVendorDeviceID in CodecAddressMask. This is in AppleHDAController.kext.

 

However, I think G210 HDMI audio may not be working on OS X. I will update info on my post.

 

Hi tmongkol

 

I tried to add HDMI audio on an HD4850 but it fails with this sound assertion message :

 

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

 

We can see method works somewhat in ioreg :

 

 

Do you have any clue ?

 

Thx in advance

cheers

 

I have no idea about this error. I got framebuffers error and couldn't get HDMI audio working on 10.6.3. Waiting for 10.6.4.

 

I have the same HDAU@0,1.

Link to comment
Share on other sites

ok thanks i gonna test with 10.6.4 beta, and it was the same fail with 10.6.2 applehda

 

EDIT :

 

disassembling AppleHDA-184.4.3 i found ATI hdmi ID (3d01aa0210) next to working nvidia one (3d0a00de10) under AppleHDAWidgetFactory::createAppleHDAWidget(DevIdStruct*) :

 

 

  
  +61  00000000000327a7  3d01aa0210				cmpl		$0x1002aa01,%eax
  +66  00000000000327ac  0f84a2010000			  jeq		 0x00032954
  +72  00000000000327b2  3d06421310				cmpl		$0x10134206,%eax
  +77  00000000000327b7  0f8532030000			  jneq		0x00032aef
  +83  00000000000327bd  e99d000000				jmpq		0x0003285f
  +88  00000000000327c2  3d0a00de10				cmpl		$0x10de000a,%eax

Link to comment
Share on other sites

Hi, has anyone got the front panel mic connection working on ALC889a? I managed to get the Headphone port to work, but no luck with the Mic one. They're using AC97 pin layout since my case doesn't have one for HDA.

Link to comment
Share on other sites

Please use 3outs2ins, it has Digital Output option.

 

I did a fresh snow leopard install (10.6.0). Empire EFI boot disc, installed the os, used kakewalk (EP45-DS3L) (this is the closest I found to my P35-DS3R) My 8800GS is working fine, but no audio still. I tried copying the files from the ALC889a_LayoutID885.zip to the /extra/extensions folder. No change. I ran the apple software updates, got it to (10.6.3) but still no sound. What am i doing wrong?

Link to comment
Share on other sites

I did a fresh snow leopard install (10.6.0). Empire EFI boot disc, installed the os, used kakewalk (EP45-DS3L) (this is the closest I found to my P35-DS3R) My 8800GS is working fine, but no audio still. I tried copying the files from the ALC889a_LayoutID885.zip to the /extra/extensions folder. No change. I ran the apple software updates, got it to (10.6.3) but still no sound. What am i doing wrong?

 

I figured it out, the EP45-UD3R matches my model. The other one that I used (DS3R) has Intel Audio, not the ALC889a. Sound is working awesome now.

Link to comment
Share on other sites

It's the weirdest thing in skype...

I'm running a 'gigabyte ga-ep45-ud3p' on snow leopard, installed from a retail dvd, using these sound drivers.

I can hear someone, and they can hear me, if they call me.

But if I call them, I can't hear them, but they can hear me.

Also, if I type in the chat area with anyone during a call, whether they've called me, or i called them, I can't hear them, but they can hear me. My sound gets muted if any sound comes from skype other than the voice conversation.

Link to comment
Share on other sites

  • 3 weeks later...

Hey hackintosh community.

So I have a solid hack running on a ex58-ud5, with a nvidia 9800GTX+ dual screen, 6gb ddr3, i7-920 empire efi install and 10.6.3.

I have audio working but I get SEVERE interference in the audio...eg, opening and closing windows, scrolling opening the dashboard etc. i get a buzzing or humming coming from my powered speakers. Does anyone else have this issue? anyway around it? would like an internal PCIe sound card but as far as I have read none are supported so Im considering looking into USB IF i have to.

also the initial post is extremely puzzling to me. i want the "front, rear, c/sub" outputs to work for onboard 5.1 but the only one that outputs audio is the "OUT" why doesn't the other outputs work? what kext do I need?

thanks

Link to comment
Share on other sites

Confirming alc888 1.8.7f1 - stereo out front and back panels and SPDIF all working no error messages.

 

Thanks Man :)

Dear FormerlyKnownAs, it's good to know that your ALC888 works again properly on 10.6.4, can you please -for the record- tell us what method you're using and perhaps post your LegacyHDA and the files you're using?

 

I am using the DSDT code fix for ALC888 for some time. When I removed the vanilla AppleHDA.kext and applied the first post's pre-patched (thanks!) ALC888 version of 10.6.4's AppleHDA.kext (in /S/L/E), without HDAEnabler.kext (of course) I get the following error on verbose boot:

 

Jun 19 23:17:29 SnowShuttle kernel[0]: Sound assertion "0 == pciVendorProductID" failed in "/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDAController/AppleHDAController.cpp" at line 3345 goto Exit

 

I am thus forced to add in my LegacyHDA's Info.plist the PCIVendorDeviceID of ALC888 which is in decimal 283904136 in CodecAddressFilterArray section, namely:

 

	<key>BuiltInHDA</key>
<dict>
	<key>CFBundleIdentifier</key>
	<string>com.apple.driver.AppleHDAController</string>
	<key>CodecAddressFilterArray</key>
	<array>
		<dict>
			<key>CodecAddressMask</key>
			<data>AQAAAA==</data>
			<key>LayoutID</key>
			<integer>16392</integer>
			<key>PCIVendorDeviceID</key>
			<integer>283904136</integer>
		</dict>
		<dict>
			<key>CodecAddressMask</key>
			<data>AQAAAA==</data>
			<key>LayoutID</key>
			<integer>0</integer>
			<key>PCIVendorDeviceID</key>
			<integer>283904136</integer>
		</dict>
	</array>

Then, on reboot (live every reboot, when changing something) and by selecting "ignore caches" I get no error and the audio inputs/outputs are visible in System Preferences again...

 

Can anyone please confirm this?

 

EDIT: I am not using Gigabyte motherboard, but Shuttle XPC's board with same audio chip... I was brought here from another local thread on AppleHDA patching...

4outs2ins_HDA_Headphone_ALC888_LegacyHDA.kext.zip

Link to comment
Share on other sites

Hello,

 

I have an EP45-DS3R with this codec but mic's not working. Would anyone nice point to me the package to install in this jungle?

 

Thanks ;)

 

Front or rear? I would like to say that I could not make "front mic" available since the name of External microphone related to "mikey."

Link to comment
Share on other sites

Dear FormerlyKnownAs, it's good to know that your ALC888 works again properly on 10.6.4, can you please -for the record- tell us what method you're using and perhaps post your LegacyHDA and the files you're using?

 

Hi

 

I'm using only tomongkol's 888 kext 1.8.7f1 and the following in DSDT.

 

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x78, 0x03, 0x00, 0x00
                           }, 

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

 

Hope this helps.

D.

Link to comment
Share on other sites

For OS X 10.6

 

10.6.4

LagacyHDA.kext for ALC889a is working fine. Don't need to patch binary.

 

I'm confused reading that...

 

I'm right now on 10.6.2 I have not done anything for my audio(ofcourse it isn't working or detected lol)... and I'm currently downloading the apple update for 10.6.4 to install it soon... so what do i need to do once I'm on 10.6.4 to get the audio working?

 

By the way, I have no dst here on my machine for my install

 

My board is: Gigabyte MA790XT-UD4P

Audio: ALC889A

 

Any help would be greatly appreciated

Link to comment
Share on other sites

 Share

×
×
  • Create New...