Jump to content

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

ALC889aALC898 ALC887(H87M-HD3) ALC662(945GCM-S2L)

  • Please log in to reply
1153 replies to this topic

#361
gunterTheMonkey

gunterTheMonkey

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
Hi,
Did anyone run into this problem here? I can't compile the dsdt.aml file. I followed the PDF and I'm stuck at page 13 where it involves Terminal to compile the dsdt.aml file. It keeps saying "Missing input filename". Can anyone spot what I did wrong from the following log.

Last login: Tue Aug 11 14:15:19 on console
guntermonkeys-mac-pro:~ guntermonkey$ /Users/guntermonkey/Desktop/DSDT/iasl -sa/Users/guntermonkey/Desktop/DSDT/dsdt.dsl
Missing input filename

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

Both iasl and dsdt.dsl files are located in the DSDT folder on my desktop. Any help is appreciated. Thanks.

#362
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts
@gunterTheMonkey

Last login: Tue Aug 11 14:15:19 on console
guntermonkeys-mac-pro:~ guntermonkey$ /Users/guntermonkey/Desktop/DSDT/iasl -sa/Users/guntermonkey/Desktop/DSDT/dsdt.dsl
Missing input filename

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a


If it was as you quote, you were missing one space. It should be like this.

guntermonkeys-mac-pro:~ guntermonkey$ /Users/guntermonkey/Desktop/DSDT/iasl -sa /Users/guntermonkey/Desktop/DSDT/dsdt.dsl



#363
gunterTheMonkey

gunterTheMonkey

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
@tmongkol,

Great. The drag and drop in Terminal didn't give any space. It works fine now. I got both dsdt.aml and dsdt.asm. I'll try it later and see how it goes. Thanks for the help.

#364
gunterTheMonkey

gunterTheMonkey

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
Well, the install seems fine. I'm using DSDT.aml and the gray labeled ALC889a LegacyHDA.kext. I got all the devices to show up in Sound Input, but I don't think "Internal Microphone" and "Line In" are working. They seem to recognize the audio cable from my Xbox 360 when I have it plugged into either the pink or the blue port. The "Input Level" actually responds to my Xbox 360 when I have a game running, but I don't hear the actual sound. Any idea?

#365
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Well, the install seems fine. I'm using DSDT.aml and the gray labeled ALC889a LegacyHDA.kext. I got all the devices to show up in Sound Input, but I don't think "Internal Microphone" and "Line In" are working. They seem to recognize the audio cable from my Xbox 360 when I have it plugged into either the pink or the blue port. The "Input Level" actually responds to my Xbox 360 when I have a game running, but I don't hear the actual sound. Any idea?


@gunterTheMonkey

You have to use a program called "LineIn."
(edited)

#366
gunterTheMonkey

gunterTheMonkey

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
tmongkol,

I'm using Line In. The first pic shows Line In when it's not in used. The second pic shows how Input Level reacts when I have a game running...it actually fluctuates accordingly to the volume of the game. But, I don't hear any actual sound. I've also tried using Internal Microphone with the pink port. Input Level reacts the same with no sound. I know my audio cable isn't broken, 'cause I can my games with sound with both the pink port and the blue port in Window.

Attached Files



#367
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

tmongkol,

I'm using Line In. The first pic shows Line In when it's not in used. The second pic shows how Input Level reacts when I have a game running...it actually fluctuates accordingly to the volume of the game. But, I don't hear any actual sound. I've also tried using Internal Microphone with the pink port. Input Level reacts the same with no sound. I know my audio cable isn't broken, 'cause I can my games with sound with both the pink port and the blue port in Window.



@gunterTheMonkey

Sorry! I didn't make it clear. You need a program called "LineIn." Google it.

#368
gunterTheMonkey

gunterTheMonkey

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
Wow...I don't how to express my gratitude...thank you so much for your help. It literally took less than a minute from Google search to playing games with sound on my Xbox 360 with OS X.

#369
Nucleus

Nucleus

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
I get complete ALC888 outputs with your legacy kext for "ALC888 4outs2ins HDA headphone" (Black, Orange, Grey, 2 Greens) many thanks. Espacially flexible change between 2 Green ports are so awesome. It's just like when I use windows.

Nevertheless, none of inputs are working. Both "System Profiler" and "Preference" show up three audio inputs(2 Pinks, Blue)(screen shot). but it never accepts the signal thru mic. I mean the input level doesn't move at all. (screenshot)

I have codec dump made with Ubuntu 9.04 Live CD and Codec Verb which I made using Master Cheif's guide.

What can I do now?

Attached File  alc888_codec_dump.txt   10.4KB   26 downloads
Attached File  verb_fixed.rtf   769bytes   12 downloads

Attached Files

  • Attached File  2.tiff   73.42KB   12 downloads
  • Attached File  1.tiff   130.41KB   7 downloads


#370
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

I get complete ALC888 outputs with your legacy kext for "ALC888 4outs2ins HDA headphone" (Black, Orange, Grey, 2 Greens) many thanks. Espacially flexible change between 2 Green ports are so awesome. It's just like when I use windows.

Nevertheless, none of inputs are working. Both "System Profiler" and "Preference" show up three audio inputs(2 Pinks, Blue)(screen shot). but it never accepts the signal thru mic. I mean the input level doesn't move at all. (screenshot)

I have codec dump made with Ubuntu 9.04 Live CD and Codec Verb which I made using Master Cheif's guide.

What can I do now?

Attached File  alc888_codec_dump.txt   10.4KB   26 downloads
Attached File  verb_fixed.rtf   769bytes   12 downloads


@Nucleus

You're using an ASUS motherboard, aren't you. I have no idea how to solve it since I don't have an ASUS motherboard. However, you may try to do something.

1) change my codecverbs from address 2 to address 0, i.e, 21471c10 to 021471c10.
2) delete codecverbs of 01exxxxx and 01fxxxxx since your mobo doesn't have digital in/out.
3) go to pathmaps to delete items of digital in & out (each two nodes).
4) you may try to remove MuteGPIO of MIC and LineIn in Layouts to see anything might be different.

You got to try it. If you have an mp3 player or whatever, you plug it into LineIn & MIC for testing. Also, get a program called LineIn to test whether sound pass thru your speakers or not.

tmongkol

#371
JustinAiken

JustinAiken

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 211 posts
Hi,

I have both stereo out and digital out working fine in 10.5.8 on my Gigabyte EX58-UD4p... but I was wondering... is there a kext I can download that has sound always mirrored to both the speakers AND digital out?

#372
ovof

ovof

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 239 posts
Hi, great guide !!!

I'm using this method in SL.

On GA P35 DS3R, i modded the DSDT ith HDEF, got sound, with stock appleHDA, and without legacy.

Now, i'm trying to do this using your guide, on GA EP45C DS3R, which has 889A.

here's what i've done :
- i've replaced AZAL->HDEF
- i put DTGP method inside my DSDT
- i add the Method (_DSM, 4, NotSerialized) to my device HDEF, with the code in the texte
- i modified the layout to correspond to 889A

Here's the code :

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

						"built-in",
						Buffer (0x01)
						{
						0x01
						},

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

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

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

									"PinConfigurations", 
									Buffer (0x28)
									{
										/* 0000 */	0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02, 
										/* 0008 */	0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02, 
										/* 0010 */	0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01, 
										/* 0018 */	0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01, 
										/* 0020 */	0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
									}
								}, Local0)
							DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
							Return (Local0)
						}


			}


Now :
- AppleHDA, AppleHDAController, AppleHDAHardwareConfigDriver are loaded at start
- i removed voodoo.kext (no legacy, no hdaenabler too)
- in system profiler, i've this :

Intel High Definition Audio:

  Device ID:	0x1458A102
  Audio ID:	889
  Available Devices:
  Line Out:
  Connection:	1/8-Inch Jack
  External Microphone:
  Connection:	1/8-Inch Jack
  External Microphone:
  Connection:	1/8-Inch Jack
  Headphone:
  Connection:	1/8-Inch Jack
  S/P-DIF Out:
  Connection:	Combo
  S/P-DIF In:
  Connection:	Combo



... but no sound, and system pref are grayed !!

What do i miss please ?

#373
thorias

thorias

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts

Hi, great guide !!!

I'm using this method in SL.

On GA P35 DS3R, i modded the DSDT ith HDEF, got sound, with stock appleHDA, and without legacy.

Now, i'm trying to do this using your guide, on GA EP45C DS3R, which has 889A.

here's what i've done :
- i've replaced AZAL->HDEF
- i put DTGP method inside my DSDT
- i add the Method (_DSM, 4, NotSerialized) to my device HDEF, with the code in the texte
- i modified the layout to correspond to 889A

Here's the code :

Device (HDEF)
				{
					Name (_ADR, 0x001B0000)
					Method (_PRW, 0, NotSerialized)
					{
						Return (Package (0x02)
						{
							0x0D, 
							0x05
						})
					}
					Method (_DSM, 4, NotSerialized)
							{
								Store (Package (0x0A)
									{
	
							"built-in",
							Buffer (0x01)
							{
							0x01
							},
	
										"codec-id", 
										Buffer (0x04)
										{
											0x85, 0x08, 0xEC, 0x10	
										}, 
	
										"layout-id", 
										Buffer (0x04)
										{
											0x79, 0x03, 0x00, 0x00   
										}, 
	
										"device-type", 
										Buffer (0x10)
										{
											"Realtek ALC889A"	 
										}, 
	
										"PinConfigurations", 
										Buffer (0x28)
										{
											/* 0000 */	0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02, 
											/* 0008 */	0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02, 
											/* 0010 */	0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01, 
											/* 0018 */	0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01, 
											/* 0020 */	0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
										}
									}, Local0)
								DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
								Return (Local0)
							}
	
	
				}


Now :
- AppleHDA, AppleHDAController, AppleHDAHardwareConfigDriver are loaded at start
- i removed voodoo.kext (no legacy, no hdaenabler too)
- in system profiler, i've this :

Intel High Definition Audio:
	
	  Device ID:	0x1458A102
	  Audio ID:	889
	  Available Devices:
	  Line Out:
	  Connection:	1/8-Inch Jack
	  External Microphone:
	  Connection:	1/8-Inch Jack
	  External Microphone:
	  Connection:	1/8-Inch Jack
	  Headphone:
	  Connection:	1/8-Inch Jack
	  S/P-DIF Out:
	  Connection:	Combo
	  S/P-DIF In:
	  Connection:	Combo



... but no sound, and system pref are grayed !!

What do i miss please ?


I have the same motherboard as you, put this code:

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)
							 {
								 0x89, 0x08, 0xEC, 0x10
							 }, 
 
							 "layout-id", 
							 /**** Is ResourceTemplate, but EndTag not at buffer end ****/ Buffer (0x04)
							 {
								 0x0C, 0x00, 0x00, 0x00
							 }, 
 
							 "device-type", 
							 Buffer (0x10)
							 {
								 "Realtek ALC889a"
							 }, 
 
							 "PinConfigurations", 
							 Buffer (0x18)
							 {
								 /* 0000 */	0x10, 0x44, 0x11, 0x01, 0x20, 0x14, 0x01, 0x01, 
								 /* 0008 */	0x40, 0x4C, 0x21, 0x02, 0x50, 0x34, 0x81, 0x01, 
								 /* 0010 */	0x60, 0x9C, 0xA1, 0x02, 0xF0, 0x61, 0x4B, 0x01
							 }
						 }, Local0)
					 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					 Return (Local0)
				 }

and connect your amp/headphone to the black jack above the green one and voilà sound is here!!! ;)

#374
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts
[quote name='JustinAiken' post='1227107' date='Aug 16 2009, 04:26 AM']Hi,

I have both stereo out and digital out working fine in 10.5.8 on my Gigabyte EX58-UD4p... but I was wondering... is there a kext I can download that has sound always mirrored to both the speakers AND digital out?[/quote]


@JustinAiken

I don't think it's gonna have sound to both speakers and digital out at the same time.

[quote name='ovof' date='Aug 16 2009, 04:33 AM' post='1227115']

@ovof

You still need LagacyHDA.kext + unpatched AppleHDA.kext (or only patched AppleHDA.kext) for matching your system's ports. I also submitted LegacyHDA.kext for LayoutID 889 in Series of LegacyHDA.kext.

or, You can use as thorias suggested. However, you may check which ports are working out/in.

The best way is adding LegacyHDA.kext into /E/E or /S/L/E. It will be the same as Windows' outputs.

#375
User_01

User_01

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 264 posts
tmongkol, thx :)

#376
ovof

ovof

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 239 posts
THX tmongkol and thorias !


now i've got sound !!!! yes the output is from black and not green output, but its a great beginning !!

if i change then pin configuration, i can correct this ? or add 5.1 ?

As im in SL, i can't use legacyhda since i need x64...


Thank you very much once again !!!!!!!!

#377
Nx-cold

Nx-cold

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I use DSDT with HDEF and legacy 4outs2ins_regular_headphones for my ALC889a. But default output is headphones, so i need to change it to internal speakers manually.
How can i edit legacy kext or DSDT to make internal speakers to be default output ?

#378
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

THX tmongkol and thorias !


now i've got sound !!!! yes the output is from black and not green output, but its a great beginning !!

if i change then pin configuration, i can correct this ? or add 5.1 ?

As im in SL, i can't use legacyhda since i need x64...


Thank you very much once again !!!!!!!!


@ovof

You can use my LegacyHDA.kext when you're running SL @64 & 32bit.

Q: if i change then pin configuration, i can correct this ? or add 5.1 ?
no, you also need to correct node ids of pathmap. I used to change line in to line out for MacBook Pro for someone. I changed codecverbs and node ids. You can download as an example. http://www.mediafire...php?2ygzzmdatj4

You may compare between my pathmap and unpatched of LayoutID 12 & PathmapID 9. You can learn and find out by yourself.

I use DSDT with HDEF and legacy 4outs2ins_regular_headphones for my ALC889a. But default output is headphones, so i need to change it to internal speakers manually.
How can i edit legacy kext or DSDT to make internal speakers to be default output ?



@Nx-cold

I got this report from many people. I have no idea what cause of this problem and I think this problem will occur only after installation.

#379
Nucleus

Nucleus

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

@Nucleus

You're using an ASUS motherboard, aren't you. I have no idea how to solve it since I don't have an ASUS motherboard. However, you may try to do something.

1) change my codecverbs from address 2 to address 0, i.e, 21471c10 to 021471c10.
2) delete codecverbs of 01exxxxx and 01fxxxxx since your mobo doesn't have digital in/out.
3) go to pathmaps to delete items of digital in & out (each two nodes).
4) you may try to remove MuteGPIO of MIC and LineIn in Layouts to see anything might be different.

You got to try it. If you have an mp3 player or whatever, you plug it into LineIn & MIC for testing. Also, get a program called LineIn to test whether sound pass thru your speakers or not.

tmongkol


Thank you for helping.

I tried 1), 2), 3), 4) in various ways. here're the results.

When I did only 1)
- Sound assertion error.
- rear mic port (pink) works.
- "Use ambient noise reduction" being checked, input becomes too low to move Input level even if the Input volumes is MAX. It moves a bit when I scream and yell on a mic.
- If I don't check "User ambient noise rediction" input power is okay. But only right side input. I found it using LineIN app. If I scream and yell with the option checked, both left and right side works.

When I did 3) with 1), 2), 4) or 1), 2) or 1), 4).... whatever
- No Input and Output.
- System Profiler can show up the ports, though.

When I did only 4)
- rear mic port (pink) works.
- "Use ambient noise reduction" being checked, input becomes too low to move Input level even if the Input volumes is MAX. It moves a bit when I scream and yell on a mic.
- If I don't check "Use ambient noise rediction" input power is okay. But only right side input. I found it using LineIN app. If I scream and yell with the option checked, both left and right side works.
- there is a delay. When I say something on mic with LineIN running, speacker doesn't immediately plays my voice. It takes about 2 sec. after I say something on mic, to play my voice.

When I did 1), 2) and 4)
- same as When I did only 1)

Conclusion:
1. any changes to Codec Verbs cause sound assertion error.
2. both MuteGPIO and Codec Verbs has something to do with input issue.
3. "Use ambient noise reduction" option needs fixing. (signal proccessing)
4. I'm doing 3) in wrong way. Can you tell me exactly what part of Info.plist I should fix?

#380
thorias

thorias

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts

THX tmongkol and thorias !


now i've got sound !!!! yes the output is from black and not green output, but its a great beginning !!

if i change then pin configuration, i can correct this ? or add 5.1 ?

As im in SL, i can't use legacyhda since i need x64...


Thank you very much once again !!!!!!!!


As tmongkol said you need also correct node id, I tried to play with the pin configuration and some microsoft hda audio doc but couldn't get it right, anyway for me I don't care to much as I'm using a basic stereo amp with speakers but don't need anymore to load kext for audio is working in pure DSDT mode now..... :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy