Contribute
Register

Lenovo Yoga 700 restarts after shut down with power cable plugged in

Status
Not open for further replies.
No idea what you mean by "it's _PST"...

PST is "Pacific Standard Time"... no meaning in ACPI.
But _PTS is a reserved method in ACPI "Prepare To Sleep".

Note: Your edits to the _PTS method are nonsense (infinite recursion).

Edited the mistake.
 
The code in post #9 is still infinitely recursive.

I will get back to you! Can I get a hint? Thanks

Compiling the code in MaciASL doesn't show any errors.
 
Last edited:
I will get back to you! Can I get a hint? Thanks

Compiling the code in MaciASL doesn't show any errors.

You have your _PTS method calling itself... it is recursive infinitely.
The _PTS in your SSDT should call ZPTS, which is the original _PTS renamed to ZPTS by virtue of the correct entry in config.plist/ACPI/DSDT/Patches.
It is classic "rename/replace" pattern (with delegation to original method) as per my ACPI hotpatch guide.
https://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/
 
Thank you RehabMan, I will continue to learn.

Best to use the patches and SSDTs as they are in the hotpatch repo.
Get it working, then tune from there if you want.
Or, you could even start with static patch...
 
Status
Not open for further replies.
Back
Top