-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HibernationFixup v. 1.4.4 hibernatemode 3 #1810
Comments
@profzei: most likely your issue is not related to the latest commit (and version 1.4.4), you can check it with the latest release version 1.4.3. The change made in 1.4.4 are active only if one of bits WhenBatteryIsAtWarnLevel or WhenBatteryAtCriticalLevel is set in hbfx-ahbm. In your case only one bit is set, so these changes are inactive. |
@lvs1974 I resume relevant info I wrote In my previous post: in Hackintosh community my laptop is considered a well-working Hackintosh since
In Hackintosh community there is no guide for getting a fully working Do you agree with the latest statement? The latter is what I'm trying to get using your commits to HibernationFixup project... I think it would be a great improvement for all community... If you could help/guide me, I think I'm not so far from the aim... My actual settings:
pmset -g live
As you can see I'm using What did it happen?
What does it mean? Hibernation-sleep is somewhat triggered after a partial resuming of my machine...??? In a separate thread you said
Could you tell me what commands I'm supposed to run in Terminal for getting useful information? |
@profzei: in your last log hbfx_129.txt I can see at least one attempt to hibernate (hibernate now). It means HBFX did its job. But this log contains only events logged by HibernationFixup, so I don't know why your laptop did not go into hibernation. I need full system log. You can use dmesg or show log, anything - there must be a reason why it did not work. |
Here there are some logs:
I don't know if these logs could be useful... |
@profzei: can you explain please, why do you use "| grep HBFX" if I needed a full system log, not only for HBFX? |
@profzei: at 2021-10-09 20:13:47.883432+0200 I see: PS: I would also recommend you to increase standby time from 300 to 615, |
@lvs1974 I'm sorry... I'm dumb sometimes...
You are right! After those lines macOS hibernated itself successfully! The issue is before those lines... Please see the following:
From
I'll follow your suggestion and let you know results! |
Same issue setting
If you look into new sys_log_hbfx.txt you could see
then the hibernation process started well here...
This means that from |
it is standard behaviour, all macs use maintenance wake (dark wake - display remains off) to switch laptop from regular sleep into hibernation. It is not an issue. |
Thank you very much for your insight! It's just my opinion, but this is a great improvement for Hackintosh laptops |
@lvs1974
I know very well this is not a forum, but I opened this thread for reporting a possible issue with latest
Hibernation.kext
.I'm trying to use your latest commit for
HibernationFixup.kext
in order to get a real MacBookPro's sleep behavior under standardhibernate mode 3
on battery.My laptop is Huawei Matebook X Pro 2018
Premise:
If I set in my
config.plist
Misc -> Boot -> HibernateMode
key toNVRAM
value andhibernatemode 25
then hibernation is working fine without or with boot-argshbfx-ahbm=1
(I have to resume my machine with power button which is normal according to my understanding...)If I set
hibernatemode 3
without using boot-argshbfx-ahbm=1
, then sleep is working fine with a discharging rate of about 1% at every 2 hours (which seems a normal behavior in Hackintosh community)If I set
hibernatemode 3
without using boot-argshbfx-ahbm=1
AND I modifystandbydelaylow/high
according to the followingthen there is no visible change i.e. sleep is working fine with the same exact discharging rate BUT after fixed 300 seconds (5 minutes) my machine doesn't hibernate (saving battery). My machine continues its sleep phase until a key is pressed (obviously for a time longer than 5 minutes...)
I also guess this is a normal behavior for Hackintosh laptops (...till now)
Current situation:
If my understanding is right, with latest
HibernationFixup.kext
and adding in boot-argshbfx-ahbm=1
, regular sleep should be replaced by hibernation after 300 seconds (obviously using my settings forstandbydelaylow/high
andhibernatemode 3
), isn't it right?Instead, using
hibernatemode 3
ANDstandbydelaylow 300
+standbydelayhigh 300
ANDhbfx-ahbm=1
, my machine breaks its sleep phase exactly after 300 seconds...What does it mean?
According to my understanding, latest
HibernationFixup.kext
tries to trigger the passage from regular sleep to hibernation state (like in a real MacBookPro) but it fails... what do you think about this?The result of
pmset -g assertions
command is not useful since it is the classic message:The text was updated successfully, but these errors were encountered: