Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Joined
Dec 20, 2018
Messages
327
Motherboard
Gigabyte Z370 AORUS Gaming 7
CPU
i7-8700K OC 5GHz
Graphics
GTX 1080 Ti & UHD 630
Mac
iMac, MacBook Pro
Mobile Phone
iOS
@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

Joined
Mar 30, 2019
Messages
2
Motherboard
HP Pavilion 15T-BC200
CPU
i7-7700HQ
Graphics
GTX 1050
Mac
MacBook Pro
Mobile Phone
Android
I do not get correct battery percentage and it doesn't get charged under macOS. Please help me @RehabMan.
 
Joined
Dec 20, 2018
Messages
327
Motherboard
Gigabyte Z370 AORUS Gaming 7
CPU
i7-8700K OC 5GHz
Graphics
GTX 1080 Ti & UHD 630
Mac
iMac, MacBook Pro
Mobile Phone
iOS
@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

Last edited:
Joined
Apr 24, 2019
Messages
35
Motherboard
Lenovo E580 (20KS003AXS)
CPU
i5-8250U
Graphics
UHD620, RX 550
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

Last edited:
Joined
Jan 15, 2016
Messages
66
Motherboard
Acer Aspire 7 A717-72G
CPU
i7-8750H
Graphics
UHD 630/GTX1060
Mac
MacBook Pro
Mobile Phone
iOS
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.
 
Joined
Jan 15, 2016
Messages
66
Motherboard
Acer Aspire 7 A717-72G
CPU
i7-8750H
Graphics
UHD 630/GTX1060
Mac
MacBook Pro
Mobile Phone
iOS
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
 
Joined
Nov 1, 2018
Messages
14
Motherboard
HP Zbook g5 17
CPU
Xeon 2176M
Graphics
Quadro 5200 + intel UHD P630
Mac
MacBook Pro
Mobile Phone
Android, iOS
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

Feartech

Moderator
Joined
Aug 3, 2013
Messages
13,220
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
iOS
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
 
Top