Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Dear Feartech
Could you help me disable DGPU cleanly via DSDT on msi g9-rcx?
 
Hi, I'm a beginner, prepared my first pc and all is ok except the battery
I downloaded DSDT with Clover (F4) and disassembled with iasl, before modifying it with a patch I tried to compile with MaciASL and I found some errors
many has been fixed but now I'm stuck on this piece of code and don't know how to change it:

If (LEqual (GESF, 0x15))
{
If (LEqual (PARM, 0x01))
{
Or (\_SB.PCI0.AUDE, 0x20, \_SB.PCI0.AUDE)
\_SB.PCI0.B0D3.ABWA (0x01)
\_SB.PCI0.B0D3.ARST (\_SB.PCI0.B0D3.ASTR (\_SB.PCI0.B0D3.AINI (\_SB.PCI0.B0D3.CXDC (\_SB.PCI0.B0D3.ABWA (0x00)
Notify (\_SB.PCI0, 0x00) // Bus Check)
If (LEqual (PARM, 0x00))
{
And (\_SB.PCI0.AUDE, 0xDF, \_SB.PCI0.AUDE)
Notify (\_SB.PCI0, 0x00) // Bus Check
}
Store (Zero, GESF) /* \_SB_.PCI0.GFX0.GESF */
)
Store (Zero, PARM) /* \_SB_.PCI0.GFX0.PARM */
Return (SUCC) /* \_SB_.PCI0.GFX0.SUCC */
Store (Zero, GESF) /* \_SB_.PCI0.GFX0.GESF */
)
Return (SUCC) /* \_SB_.PCI0.GFX0.SUCC */
)
}
}

if there someone who can help me ?
 

Attachments

  • DSDT.aml
    149.3 KB · Views: 63
  • DSDT.dsl
    1.1 MB · Views: 60
Hi, I'm a beginner, prepared my first pc and all is ok except the battery
I downloaded DSDT with Clover (F4) and disassembled with iasl, before modifying it with a patch I tried to compile with MaciASL and I found some errors
many has been fixed but now I'm stuck on this piece of code and don't know how to change it:

If (LEqual (GESF, 0x15))
{
If (LEqual (PARM, 0x01))
{
Or (\_SB.PCI0.AUDE, 0x20, \_SB.PCI0.AUDE)
\_SB.PCI0.B0D3.ABWA (0x01)
\_SB.PCI0.B0D3.ARST (\_SB.PCI0.B0D3.ASTR (\_SB.PCI0.B0D3.AINI (\_SB.PCI0.B0D3.CXDC (\_SB.PCI0.B0D3.ABWA (0x00)
Notify (\_SB.PCI0, 0x00) // Bus Check)
If (LEqual (PARM, 0x00))
{
And (\_SB.PCI0.AUDE, 0xDF, \_SB.PCI0.AUDE)
Notify (\_SB.PCI0, 0x00) // Bus Check
}
Store (Zero, GESF) /* \_SB_.PCI0.GFX0.GESF */
)
Store (Zero, PARM) /* \_SB_.PCI0.GFX0.PARM */
Return (SUCC) /* \_SB_.PCI0.GFX0.SUCC */
Store (Zero, GESF) /* \_SB_.PCI0.GFX0.GESF */
)
Return (SUCC) /* \_SB_.PCI0.GFX0.SUCC */
)
}
}

if there someone who can help me ?
or you could use the hot patch files from here instead:
 
Hi friends, I am using PC, what about when I got DSDT from OC, then I tried to compile, result "0 Errors, 162 Warnings, 168 Remarks"
Do I still need to do patches? Or I can use directly the DSDT ? Thanks
 
Hi friends, I am using PC, what about when I got DSDT from OC, then I tried to compile, result "0 Errors, 162 Warnings, 168 Remarks"
Do I still need to do patches? Or I can use directly the DSDT ? Thanks
DSDT.aml is not required for desktops
 
Hi guys

I am making a new hackintosh for a good friend of mine.
The components are:
Z390 Aorus Pro motherboard
CPU I9 9900K
IGPU only

I extracted the dsdt according to the guide of RehabMan.
in particular I used:
Disassembly with ref. Txt and
asl -dl DSDT.aml SSDT * .aml

All the ssdts I managed to compile them without errors.

When I try to compile DSDT with MacIASL (any version) it gives me four errors which I was unable to correct. Could you please help me?
Thanks to anyone who can help me
 

Attachments

  • origin Z390 Aorus Pro.zip
    88 KB · Views: 80
Hi guys

I am making a new hackintosh for a good friend of mine.
The components are:
Z390 Aorus Pro motherboard
CPU I9 9900K
IGPU only

I extracted the dsdt according to the guide of RehabMan.
in particular I used:
Disassembly with ref. Txt and
asl -dl DSDT.aml SSDT * .aml

All the ssdts I managed to compile them without errors.

When I try to compile DSDT with MacIASL (any version) it gives me four errors which I was unable to correct. Could you please help me?
Thanks to anyone who can help me
what dsdt edits are you trying to do on your desktop?
 
Hi Feartech,
thanks for your quick reply!
I wanted to fix USB ports issues after updating to Big Sur 11.3 (but I solved it with USBMap-master) and speed up startup.
The rest works fine
 
Back
Top