Jump to content
  • 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. 
ytrox

[HOW TO]ALC662 Asus P5QL SE

17 posts in this topic

Recommended Posts

Dummy kext for alc662 on Asus P5QL SE ALC662_Asus_Ytrox.kext.zip

 

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

Share this post


Link to post
Share on other sites
Dummy kext for alc662 on Asus P5QL SE ALC662_Asus_Ytrox.kext.zip

 

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

 

 

ID 28390413 :blink:

Share this post


Link to post
Share on other sites
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 :-(

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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 :-(

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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

layout12.xml

Platforms.xml

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.

  • Posts

    •   Boot option name retrieval 1) Locate the booter image as explained blow. 2) Locate ".contentDetails" in the parent folder 2.1) if unsuccessful, locate ".disk_label.contentDetails" in the parent folder 2.2) if unsuccessful, retrieve the volume's name   HFS Boot 1) Retrieve blessed file via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L41 1.1) if unsuccessful, retrieve blessed folder via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L45, append "\\boot.efi". NOTE: This is broken in the latest binary I checked. 1.2) if unsuccessful, use the following hard-coded paths: "\System\Library\CoreServices\boot.efi", "\EFI\APPLE\{ARCH}\BOOT.EFI", <StandardEfiPath>, "\\boot.efi" in this order 2) FV2 Recovery does not follow the usual practice because it is not shown by BootPicker anyway. Determine it via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L49, verify it does not match 1).   APFS Boot 1) Determine the APFS Volume Info (and hencefor detect whether it is APFS in the first place) via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L54 1.1) Determine the APFS Container Info via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L36 1.2) Verify the Volume Role via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L51 1.3) Retrieve blessed file analoguous to HFS 1). NOTE: This step and 1.3.1) are broken in the binary I checked, hencefor it does not happen, but is probably supposed to. 1.3.1) if unsuccessful, retrieve blessed folder and append the booter name the same way as in HFS 1.2) 1.4) (if unsuccessful,) locate all Volumes that are part of the same container, check whether the current Preboot partition has folders named by the just located Volumes' GUIDs and append the hard-coded paths from HFS 1.2) if existant 2) Recovery detection works the same way as 1.4), just for a Recovery instead of a Preboot volume
    • Got garbled sound in earphone    Notebook Asus X550VX i7 - 7700hq with ALC255 not working with applealc  layout id  3, 13, 17, 18, 27, 28, 99 its is working with VoodooHDA but the new one 2.9.1 it much has low volume, but bad sound in earphone     codec dump linux https://drive.google.com/file/d/1pg2y76WvFYsO8vFY-2B_2OLyKMmkQ8Tg/view     latest debug http://www.mediafire.com/file/2pjny4eq5r64ed8/debug_1383 (1).zip  
    • For F6 Bios, which DSDT is the one i should use? I´m a little confused in the Mass of DSDT here ;-).   Great Thread by the Way.   Another Question: I have 2 960Pro inside my Rig (one with OS X, one with Windows 10). When i try to mount my EFI on OS X NVMe the system freezes... :-(   DWhen i unplug the Windows NVMe everything is fine an it mounts the EFI.   Anybody an idea?   Tried the upper Port on the Board (OS X) & the middle / lower Port, in the Middle it mounts the EFI in the lower it freezes.   But i need the middle Port for an SATA M.2 SSD :-D... Even when i plug the Windows NVMe into an PCIe Adapter Card it freezes at the point i mount the EFI.   I´m mounting with Clover Configurator.     Thank You guys.
    •   Just add "ngfxsubmit=0" to config.plist to disable the fix within nvidiafixup
    • @MegaCookie   ok, I have no solution for that Trial 7 good for the release?
      Is this codec good enough for you?


×