Jump to content

Any solution on ALC662 Mic input / Output


  • Please log in to reply
5 replies to this topic

#1
Rumfy

Rumfy

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 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

#2
dino7777

dino7777

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
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

Attached Files



#3
Rumfy

Rumfy

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
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



#4
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,456 posts
  • Gender:Male
  • Location:Cairo, Egypt and NYC, USA
  • Interests:Wandering around on the internet!! Politics, Sci/Tech, Medicine.
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.

#5
Rumfy

Rumfy

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
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.



#6
Rumfy

Rumfy

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
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.





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