Jump to content
AliveVam

How to Patch HDAS to HDEF ?

5 posts in this topic

Recommended Posts

Advertisement
10 minutes ago, MaLd0n said:

just use it and clover rename in all tables

 

After doing this...but not working...

Untitled.jpeg

 

I can't patch HDEF in DSDT...

#Automatically adjusted by AppleHDA Patcher.app
# original by RehabMan


#   Inject Audio info
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
    Return (Package()\n
    {\n
        "AAPL,slot-name", Buffer() { "Built in" },\n
        "layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n
        "device_type", Buffer() { "Audio Controller" },\n
        "built-in", Buffer() { 0x00 },\n
        "PinConfigurations", Buffer() { },\n
        "hda-gfx", Buffer() { "onboard-1" }\n
    })\n
}\n
end

 

 

Edited by AliveVam

Share this post


Link to post
Share on other sites

Or open up your DSDT with macIASL. Make sure ACPI version is set to 6.0. Rename HDAS to HDEF (using find/replace facility) and then inject the patch (_DSM Method) within HDEF device. Recompile and you're good to go.

 

Device (HDEF)
{
    [...]
    [...]
    Method (_DSM, 4, NotSerialized)
    {
        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
        Return (Package()
        {
            "AAPL,slot-name", Buffer() { "Built in" },
            "layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },
            "device_type", Buffer() { "Audio Controller" },
            "built-in", Buffer() { 0x00 },
            "PinConfigurations", Buffer() { },
            "hda-gfx", Buffer() { "onboard-1" }
        })
    }
    [...]
    [...]
}

 

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.

×