Contribute
Register

can't apply DSDT patch in maciasl

Status
Not open for further replies.

Attachments

  • image.jpg
    image.jpg
    1 MB · Views: 360
  • image.jpg
    image.jpg
    1,017.7 KB · Views: 341
  • image.jpg
    image.jpg
    1,007.2 KB · Views: 335
Here you go

Attach actual file you're using and actual text of the patch.

Note that you wrote: "for my desktop" in post #1, but the DSDT.dsl you provided in post #3 is for a laptop.
 
View attachment DSDT.dsl.zip
Attach actual file you're using and actual text of the patch.

Note that you wrote: "for my desktop" in post #1, but the DSDT.dsl you provided in post #3 is for a laptop.


#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout12.txt


# Note: Change your layout ID if you need something different
# Note: "hda-gfx" is not needed with Haswell and should probably be removed


# 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
"layout-id", Buffer() { 9, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;


well i don't know its not a laptop its a desktop
 
View attachment 182029


#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout12.txt


# Note: Change your layout ID if you need something different
# Note: "hda-gfx" is not needed with Haswell and should probably be removed


# 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
"layout-id", Buffer() { 9, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;


well i don't know its not a laptop its a desktop

It applies just fine, but this DSDT.dsl is for a laptop (ASUS), not desktop.

Note:
Code:
DefinitionBlock ("DSDT.aml", "DSDT", 1, "_ASUS_", [B]"NoteBook"[/B], 0x00000000)
 
It applies just fine, but this DSDT.dsl is for a laptop, not desktop.

Note:
Code:
DefinitionBlock ("DSDT.aml", "DSDT", 1, "_ASUS_", [B]"NoteBook"[/B], 0x00000000)

Maybe I grabbed the wrong one I'll check back when I'm at my house
 
Maybe I grabbed the wrong one I'll check back when I'm at my house

Yes, clearly you're opening a different DSDT.dsl than the one you're providing here.

I think you'll find the patch applies just fine if you download the DSDT.dsl you keep attaching here.
 
Yes, clearly you're opening a different DSDT.dsl than the one you're providing here.

I think you'll find the patch applies just fine if you download the DSDT.dsl you keep attaching here.

ok so this is the dsdt I'm talking about and yes the one i posted it does work onView attachment dsdt.dsl.zip
 
ok so this is the dsdt I'm talking about and yes the one i posted it does work onView attachment 182061

This DSDT has no HDEF. You have to add it. For example, I use this on my desktop:

Code:
into device name_adr 0x001B0000 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (HDEF)\n
{\n
    Name (_ADR, 0x001B0000)\n
    Name (_PRW, Package() { 0x0D, 0x05 })\n
    Method (_DSM, 4, NotSerialized)\n
    {\n
        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
        Return (Package()\n
        {\n
            "layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n
            "PinConfigurations", Buffer() {},\n
            "hda-gfx", Buffer() { "onboard-1" },\n
            //"MaximumBootBeepVolume", 77,\n
        })\n
    }\n
}
end;
 
This DSDT has no HDEF. You have to add it. For example, I use this on my desktop:

Code:
into device name_adr 0x001B0000 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (HDEF)\n
{\n
    Name (_ADR, 0x001B0000)\n
    Name (_PRW, Package() { 0x0D, 0x05 })\n
    Method (_DSM, 4, NotSerialized)\n
    {\n
        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
        Return (Package()\n
        {\n
            "layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n
            "PinConfigurations", Buffer() {},\n
            "hda-gfx", Buffer() { "onboard-1" },\n
            //"MaximumBootBeepVolume", 77,\n
        })\n
    }\n
}
end;






thx it worked but i did the audio patch and not getting no sound so i guess ill make a new thread
 
Status
Not open for further replies.
Back
Top