Jump to content

ALC889a Full surround working, still need something!


13 posts in this topic

Recommended Posts

Hi all,

 

I succesfully installed LegacyHDA.kext and HDAenabler.kext for my ALC889a sound card ( X48-DS5 mobo ).

i'm running full surround now and i'm very happy with that.

 

Now that i accomplished that i want to get the SPDIF output working, since i use that for watching movies. ( connected to receiver ).

 

Now i read something about linux codec dumps or something but since i'm a newb i would really like some help on how to get that port working in the most easiest way ^^

 

currently outputs showing :

 

1531h6w.png

 

any help is very appreciated :)

So i did some searching.

 

i'm currently using AppleHDA + LegacyHDA + DSDT HDEF injection

I did nothing to the AppleHDA.

 

I used the 4outs2ins HDA Headphone legacyHDA from here : ALC889a_LayoutID_885

This version gave me best options + most outs-ins

 

 

My DSDT pin configuration is like this:

Used the Auto-patcher for my Mainboard X48-DS5

 

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

 

For as i know i need to Edit the LegacyHDA and my DSDT.aml.

But where do I start? i'm really lost :( Is it necessary to get a linux dump ?

 

I searched as much as i could but there are so many different options that I dont know which one is the best or where to start. still kinda new to all this..

 

Working:

5.1 surround

Headphones (not front one)

Line-in

Mic-in

Optical-in

 

Not working:

S/PDIF out :blink:

Bump, edited post

 

it's all done and explained for you here: http://www.insanelymac.com/forum/index.php?showtopic=140941

 

choose 3in3 out, you can see it reads "4out 2in analogue", "3in 3out digital"!

 

Even so HDMI Audio (HDAU) out is another matter but I saw you where looking on the "ati 5770" thread yesterday ;)

 

D

I guess i completely missed that part hehe, but since i have 4 outs right now and i use all of them. that means that i lose outs when going 3ins right ? or am i missing something here? i'm not able to test it right now since i'm not home.

 

I will test it when i'm home and post results here. hoping i get 5 outs ^^ ( 3 for surround, 1 headphones, 1 S/PDIF )

 

Thanks for putting me in the right direction :)

I guess i completely missed that part hehe, but since i have 4 outs right now and i use all of them. that means that i lose outs when going 3ins right ? or am i missing something here? i'm not able to test it right now since i'm not home.

 

I will test it when i'm home and post results here. hoping i get 5 outs ^^ ( 3 for surround, 1 headphones, 1 S/PDIF )

 

Thanks for putting me in the right direction ;)

 

you still have 4 outs but one is spdif and 3 analogue.

 

HDMI audio is separate.

 

D

you still have 4 outs but one is spdif and 3 analogue.

 

HDMI audio is separate.

 

D

 

Thank you very much i will test it ^^ do you know if its possible to get all ports working ? ( since there are 4 outs and 2 ins on the mobo ) if not i'm happy with this ^^ but if i can get all ports working i can have my headset connected to ( since this is a wireless sennheiser its always connected )

Well, It are good topics. although it's completely weird talks for me, i don't understand a thing what i should do.

And they all edit AppleHDA, but i use LegacyHDA with DSDT injection.

 

I tried using that 3ins3outs digital Kext but that didn't work since when i booted i had just a bluescreen sitting there doing nothing..

 

 

@FKA do you use DSDT injection? if so can you post yours to compare?

Here's my HDEF device for MB built in codec alc888.

 

            Device (HDEF)
           {
               Name (_ADR, 0x00xxxxxxxxxx)
               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)
               }
           }

 

And this is what i use for HDMI audio.

 

		Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x02)
                           {
                               "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)
                   }
               }
           }

Here's my HDEF device for MB built in codec alc888.

 

            Device (HDEF)
           {
               Name (_ADR, 0x00xxxxxxxxxx)
               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)
               }
           }

 

And this is what i use for HDMI audio.

 

		Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x02)
                           {
                               "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)
                   }
               }
           }

 

 

I dont get it, why arent there any pin configs in your DSDT ? :D i also noticed the: Name (_ADR, 0x00xxxxxxxxxx)

Hows that ? is that because ALC888 is supported bij mac or something ?

I dont get it, why arent there any pin configs in your DSDT ? :rolleyes: i also noticed the: Name (_ADR, 0x00xxxxxxxxxx)

Hows that ? is that because ALC888 is supported bij mac or something ?

 

you just need layout-id, the one ive listed is for alc888 you need to find the one for alc889a (885).

Then you can remove hdaenabler.kext

 

And I xxx'd out the address so that you don't just copy and paste my code. Your address will be different - read this:

 

http://www.insanelymac.com/forum/index.php?showtopic=168014

 

D

×
×
  • Create New...