- Joined
- Mar 8, 2015
- Messages
- 69
- Motherboard
- MSI Z370m Mortar; ASUS Zenbook Pro UX535LI
- CPU
- i5-9600k; i7-10750H
- Graphics
- UHD 630
- Mac
If there is such a thing as google fatigue, I have it!
Have a fundamental question about SSDT patching in particular as used with OpenCore general to any feature.
When you generate a custom SSDT for some feature and keep it in the ACPI of OC, do the methods defined in this SSDT override/replace the same method in the same scope in the DSDT and nothing else needs to be done or does the method in the DSDT need to renamed if the method is redefined in the custom SSDT?
I have seen examples of both but trying to figure out the order and semantics of how the custom SSDTs placed in ACPI directory change/modify/override related code in DSDT from the device. If the answer is it depends, what are the different use cases that does not and does require renaming?
Also, do these changes still apply if you boot MS Windows from OC menu and therefore you need the if "Darwin" test everywhere? Again I have seen examples with and without this test. Or does MS Window boot with vanilla DSDT in the device with no change from Clover?
Just trying to understand what the basic principle is before writing my own which seems necessary for the laptop I have started to work on.
Thanks. Just a pointer where these basic principles/tutorial can be easily found if available would also be enough.
Have a fundamental question about SSDT patching in particular as used with OpenCore general to any feature.
When you generate a custom SSDT for some feature and keep it in the ACPI of OC, do the methods defined in this SSDT override/replace the same method in the same scope in the DSDT and nothing else needs to be done or does the method in the DSDT need to renamed if the method is redefined in the custom SSDT?
I have seen examples of both but trying to figure out the order and semantics of how the custom SSDTs placed in ACPI directory change/modify/override related code in DSDT from the device. If the answer is it depends, what are the different use cases that does not and does require renaming?
Also, do these changes still apply if you boot MS Windows from OC menu and therefore you need the if "Darwin" test everywhere? Again I have seen examples with and without this test. Or does MS Window boot with vanilla DSDT in the device with no change from Clover?
Just trying to understand what the basic principle is before writing my own which seems necessary for the laptop I have started to work on.
Thanks. Just a pointer where these basic principles/tutorial can be easily found if available would also be enough.