- Joined
- Mar 8, 2017
- Messages
- 758
- Motherboard
- Dell XPS 9700 4K (OpenCore)
- CPU
- i7-10875H
- Graphics
- UHD 630, 3840x2400
- Mobile Phone
Hello!
I am using RehabMan's battery patch for my razer blade: https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/battery/battery_Razer-Blade-2014.txt
OpenCore does not support the injection of pre-extracted DSDTs that have been user-patched. So I guess the patches need to be applied through search-replace. But how would you do such a complicated patch with only that low level method? I mean... It's just replacing, not aware of how the actual language works, so this is inefficient as hell...
Maybe the way to do this is to extract native dsdt, make a copy, patch, then look at the diff of both files. I could imagine that OpenCore implemented something better here, did they?
Would be amazing if someone could help me out here!
I am using RehabMan's battery patch for my razer blade: https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/battery/battery_Razer-Blade-2014.txt
OpenCore does not support the injection of pre-extracted DSDTs that have been user-patched. So I guess the patches need to be applied through search-replace. But how would you do such a complicated patch with only that low level method? I mean... It's just replacing, not aware of how the actual language works, so this is inefficient as hell...
Maybe the way to do this is to extract native dsdt, make a copy, patch, then look at the diff of both files. I could imagine that OpenCore implemented something better here, did they?
Would be amazing if someone could help me out here!