Jump to content

[HOW TO]ALC662 Asus P5QL SE


  • Please log in to reply
16 replies to this topic

#1
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
Dummy kext for alc662 on Asus P5QL SE Attached File  ALC662_Asus_Ytrox.kext.zip   8.26KB   256 downloads

remember to binpatch applehda after 10.6.2 update:

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

I have changed pinconfig at:
<01471c10 01471d40 01471e11 01471f01 01571cf0 01571d11 01571e11 01571f41 01671cf0 01671d11 01671e11 01671f41 01871c40 01871d98 01871ea1 01871f01 01971c50 01971d98 01971ea1 01971f02 01a71c4f 01a71d30 01a71e81 01a71f01>

add device hdef in dsdt (if azal overwrite it)

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

all channels works

I think it will works also on all asus boards. any test are appreciated

cheers

#2
padremayi

padremayi

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

Dummy kext for alc662 on Asus P5QL SE Attached File  ALC662_Asus_Ytrox.kext.zip   8.26KB   256 downloads

remember to binpatch applehda after 10.6.2 update:

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

I have changed pinconfig at:
<01471c10 01471d40 01471e11 01471f01 01571cf0 01571d11 01571e11 01571f41 01671cf0 01671d11 01671e11 01671f41 01871c40 01871d98 01871ea1 01871f01 01971c50 01971d98 01971ea1 01971f02 01a71c4f 01a71d30 01a71e81 01a71f01>

add device hdef in dsdt (if azal overwrite it)

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

all channels works

I think it will works also on all asus boards. any test are appreciated

cheers


Can you explain me where do I put attacched kext? In /Extra/Extension or in /System/Library/Extension? I patched my DSDT, indeed System Profiler detect my audio chip but System Preferences doesn't show nothing. Where do I change pinconfig?
Sorry for my question but in this way I could test my board (P5KPL-AM SE).

Thanks in advance

#3
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy

Can you explain me where do I put attacched kext? In /Extra/Extension or in /System/Library/Extension? I patched my DSDT, indeed System Profiler detect my audio chip but System Preferences doesn't show nothing. Where do I change pinconfig?
Sorry for my question but in this way I could test my board (P5KPL-AM SE).

Thanks in advance


copy it in extra/ext, rebuild cache (extension.mkext). run in terminal the patch for alc 662. reboot. it should works. let me now

#4
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
You have different codecID and different pinConfig. try this for now

and this



Edit: right kexts
Attached File  ALC662__283904135ID_clean.kext.zip   8.33KB   99 downloads Attached File  ALC662__283904135ID_E11.kext.zip   8.09KB   91 downloads

#5
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
Obiviously you can't get my kext working because you don't have alc662 you have alc887!!!!!!!!!!!!!


ID 28390413 :blink:

#6
padremayi

padremayi

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

Obiviously you can't get my kext working because you don't have alc662 you have alc887!!!!!!!!!!!!!


ID 28390413 :blink:


codec_dump.txt shows Realtek ALC887 and vendorID 283904135, but manual of motherboard says ALC662 :|


You have different codecID and different pinConfig. try this for now

and this


Doesn't work :-(

#7
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
it doesn't work cause you have used alc662 patch for applehda. try

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

not sure it works :blink:

try also with 10.6.2 applehda

#8
padremayi

padremayi

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

You have different codecID and different pinConfig. try this for now

and this


In this kext there isn't Contents folder, is it the same?
Tomorrow i'll try your new perl command. Thanks for now

#9
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy

In this kext there isn't Contents folder, is it the same?
Tomorrow i'll try your new perl command. Thanks for now

put into /Contents.. sorry

#10
padremayi

padremayi

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

it doesn't work cause you have used alc662 patch for applehda. try

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

not sure it works :)

try also with 10.6.2 applehda


It doesn't work :-(

#11
igeek

igeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Hello ytrox,
you have a private message.

#12
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy

Hello ytrox,
you have a private message.


I'm not at home, extract applehda from 10.6.7 update using pacifist or gogling. I will give you my dsdt. I don't use non native ext but fakesmc and dummy inject

#13
igeek

igeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
It doesn't work for me.

This is my configuration for AppleHDA 10.6.8 and replacement for /System/Library/Extensions/appleHDA.kext/Contents/Resources.
Mic not working.

Device (HDEF)
			{
				Name (_ADR, 0x001B0000)
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x0A)
						{
							"codec-id", 
							Buffer (0x04)
							{
								0x62, 0x06, 0xEC, 0x10
							}, 
							"layout-id", 
							Buffer (0x04)
							{
								0x0C, 0x00, 0x00, 0x00
							}, 
							"device-type", 
							Buffer (0x0F)
							{
								"Realtek ALC662"
							}, 
							"built-in", 
							Buffer (One)
							{
								0x00
							}, 
							"PinConfigurations", 
							Buffer (Zero) {}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

Attached Files



#14
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
yes cause you have to modify /Plugins/AppleHDAHardwareconf. try this Attached File  Info.plist.zip   2.54KB   86 downloads

#15
igeek

igeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Mic still not working.

#16
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 779 posts
  • Gender:Male

Mic still not working.


Is your sound ouput working ?

#17
igeek

igeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
My sound ouput work.

Otherwise u can try ytrox's configuration for AppleHDA 10.6.8.

Attached Files







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