kolodzieski Posted April 20, 2020 Share Posted April 20, 2020 Help with Hotpatch (instant wake). I have a Thinkpad t470, and have it running well with opencore. However I still need to apply a static patch to my DSDT. My DSDT has in device XDCI: Name (_PRW, Package (0x03) // _PRW: Power Resources for Wake { 0x6D, 0x03, \_SB.PCI0.LPCB.EC.PUBS }) That is causing wake from sleep. Comparing to my XHC, that has: Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { Return (Package (0x02) { 0x6D, Zero }) } That I can fix with a 0x6d patch. My DSDT static patch converts (in XDCI) : the Name (_PRW, Package (0x03) to a Method (_PRW, 0, NotSerialized). I then follow by the 0x6d rename and I am good to go. Is it possible to do this by pure hotpatching? Many Thanks, Scott. Link to comment https://www.insanelymac.com/forum/topic/343514-help-static-dsdt-patch-hotpatch/ Share on other sites More sharing options...
MaLd0n Posted April 20, 2020 Share Posted April 20, 2020 rename _prw to zprw via bootloader Link to comment https://www.insanelymac.com/forum/topic/343514-help-static-dsdt-patch-hotpatch/#findComment-2718472 Share on other sites More sharing options...
kolodzieski Posted April 20, 2020 Author Share Posted April 20, 2020 Is that just a binary rename in OC? X1BXUgo= --> WlBXUgo= ? Doesn't that effectively remove the _PWR method from all elements in the ACPI tree? Would that have bad effects? Thanks Link to comment https://www.insanelymac.com/forum/topic/343514-help-static-dsdt-patch-hotpatch/#findComment-2718474 Share on other sites More sharing options...
MaLd0n Posted April 26, 2020 Share Posted April 26, 2020 put it in ur desktop post files generated i ur desktop here Patchmatic.zip if need mount partition as rw Link to comment https://www.insanelymac.com/forum/topic/343514-help-static-dsdt-patch-hotpatch/#findComment-2719354 Share on other sites More sharing options...
Recommended Posts