Contribute
Register

[SOLVED] Sleep / Wake up problem with Sierra

Status
Not open for further replies.
Joined
Apr 28, 2012
Messages
39
Motherboard
Gigabyte LGA 1151 Intel Z170 ATX Motherboard (GA-Z170X-Designare)
CPU
Intel Core i7 6700K 4.00 GHz Unlocked Quad Core Skylake Processor
Graphics
Gigabyte GeForce GTX 980Ti 6GB OC Edition
Hello,
I'm experiencing this issue with my new hackintosh (see profile): when I put it to sleep mode, it goes to sleep (fans stop, LED turns off) but after a second it wakes up again...
Also, when I shutdown the system, it turns off and then on by itself, so I have to keep the power button pressed for several seconds to turn it off for good.
Any suggestion on how to fix this problem?
 
Thanks, will try and report here
 
FixShutdown worked: now when I shutdown the system it doesn't turn on again after a few secs.
No luck with FIX_WAK: the PC still wakes up from sleep by itself...
 
FixShutdown worked: now when I shutdown the system it doesn't turn on again after a few secs.
No luck with FIX_WAK: the PC still wakes up from sleep by itself...
Sometimes the various Darkwake values affect this.
Edit your config.plist starting with Darkwake=0.

Also in Terminal enter :
Code:
pmset -g assertions
To see what is preventing sleep.
 
Here is the output from pmset... Looks like IODisplayWrangler is the problem?

Code:
Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Listed by owning process:

   pid 103(hidd): [0x00000a4b000981f3] 00:01:02 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968178.3" 

Timeout will fire in 894 secs Action=TimeoutActionRelease

Kernel Assertions: 0xc=USB,BT-HID

   id=500  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14c00000 owner=BRCM20702 Hub

   id=502  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14800000 owner=                      

   id=503  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14200000 owner=USB Receiver

   id=504  level=255 0x8=BT-HID mod=01/01/70, 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice

Idle sleep preventers: IODisplayWrangler
 
Here is the output from pmset... Looks like IODisplayWrangler is the problem?

I think that is just because there is an active user (you).
Nothing else looks untoward.
Have you implemented power management ?

Also, try in Terminal
Code:
log show --style syslog | fgrep "Wake reason"
 
Last edited:
Have you implemented power management ?

Bear with me, I'm not an expert user :mrgreen: Do you mean if I did this?
https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

Also, try in Terminal
Code:
log show --style syslog | fgrep "Wake reason"

Output (just the last few lines of text):
Code:
2017-03-30 17:35:48.403462+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: XDCI XHC

2017-03-30 17:35:48.403463+0200  localhost kernel[0]: (AppleACPIPlatform) Wake reason: XDCI XHC

2017-03-30 17:36:01.853177+0200  localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2017-03-30 17:40:36.736154+0200  localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

2017-03-30 20:08:12.542113+0200  localhost kernel[0]: (AppleTopCaseHIDEventDriver) [HID] [ATC] AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

Thanks for your help!
 
https://www.tonymacx86.com/threads/quick-guide-to-generate-a-ssdt-for-cpu-power-management.177456/

Yes.

I don't have any 100 (or 200) series hardware so have no personal experience to fall back on.
This means that I would have to research your problem in order to explain it to you and harsh as it might seem, I'm not about to do that. I don't even know if sleep / wake problems are endemic with this hardware.
I have tried to give you a start point to build upon and now it's up to you to progress it.
Use the forum search tool to see if others have anything to say on the matter.
Unplug everything not essential to booting the OS and see if the problem persists, it could be Ethernet, Bluetooth or an external hard drive etc.
I wish you luck.
 
Hi P1lgrim,
you've been of great help, thanks to you I managed to fix the shutdown issue and as part of the attemps to solve the sleep mode problem I also generated the SSDT for power management which, I think, will optimize the CPU performances.
As for the sleep mode issue, it turned out that it was due to my power supply (Corsair RM 850i) that has a data cable (to monitor its status) connected to an internal USB socket of the mobo. If I disconnect that cable, sleep mode works well.
 
Status
Not open for further replies.
Back
Top