Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Rumfy

Any solution on ALC662 Mic input / Output

6 posts in this topic

Recommended Posts

I have ALC662 audio onboard and from what I've read on forums there are only 2 options if you wish to use a microphone.

 

Or you can use the microphone and you have no sound output, or you have sound output and you have no mic. Does any1 in here know if there will be a solution to this, or maybe any work in progress?

 

Greetings

Share this post


Link to post
Share on other sites

Hello,

 

too much rumors m8. I have a mobo with ALC662 and sound works as good or bad as with all other ALC codecs.

Put the enclosed kext into E/E. Get rid of any voodooHDA kexts in your system.

Patch appleHDA.kext with following terminal command:

 

sudo perl -pi -e 's|\x85\x08\xec\x10|\x62\x06\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

If not already add/edit following in the HDEF section of your DSDT.aml:

(you can get this done by tools like DSDTAutoPatcher DSDTSE, ...)

 

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)

{

0x62, 0x06, 0xEC, 0x10

},

 

"layout-id",

Buffer (0x04)

{

0x96, 0x02, 0x00, 0x00

},

 

"device-type",

Buffer (0x11)

{

"ALC662"

},

 

"PinConfigurations",

Buffer (0x28)

{

/* 0000 */ 0x01, 0x90, 0x02, 0x01, 0x02, 0x01, 0x10, 0x40,

/* 0008 */ 0x11, 0x01, 0x20, 0x90, 0xA1, 0x90, 0x60, 0x90,

/* 0010 */ 0xA1, 0x02, 0x40, 0x30, 0x81, 0x01, 0x50, 0x40,

/* 0018 */ 0x21, 0x02, 0x30, 0x61, 0x4B, 0x01, 0x18, 0x19,

/* 0020 */ 0x1A, 0x1B, 0x1C, 0x1D, 0x14, 0x15, 0x16, 0x0B

}

}, Local0)

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

Return (Local0)

}

}

 

 

So, you will have 4 outgoing ports and at least one incoming port for audio and front ports working too.

Teamspeak, skype, facetime,... works well with this.

Sorry but front port auto detection does not work.

 

Hope this helps and you will c that this were rumors bout the ALC662.

 

Cheers

GigabyteALC6626Ch.kext.zip

Share this post


Link to post
Share on other sites

Hey Dino7777,

 

Thanks alot, I will try this as soon as I have alot of spare time :)!

 

Hello,

 

too much rumors m8. I have a mobo with ALC662 and sound works as good or bad as with all other ALC codecs.

Put the enclosed kext into E/E. Get rid of any voodooHDA kexts in your system.

Patch appleHDA.kext with following terminal command:

 

sudo perl -pi -e 's|\x85\x08\xec\x10|\x62\x06\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

If not already add/edit following in the HDEF section of your DSDT.aml:

(you can get this done by tools like DSDTAutoPatcher DSDTSE, ...)

 

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)

{

0x62, 0x06, 0xEC, 0x10

},

 

"layout-id",

Buffer (0x04)

{

0x96, 0x02, 0x00, 0x00

},

 

"device-type",

Buffer (0x11)

{

"ALC662"

},

 

"PinConfigurations",

Buffer (0x28)

{

/* 0000 */ 0x01, 0x90, 0x02, 0x01, 0x02, 0x01, 0x10, 0x40,

/* 0008 */ 0x11, 0x01, 0x20, 0x90, 0xA1, 0x90, 0x60, 0x90,

/* 0010 */ 0xA1, 0x02, 0x40, 0x30, 0x81, 0x01, 0x50, 0x40,

/* 0018 */ 0x21, 0x02, 0x30, 0x61, 0x4B, 0x01, 0x18, 0x19,

/* 0020 */ 0x1A, 0x1B, 0x1C, 0x1D, 0x14, 0x15, 0x16, 0x0B

}

}, Local0)

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

Return (Local0)

}

}

 

 

So, you will have 4 outgoing ports and at least one incoming port for audio and front ports working too.

Teamspeak, skype, facetime,... works well with this.

Sorry but front port auto detection does not work.

 

Hope this helps and you will c that this were rumors bout the ALC662.

 

Cheers

Share this post


Link to post
Share on other sites

You don't need all that in the DSDT. Just replace azal with the following:

 

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

 

Always remember that the smaller the DSDT, the better and faster the system.

Share this post


Link to post
Share on other sites

Hi Dr. Hunt,

 

I think I prefer your last method along with the kext from Dino. But what do you mean with azal? Never heard about that. I tried to start an DSDT editor yesterday. When I choose "Extract DSDT" I got a whole list with codes. And then I need to search for Device (AZAL)? Then replace it with your lines provided?

 

Thanks in advanced guys if this works I got a perfect Mac OSX!!

 

You don't need all that in the DSDT. Just replace azal with the following:

 

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

 

Always remember that the smaller the DSDT, the better and faster the system.

Share this post


Link to post
Share on other sites

Ok guys yesterday I searched again with DSDT editor. I cannot find any HDEF or AZAL records... What to do? If I am correct then all my hardware is defined in this DSDT file? Please any help on this final step?

 

Thanks in advanced.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.



×