Another (small) improvement.
@RehabMan,
@jkbuha,
@skydrops,
@landmarker, I found the cause of PBTN not working.
On my original guide, _OSI was set to Linux, in the hotpatching config it's set to Windows.
Reverting to Linux restores correct behaviour of Power Button.
With _OSI to Windows:
=> Short press: nothing (correct)
=> Long press: nothing (
not correct)
With _OSI to Linux:
=> Short press: nothing (correct)
=> Long press: Sleep (
correct)
*
This also makes possible (again) to wake the screen by pressing the power button.
With _OSI = Windows, when the screen shut down, you had to press a key or trackpad to turn it on.
The low-level reason should be investigated.
I have to ask you 9360 owners to test this:
A) Stay with the hot-patching assets,
do not change nor implement anything else.
B) Revert to OSI = Linux
**, and
tell me:
1) if the power plug freeze starts occurring again,
2) if Power button now works with long press,
3) if you notice other issues directly related to this change.
Notes:
* In addition to that,
if you want the power dialog to appear after a long press instead of sleep, type in console:
Code:
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
** To revert to OSI = Linux, swap SSDT-XOSI.aml with the one attached to this post.