Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

First, there is no need to build maciASL/patchmatic.
Second, if you want to build it, you must insure Xcode command line tools are configured correctly.

I'm not going to get into correctly configuring Xcode here. If you lack developer skills, you should use the pre-built as linked from the README.

Also - I'm aware the files end up in my clover USB but the folders are just empty. I am also booting with flags. How can I see the files on my Boot USB? When I click it in MacOS all it shows it the SierraOS installer and not the EFI partition

So how do I go about getting these files then?
 
Also - I'm aware the files end up in my clover USB but the folders are just empty. I am also booting with flags. How can I see the files on my Boot USB? When I click it in MacOS all it shows it the SierraOS installer and not the EFI partition

So how do I go about getting these files then?

The files will only extract to the EFI partition on your USB if you're booting from the USB.
 
The files will only extract to the EFI partition on your USB if you're booting from the USB.
I'm aware of that, but I can't access those files once I'm on my Mac - the USB shows up only with the installer inside it.
 
I'm aware of that, but I can't access those files once I'm on my Mac - the USB shows up only with the installer inside it.

EFI is not automatically mounted. Read the FAQ.
 
Based on the info you provide, this looks fine. You should verify in ioreg, of course.



I have no issues with my version of FakeSMC.

Should I apply the patch for my HD4400 actually? I'm using the clover FakeID and FakePCIID for Intel HD Graphics.

I'm not sure what the patch will change.
 
Should I apply the patch for my HD4400 actually? I'm using the clover FakeID and FakePCIID for Intel HD Graphics.

I'm not sure what the patch will change.

No idea what patch you're referring to.
 
No idea what patch you're referring to.
On your Laptop patches repo there is a HD4400 patch.

#Maintained by: RehabMan for: Laptop Patches
#graphics_Haswell_0a260006.txt

#
# Use this patch if your laptop has Haswell graphics
#

into method label _DSM parent_adr 0x00020000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"AAPL,ig-platform-id", Buffer() { 0x06, 0x00, 0x26, 0x0a },\n
"hda-gfx", Buffer() { "onboard-1" },\n
})\n
}\n
end;

I have working graphics perfectly, but sometimes I get a weird texture glitch on the transparency, I'm not sure if this patch fixes something, if I should apply it (so I can remove FakePCIID) or if I don't need it.
 
On your Laptop patches repo there is a HD4400 patch.



I have working graphics perfectly, but sometimes I get a weird texture glitch on the transparency, I'm not sure if this patch fixes something, if I should apply it (so I can remove FakePCIID) or if I don't need it.

That patch injects ig-platform-id=0x0a260006 and hda-gfx=onboard-1 (for HDMI audio).
 
That patch injects ig-platform-id=0x0a260006 and hda-gfx=onboard-1 (for HDMI audio).
So not needed.

Okay, that's all.
Thanks for being so patient.

I'll fight with OS X to know what's wrong with kernel_task :p
I'm not sure at all, but I have some problems with OsxAptioDrv and "Allow Unrestricted NVRAM"
On another computer I can boot with 0x3 on the "System Integrity Protection" on Clover. On my laptop, I need the "Allow Unrestricted NVRAM" as I said to boot, if not, I get OsxAptioDrv problems, even with LowMem and v2 versions, any thoughts about if it can be the problem?
 
Code:
Gians-MBP:~ giandefreitas$ cd ~/Documents
Gians-MBP:Documents giandefreitas$ iasl -da -dl *.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160422-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation

Input file DSDT.aml, Length 0x13911 (80145) bytes
ACPI: DSDT 0x0000000000000000 013911 (v02 _ASUS_ Notebook 00000013 INTL 20091112)
External object resolution file      SSDT-9x.aml
Input file SSDT-9x.aml, Length 0xA92 (2706) bytes
ACPI: SSDT 0x0000000000000000 000A92 (v01 PmRef  CpuPm    00003000 INTL 20051117)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file       SSDT-8.aml
Input file SSDT-8.aml, Length 0xA92 (2706) bytes
ACPI: SSDT 0x0000000000000000 000A92 (v01 PmRef  CpuPm    00003000 INTL 20051117)
Pass 1 parse of [SSDT]
ACPI Error: [SSDT] Namespace lookup failure, AE_ALREADY_EXISTS (20160422/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160422/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS
Gians-MBP:Documents giandefreitas$

I don't know what this means, and I'm not sure if I should proceed. (I'm guessing it didn't work since I have no .dsl file anywhere

Also how do I know which SSDT's I need and how do I figure out what they do and if they need to be patched or not?
 
Last edited:
Back
Top