Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

@RehabMan I am trying to compile DSDT for battery audio and touchscreen for Dell Inspiron 15 7573 2 in 1 i7 8550u 16gb 512 uhd 620 and Nvidia m130x. I've followed all the steps to output dsdt.dsl file. when I open the file, and just try to compile (without any patches) I get scope error in (_GPE). I can fix the zero error but cannot fix the $end file error. please help. if you have somewhere I can contribute, ill do so immediately.thanks
 

Attachments

  • DSDT.dsl
    1.1 MB · Views: 184
I do not get correct battery percentage and it doesn't get charged under macOS. Please help me @RehabMan.
 
@Feartech bro I'm having a problem with my sensorshub.dsl. I have dell 15 7000 i7 8550u touchscreen. at first I couldn't compile the dsdt. fixed that. after patching dsdt, touchscreen and battery still does not work. so I was going through the .dsl files seeing if any of them present an error when trying to compile. bro can you please help me? if you have somewhere I can send a contribution, ill do so immediately


this is what the error field looks like :
}

If (LEqual (\_SB.GGOV (0x02010016), One))
{
Sleep (0x96)
If (LEqual (\_SB.GGOV (0x02010014), One)){}
Else
{
Notify (\_SB.PCI0.I2C0.DFUD, One)
}
}

Return (Zero)
}
Case (0x02)
{
Store (DerefOf (Index (Arg3, Zero)), DFUE)
Store (DerefOf (Index (Arg3, One)), DFUD)
Store (\_SB.GGOV (0x02010014), OLDV)
\_SB.GGOV (0x02010014)
DFUE
If (LGreater (DFUD, Zero))
{
Sleep (DFUD)
\_SB.GGOV (0x02010014)
OLDV
}
 

Attachments

  • SSDT-4-sensrhub.dsl
    5.1 KB · Views: 129
Last edited:
Hello,
@RehabMan I'm trying to apply battery patch for my Lenovo E580. I've taken aml files from Clover origin folder and de-compile it (tried with/withhout '-da').
This de-compiled DSDT file cannot be compiled again even though I did not make any change in it. MaciASL returns an error - 'syntax error, unexpected PARSEOP_NAME'.
How this error can be fixed? Please help.
 

Attachments

  • DSDT.dsl
    944.5 KB · Views: 168
  • Screen Shot 2019-04-27 at 11.33.27 AM.png
    Screen Shot 2019-04-27 at 11.33.27 AM.png
    243.2 KB · Views: 124
  • DSDT.aml
    134.4 KB · Views: 146
  • debug_7058.zip
    3.9 MB · Views: 109
Last edited:
Hello,
@RehabMan I'm trying to apply battery patch for my Lenovo E580. I've taken aml files from Clover origin folder and de-compile it (tried with/withhout '-da').
This de-compiled DSDT file cannot be compiled again even though I did not make any change in it. MaciASL returns an error - 'syntax error, unexpected PARSEOP_NAME'.
How this error can be fixed? Please help.


Your problem reporting files are incomplete. Please fix it.
 

Attachments

  • debug_7058.zip
    3.9 MB · Views: 123
Thank you for pointing this! I re-uploaded debug files

No problems with decompiling. Use iasl -da -dl DSDT.aml SSDT-*.aml according to guide to decompile your DSDT and SSDTs.

Just delete the two One at line 221 and 223 and you are good to go.
Bildschirmfoto 2019-04-28 um 09.42.21.png
 
Hi, again have some free days.
I upload my SSDT generate from F4 clover menu.
I follow guide to compile but have some issue. And in your guide we must rename dsl file to asl ?
And which one we have to replace ?
I've upload origin files and compiled ones.
HP ZBook 17 G5 and my xeon E-2176M is not recognise, even if with Hackintool it's recognized and graphic never made it work intel HDP 630.
I have Mojave 10.14.4
403037

That will be a dream if someone can make Nvidia P5200 works ...
403036
 

Attachments

  • origin-compiled-28-04-2019.zip
    301.6 KB · Views: 76
  • origin-save.zip
    106.9 KB · Views: 75
Hi, again have some free days.
I upload my SSDT generate from F4 clover menu.
I follow guide to compile but have some issue. And in your guide we must rename dsl file to asl ?
And which one we have to replace ?
I've upload origin files and compiled ones.
HP ZBook 17 G5 and my xeon E-2176M is not recognise, even if with Hackintool it's recognized and graphic never made it work intel HDP 630.
I have Mojave 10.14.4View attachment 403037
That will be a dream if someone can make Nvidia P5200 works ...
View attachment 403036
probably only your intel graphics will work on mac, you don't need to patch DSDT for working graphics, use Lilu and Whatevergreen kexts to get your graphics working
 
Back
Top