Jump to content
4 posts in this topic

Recommended Posts

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

×
×
  • Create New...