RehabMan
Moderator
- Joined
- May 3, 2012
- Messages
- 184,623
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
-
- Mobile Phone
-
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:
** To revert to OSI = Linux, swap SSDT-XOSI.aml with the one attached to this post.Code:defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no
You might want to analyze DSDT code to determine what conditional code (having to do with _OSI) is affecting the power button specifically.
Especially if switching to Linux simulation causes other issues.