Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Strange question, perhaps: Does Clover F4 integrate patches I've already made? That is, if I've got a patch working, and I do F4 again, will the extracted .aml have that patch? (I'm kind of assuming so, since it's running... but I just wondered whether there was a whole diff/integration step necessary for patching a previously-patched DSDT/SSDT.)
[EDIT: Or, maybe I should patch my "patched" files?]
 
Strange question, perhaps: Does Clover F4 integrate patches I've already made? That is, if I've got a patch working, and I do F4 again, will the extracted .aml have that patch? (I'm kind of assuming so, since it's running... but I just wondered whether there was a whole diff/integration step necessary for patching a previously-patched DSDT/SSDT.)

Clover F4 always extracts native to ACPI/origin.
 
Clover F4 always extracts native to ACPI/origin.
Okay, thanks. Good to know. I figured I'll just keep incremental backups and integrate as I get things working.

This problem with booting only from USB is making me insane. It almost seems like a bios thing, but I've checked and double-checked... I tried this: https://www.tonymacx86.com/threads/clover-can-only-boot-from-usb.166004/ earlier today, but still nothing. Anything obvious that I might be missing? Without the USB drive it just boots right into bios...
 
Okay, thanks. Good to know. I figured I'll just keep incremental backups and integrate as I get things working.

This problem with booting only from USB is making me insane. It almost seems like a bios thing, but I've checked and double-checked... I tried this: https://www.tonymacx86.com/threads/clover-can-only-boot-from-usb.166004/ earlier today, but still nothing. Anything obvious that I might be missing? Without the USB drive it just boots right into bios...

Without details on your issue, no idea.
 
Without details on your issue, no idea.
Finally got it working from the EFI shell. Didn't think that was supposed to be necessary... Anyway, it boots without USB now.
 
Overview

Problem specific patching

Battery status: http://www.tonymacx86.com/yosemite-...de-how-patch-dsdt-working-battery-status.html

Backlight control: http://www.tonymacx86.com/yosemite-...ching-dsdt-ssdt-laptop-backlight-control.html

Disabling nVidia/Radeon discrete graphics: http://www.tonymacx86.com/yosemite-...bling-discrete-graphics-dual-gpu-laptops.html

When following a guide for a specific laptop, it may instruct you to apply a patch that is provided in the post itself. You will recognize it as the syntax used will look similar to other patches you've seen in the repository (eg. 'into_all method label FOO code_regex xxyy removeall_matched;'). These patches are intended to be pasted directly into the patch window in MaciASL so they can be applied.

If you're interested in writing your own patches, read the documentation on MaciASL patch grammar: http://sourceforge.net/p/maciasl/wiki/Patching Syntax Grammar/

Note: In many cases, DSDT patches are used in conjunction with additional kexts, patched kexts, or Clover config.plist patches that patch the system kexts as they are loaded.

What are some reasons why the USB 3.0 port would lose power and dismount bus powered devices sporadically?
 
What are some reasons why the USB 3.0 port would lose power and dismount bus powered devices sporadically?

Seems off-topic here, but...

Maybe you made the mistake of using the port limit patch? If you need help, read post #1, "Problem Reporting".
 
Hi,
i'm trying to patch my DSDT but i can't remove the errors on the attachment :(
Can anyone help me please?
Thank you

EDIT: problem solved, i need to use iasl to decompile aml :D
 

Attachments

  • errors.png
    errors.png
    1.3 MB · Views: 139
Last edited:
Back
Top