Jump to content

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

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

  • Please log in to reply
1152 replies to this topic

#1141
MacKonsti

MacKonsti

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 228 posts
  • Gender:Male
  • Location:Muppet Show
Guys thank you for your first-post shares and instructions, ALC889 worked OK with 10.8.2 on my Gigabyte H61N-USB3. Just bin-patched the main AppleHDA binary, added ALC889.kext and layout12 and Platforms zlib's. Made sure on my DSDT it's layout 12 hex.

However, the volume is quite low--can anyone help me edit the xml's in order to boost the volume, please? At maximum level, on my headphones, it sounds just about right. If e.g. using iTunes internet radio stations, some of them broadcast with lower volume and it's not possible to boost the volume.

Thanks in advance!

#1142
tanyildiz

tanyildiz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:bursa, turkey

Morning VCH888, can I please confirm I did everything ok and optimally on my fresh Mountain Lion installation (ALC885/889a)?

sudo cp /ALC885HDA_Lion_MLion_V1.00/AppleHDA_xml/layout12.xml.zlib /System/Library/Extensions/AppleHDA.kext/Contents/Resources/

sudo cp /ALC885HDA_Lion_MLion_V1.00/AppleHDA_xml/Platforms.xml.zlib /System/Library/Extensions/AppleHDA.kext/Contents/Resources/

sudo cp -R /ALC885HDA_Lion_MLion_V1.00/ALC885HDA.kext /System/Library/Extensions


Using your "old" method on Lion I didn't have to edit my DSDT HDEF section for audio to work nicely, with my fresh Mountain Lion install I had to change the HDEF section to match Layout ID 12 as you posted above (the new HDEF section is much smaller with less info, is that ok?).

Old HDEF Section...

			Device (HDEF)
			{
				Name (_ADR, 0x001B0000) // _ADR: Address
				Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
				{
					Return (Package (0x02)
					{
						0x0D,
						0x05
					})
				}
				Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
				{
					Store (Package (0x0A)
						{
							"built-in",
							Buffer (One)
							{
								 0x01
							},
							"codec-id",
							Buffer (0x04)
							{
								 0x85, 0x08, 0xEC, 0x10
							},
							"layout-id",
							Buffer (0x04)
							{
								 0x75, 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)
				}
			}


New HDEF Section...
			Device (HDEF)
			{
				Name (_ADR, 0x001B0000)
				Method (_PRW, 0, NotSerialized)
				{
					Return (Package (0x02)
					{
						0x0D,
						0x05
					})
				}
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x04)
						{
							"layout-id",
							Buffer (0x04)
							{
								0x0C, 0x00, 0x00, 0x00
							},
							"PinConfigurations",
							Buffer (Zero) {}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

I then ran the following and also Kext Utility for good measure...


sudo chown -R 0:0 /System/Library/Extensions/ALC885HDA.kext

sudo chmod -R 755 /System/Library/Extensions/ALC885HDA.kext

sudo touch /System/Library/Extensions


Following a reboot audio is working and the outputs are shown in the two attached files.


it worked on EP45-DS4. thank you all, who use their knowledges and share.

#1143
mpalomba3

mpalomba3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
  • Gender:Male
Hi, I have an ALC662. I am running 10.8.3 Mountian lion and I can to understand the process to get it working. I do not have a DSDT so I can't use that. Can anyone tell me how to set it up step by step?

Also I have an HP P6710T (Foxconn Motherboard)

#1144
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
Thanks VCH888 for your solution.
Your way is the only way which is working with the mountain lion kext on my alc889a without sound assertions.
Before i had to use the lion kext to get no sound assertions!!!!

Thanks a lot!

#1145
YaPaY

YaPaY

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 114 posts
  • Gender:Male
  • Location:Zurich
  • Interests:xbox one
Hello,

I tried many things but I haven't got any sound output on my system.

In system Built-in Audio section I see only "No Built-in Audio". In System preferences Audio section "no any sound output"

I added HDEF to my DSDT.aml, compiled but still any success. Sound controll ikon is still passive.

When I install VooDooHDA I can get sound but sound quality is not good and making sometimes stuttering.

My Sound Codec is ALC889, When I put AppleHDAEnabler.kext to SLE, during boot I see audio, and when I check system information section I see Intel Audio 12 but still I can't select any sound output.

What would you like to suggest me? I remember only when I first time install I could get sound via only headphones but I'm not sure it was working through VoodooHDA or AppleHDA.

#1146
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male

Hello,

I tried many things but I haven't got any sound output on my system.

In system Built-in Audio section I see only "No Built-in Audio". In System preferences Audio section "no any sound output"

I added HDEF to my DSDT.aml, compiled but still any success. Sound controll ikon is still passive.

When I install VooDooHDA I can get sound but sound quality is not good and making sometimes stuttering.

My Sound Codec is ALC889, When I put AppleHDAEnabler.kext to SLE, during boot I see audio, and when I check system information section I see Intel Audio 12 but still I can't select any sound output.


What would you like to suggest me? I remember only when I first time install I could get sound via only headphones but I'm not sure it was working through VoodooHDA or AppleHDA.


Did you speak about your AMD system?
Because it never worked on AMD and i´m pretty sure that it will never work.

#1147
YaPaY

YaPaY

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 114 posts
  • Gender:Male
  • Location:Zurich
  • Interests:xbox one

Did you speak about your AMD system?
Because it never worked on AMD and i´m pretty sure that it will never work.


Interesting,

DSDT Injection method works on AMD Systems especially for Graphic Cards. Why Sound Injection doesn't work?

#1148
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male

Interesting,

DSDT Injection method works on AMD Systems especially for Graphic Cards. Why Sound Injection doesn't work?


The problem is not the dsdt injection it have something to do with the kext, already tried it on a few amd systems and its not working.
The only thing which i didn´t try is to patch it completly new for the amd system. (I know it´s a little bit of work and i´m pretty sure that it is not working)

#1149
YaPaY

YaPaY

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 114 posts
  • Gender:Male
  • Location:Zurich
  • Interests:xbox one

The problem is not the dsdt injection it have something to do with the kext, already tried it on a few amd systems and its not working.
The only thing which i didn´t try is to patch it completly new for the amd system. (I know it´s a little bit of work and i´m pretty sure that it is not working)


till install voodooHDA I could get sound via AppleHDA, I'm not 100% Sure but 90% :) Because I remember only that I didn't like the sound quality of VoodooHDA deleted it according to uninstall Information of VoodooHDA and my friend was using my pc only from headphone. (I tried VoodooHDA only for this reason, I couldn't get sound from Coax or SPDIF therefore I have been installed VoodooHDA

If I find some time and empty HDD I will install Lion from scratch. After that I think I should configure only sound ports to get sound from rear SPDIF

#1150
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
If i would be you i will use again voodoohda, there are more versions of it and i´m sure there is one which you can get working.
If you understand some things about sound settings you can configure it by yourself.

#1151
YaPaY

YaPaY

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 114 posts
  • Gender:Male
  • Location:Zurich
  • Interests:xbox one

If i would be you i will use again voodoohda, there are more versions of it and i´m sure there is one which you can get working.
If you understand some things about sound settings you can configure it by yourself.


I installed again VoodooHDA, single problem left: When I start a sound first 1-2 seconds stuttering after that works great. I'm suspicious that caused because z5500 going sleep immediatly when no sound data come. Therefore I'm looking for a small utility called SoundStay, but I couldn'T find this small tool internet. Almost every download link goes to Dropbox and unfortunately this link has been broken.

If you help me, appreciated that to much.

Thanks

#1152
@ROBASEFR

@ROBASEFR

    @ROBASEFR

  • Members
  • PipPipPipPipPip
  • 293 posts
  • Gender:Male
  • Location:France

Go here fore solutions on ALC 889a-885

 

http://www.insanelym...applehda-audio/



#1153
Clideven

Clideven

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts

Sound Solution for 889a for SL

needs DSDT patch

decompile your DSDT.aml to DSDT.dsl (you can use iaslme program. just drag your DSDT.aml on icon of iaslme)

Edit your DSDT.dsl file with textedit

a. search and replace all AZAL entires with HDEF

b. replace the whole section Device (HDEF) above the line : "Name (BUFA, ResourceTemplate ()" with the following:

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)
}
}



Save your DSDT.dsl and compile it to DSDT.aml (just drag it on icon of iaslme again)


put your patched DSDT.aml file in /Extra

put the attached 889a.kext (this is a combined plist) in /Extra/Extensions

Tip: remove Voodoohda

remove your Caches:

sudo rm -rf /System/Library/Caches

rebuild kextcache:

sudo kextcache -v 1 -t -l -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

reboot and you´re done

You will have all inputs and outputs working (personally not tested digital) headphones no autoswitching
(has 2 sound assertions at boot)

Credit goes to Proengin for the DSDT part and ffosilva for the combined plist

first off all Tnx for the info, but unfortunately I can´t get the sound thru the green jack only

the Black ???? OS X 10.6.8 but the same under 10.9.2 but thats another story.

 

any idea??







2 user(s) are reading this topic

0 members, 2 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