Jump to content

Sierra 10.12.1 Hibernation - How it works?


arimuras
 Share

39 posts in this topic

Recommended Posts

Hi Allan,

 

Could it be possible to have a look at my ioreg to see what's keeping my machine from waking up?

 

hibernate mode = 0

never hibernate checked in config.plist

 

dsdt ssdt's 

 

usb patch doesn't seem to matter in 10.12

 

in singleuser mode,

 

I get apple usb sleep wake units messages every second-(approximate) it covers the screen to where I cannot read what I type.

 

previously had patched dsdt with usb patches 

usb patch for sandybridge and the usb 3 patch.  

config.plist with wake and s3 checked, tried many settings, usb clock on off.  basically now stumped have no clue.

dsdt has usb clock on.

 

went into dsdt and rewatched USB ports to original usb settings - no change. 

got to the point where I tried combinations after combinations, then going back to original recommended patches for dsdt, config.plist, pmset, others.

 

at one time I got the hibernate just as you wrote in your post.  but, I thought what use? if I have to power off and power on again. 

 

my goal is to get sleep and wake to work as it should.  

 

as it stands now my system sleeps, but it don't wake up.

 

thank you sir

 

mak

 

 

 

 

 

makIOREG.ioreg.zip

readout.txt.zip

DSDT.aml.zip

config.plist.zip

Link to comment
Share on other sites

Post your IOReg output here.

 

If I find something about Fusion Drive + Hibernation, I'll inform you.  ;)

Hi Allan.

I'm sorry for being late. I wanted to do some testing before, I don´t want to bother you. Unfortunately, I don't know what to do.

This file contains IOReg, Hardware Specifications, and SSDTs Used. Thanks.

IOReg Vinicius.zip

Link to comment
Share on other sites

Hi Allan,

 

Could it be possible to have a look at my ioreg to see what's keeping my machine from waking up?

 

hibernate mode = 0

never hibernate checked in config.plist

 

dsdt ssdt's 

 

usb patch doesn't seem to matter in 10.12

 

in singleuser mode,

 

I get apple usb sleep wake units messages every second-(approximate) it covers the screen to where I cannot read what I type.

 

previously had patched dsdt with usb patches 

usb patch for sandybridge and the usb 3 patch.  

config.plist with wake and s3 checked, tried many settings, usb clock on off.  basically now stumped have no clue.

dsdt has usb clock on.

 

went into dsdt and rewatched USB ports to original usb settings - no change. 

got to the point where I tried combinations after combinations, then going back to original recommended patches for dsdt, config.plist, pmset, others.

 

at one time I got the hibernate just as you wrote in your post.  but, I thought what use? if I have to power off and power on again. 

 

my goal is to get sleep and wake to work as it should.  

 

as it stands now my system sleeps, but it don't wake up.

 

thank you sir

 

mak

You use some kext for USB?

For you use "change _OSI to XOSI" patch, you need use also SSDT-HACK.aml, and set it up with a compatible Windows version for your Hack.

 

And your IOReg copy are corrupted.

 

 

Hi Allan.

I'm sorry for being late. I wanted to do some testing before, I don´t want to bother you. Unfortunately, I don't know what to do.

This file contains IOReg, Hardware Specifications, and SSDTs Used. Thanks.

attachicon.gifIOReg Vinicius.zip

 

As I see in your IOReg, your PM are incorrect.

 

Post your config.plist here.

Link to comment
Share on other sites

Ok, I'll take a look at your files. 

 

When I get time, I report you here, maybe today or tomorrow.  ;)

 

Thanks!

You use some kext for USB?

For you use "change _OSI to XOSI" patch, you need use also SSDT-HACK.aml, and set it up with a compatible Windows version for your Hack.

 

And your IOReg copy are corrupted.

 

 

 

As I see in your IOReg, your PM are incorrect.

 

Post your config.plist here.

 

Hi Allan in config.plist the OSI to XOSI is disabled.  not using

 

I will send a uncorrupted IOREG

 

how does it get corrupted?

 

Mak

Hi Allan

 

here's another one from 2.1 explorer

 

Thank you!

IOREGmak.zip

IOREGMaki.zip

Link to comment
Share on other sites

Allan,

 

found no wake reason.

 

I found the system entering into sleep mode "low power sleep" 

then after that, no wake up reason because no wake.  just power.

 

13:51:15.981613 +0900 powerd Kernel Idle sleep preventers: -None-

 

13:51:16.962925 +0900 powerd Entering Sleep state due to 'Low Power Sleep':

13:51:19.892673 +0900 powerd [system: DeclUser BGTask kDisp]
13:51:22.003283 +0900 powerd
13:52:19.940350 +0900 powerd powerd process is started
13:52:19.940719 +0900 powerd Summary- [system: No Assertions] Using AC(Charge: 97)
 

 

13:50:22.777580 +0900 powerd com.apple.message.domain: com.apple.darkwake.capable

com.apple.message.hardware_support: none
com.apple.message.settings: none
Link to comment
Share on other sites

 

Thanks Allan, read that many times and I do get hibernate to work using pmset of 25 hibernate mode.

 

but its the same thing as sleep mode for my laptop.  have to shut the power down.

 

I believe the answer is in the new way Sierra has been reconstructed an DSDT SSDT issue.  probably more of a DSDT issue.

 

I'm not very well versed in DSDT.  Little by little.

 

My FN+F1 key combination is setup to sleep.  When I read the DSDT for this key function, it says "Notify SLPB". 

 

In order for this laptop to shutdown, I had to use the Intel Shutdown patch because the Asus shutdown patch did not work.

 

the Intel shutdown patch has SLPB and SLPE and has the words 'Sleep'

 

 

 Method (_PTS, 1, NotSerialized)  // _PTS: Prepare To Sleep

    {
        If (LEqual (Arg0, 0x05))
        {
            Store (Zero, SLPE) /* \SLPE */
            Sleep (0x10)
        }
        Else
        {
            PTS (Arg0)
 

 

 
and this one,

 

 OperationRegion (PMRS, SystemIO, 0x0430, One)
    Field (PMRS, ByteAcc, NoLock, Preserve)
    {
            ,   1, 
        SLPB,   4
    }
 

 

 

 

FN+F1 Key

 

     Method (_Q0A, 0, NotSerialized)  // _Qxx: EC Query

        {
            Notify (SLPB, 0x80) // Status Change
        }
 

 

 
 
I forgot to add the SB SLPB from DSDT:
Scope (_SB)
    {
        Device (SLPB)
        {
            Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */)  // _HID: Hardware ID
            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (Package (0x02)
                {
                    0x0B, 
                    0x04
                })
            }
        }
    }

 

 

 
 

I'm thinking to switch SLPB to SLPE for FN+F1 key but probably have to add something else so the machine wakes up from plain ole sleep.

******did not work SLPB to SLPE error in DSDT********

 

I used the Asus Patches that worked for Yosemite.  In El Capitan and Sierra they don't work correctly on my laptop.

 

The patches came from Dinesh's experiences with his laptop which he did a wonderful job at.  Sandybridge patches.

 

 

Also, the weird thing is that when I press the shutdown button, the sleep restart shutdown popup no longer shows up.  It just shuts down.

 

Fundamental things.   Just the OS doesn't know what to do.  

 

I had to take bits and pieces of patches and modify them until it worked.   Then while doing that it affects another processes.

 

Interesting.

 

Thanks 

Edited by makiko
Link to comment
Share on other sites

 Share

×
×
  • Create New...