I'm following this guide:
http://www.tonymacx86.com/threads/g...e-i7-6700hq-intel-hd-530-using-clover.191921/
I'm stuck at step J because MaciASL compiles with errors...
J) DDST/SDST edits
Reboot and in Clover boot menu, press F4 to extract your ACPI files. For disassembly and editing out the errors i will refer to this guide here:
[Guide] Patching LAPTOP DSDT/SSDTs - DONE
Return to this guide when you have the .dsl files of DDST and SDSTs (the ones without an x in their name) without errors. Place them in a folder on your desktop.
- DONE
Assuming you have MaciASL as instructed by the guide in above link, open the program. Go to the program’s preferences and add this source:
http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master - DONE
You now have all RehabMan’s laptop patches at your disposal in MaciASL.
- DONE
DDST patches: - DONE
Open DSDT.dsl in MaciASL:
Search for ‘GFX0’ and replace all with ‘IGPU’
Search for ‘HECI’ and replace all with ‘IMEI’
Search for ‘HDAS’ and replace all with ‘HDEF’
//optional: disable nvidia for better battery (advised)
Add these lines above the other External lines at the beginning:
Code (Text):
External (_SB_.PCI0.PEG0.PEGP._PS3, MethodObj)
External (_SB_.PCI0.PEG0.PEGP._PS0, MethodObj)
External (_SB_.PCI0.PEG0.PEGP._OFF, MethodObj)
External (_SB_.PCI0.PEG0.PEGP._ON, MethodObj)
External (_SB_.PCI0.PEG0.PEGP.SGOF, MethodObj)
External (_SB_.PCI0.PEG0.PEGP.SGON, MethodObj)
Search for ‘_WAK’ and add these methods above Method (_WAK):
Code (Text):
Method (M_ON, 0, NotSerialized)
{
If (CondRefOf (\_SB_.PCI0.PEG0.PEGP._ON))
{
\_SB_.PCI0.PEG0.PEGP._ON()
}
If (CondRefOf (\_SB_.PCI0.PEG0.PEGP._PS0))
{
\_SB_.PCI0.PEG0.PEGP._PS0()
}
If (CondRefOf (\_SB_.PCI0.PEG0.PEGP.SGON))
{
\_SB_.PCI0.PEG0.PEGP.SGON()
}
}
Code (Text):
Method (M_OF, 0, NotSerialized)
{
If (CondRefOf (\_SB_.PCI0.PEG0.PEGP._OFF))
{
\_SB_.PCI0.PEG0.PEGP._OFF()
}
If (CondRefOf (\_SB_.PCI0.PEG0.PEGP._PS3))
{
\_SB_.PCI0.PEG0.PEGP._PS3()
}
If (CondRefOf (\_SB_.PCI0.PEG0.PEGP.SGOF))
{
\_SB_.PCI0.PEG0.PEGP.SGOF()
}
}
Add this line right after the opening bracket of Method (_WAK):
Code (Text):
M_OF ()
Search for ‘_PTS’ and add this line right after the opening bracket of Method (_PTS):
Code (Text):
M_ON ()
Search for the ’_INI’ where you find references of Linux and Windows. Add this line between Store (….) and If (…..(..)):
Code (Text):
M_OF ()
//end of optional disabling of nvidia
Click on Patch and apply the following patches:
[Audio] Audio Layout 3
[bat] Dell Inspiron 15-7xxx
[igpu] Brightness fix
[sys] IRQ fix
[sys] Skylake LPC
[usb] USB3_PRW 0x6D (instant wake)
Click Compile and if you have any errors (warnings don’t matter) clear them by using the patching guide above. Save the file as: DSDT.aml and file format: ACPI Machine Language Binary.
- CAN'T CLEAR THE ERRORS I MENTIONED ABOVE, IN OTHER POST.
By the way, these are the errors when trying to compile:
12458, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('
12541, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('
12616, 6126, syntax error, unexpected '}', expecting $end and premature End-Of-File
The files that I attached haven't been modified. Please help