Contribute
Register

Sleep issues in Sierra

Status
Not open for further replies.
Joined
Jan 17, 2017
Messages
39
Motherboard
Dell Inspirion 3542 + Clover 2.3k rev 3766
CPU
Intel Core i7-4510U
Graphics
Intel HD4400 + NVIDIA GeForce 840M
Hi,
I have a weird problem with sleep mode in my laptop. When I close the lid or select the sleep option, my laptop goes to sleep. After a couple of seconds some of the hardware (fans, ssd, usb) tries to reactivate and then it goes back to sleep but the screen is still off. This loop keeps for ever. When I press a button, the screen gets activated and the operating system acts like it was on sleep mode (it reenables all the startup apps). But if the laptop uses the battery before it went to sleep and I plug the power adaptor while it's in sleep mode, it won't wake up.

Any ideas what's the cause?
 
Hi,
I have a weird problem with sleep mode in my laptop. When I close the lid or select the sleep option, my laptop goes to sleep. After a couple of seconds some of the hardware (fans, ssd, usb) tries to reactivate and then it goes back to sleep but the screen is still off. This loop keeps for ever. When I press a button, the screen gets activated and the operating system acts like it was on sleep mode (it reenables all the startup apps). But if the laptop uses the battery before it went to sleep and I plug the power adaptor while it's in sleep mode, it won't wake up.

Any ideas what's the cause?

Sounds like "instant wake". See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 

According to your link and my laptop specs, I used the "7-series/8-series USB" patch in the DSDT and "Remove _DSM methods" in both DSDT and all SSDTs for any case. Unfortuantely, I see no difference for the instant wake problem. In this link, you also mention some suggestions about AppleUSBXHCI.kext or GenericUSBXCHI.kext. As far as I searched, I use none of them (I searched for the kexts in /System/Libary/Extensions, /Library/Extensions and /EFI/CLOVER/kexts/Other).
 
According to your link and my laptop specs, I used the "7-series/8-series USB" patch in the DSDT and "Remove _DSM methods" in both DSDT and all SSDTs for any case. Unfortuantely, I see no difference for the instant wake problem. In this link, you also mention some suggestions about AppleUSBXHCI.kext or GenericUSBXCHI.kext. As far as I searched, I use none of them (I searched for the kexts in /System/Libary/Extensions, /Library/Extensions and /EFI/CLOVER/kexts/Other).

Instant wake is solved by the appropriate _PRW patch.
Read the guide carefully.
 
Instant wake is solved by the appropriate _PRW patch.
Read the guide carefully.
Thank you very much. That did fix the instant wake problem. But sometimes when it wakes from the sleep mode, the screen is dark (it automatically turns the brightness slider to zero).
 

kextstat|grep -y acpiplat
13 1 0xffffff7f82d3d000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>

kextstat|grep -y appleintelcpu

kextstat|grep -y applelpc
114 0 0xffffff7f825af000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <94 12 5 4 3>

kextstat|grep -y applehda
109 1 0xffffff7f829fe000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (276.26) D0953002-6091-376F-8E0F-33B65F42CEF9 <108 107 79 12 7 6 5 4 3 1>
128 0 0xffffff7f82b80000 0xb4000 0xb4000 com.apple.driver.AppleHDA (276.26) 7611D43E-12FE-3228-A6D3-9C99A5D030CC <127 109 108 107 85 79 6 5 4 3 1>

sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8100.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AirPortAtheros40.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BTFirmwareUploader.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 84D6492726E8BF1832DB64DD7489A3BE
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
 

Attachments

  • RehabMan.zip
    37.2 KB · Views: 94
  • iMac.zip
    545 KB · Views: 103
  • CLOVER.zip
    3.4 MB · Views: 101
kextstat|grep -y acpiplat
13 1 0xffffff7f82d3d000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>

kextstat|grep -y appleintelcpu

kextstat|grep -y applelpc
114 0 0xffffff7f825af000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <94 12 5 4 3>

kextstat|grep -y applehda
109 1 0xffffff7f829fe000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (276.26) D0953002-6091-376F-8E0F-33B65F42CEF9 <108 107 79 12 7 6 5 4 3 1>
128 0 0xffffff7f82b80000 0xb4000 0xb4000 com.apple.driver.AppleHDA (276.26) 7611D43E-12FE-3228-A6D3-9C99A5D030CC <127 109 108 107 85 79 6 5 4 3 1>

sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8100.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AirPortAtheros40.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BTFirmwareUploader.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 84D6492726E8BF1832DB64DD7489A3BE
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>

BTFirmwareUploader.kext not recommended.
Install compatible Broadcom WiFi/BT and use BrcmPatchRAM kexts instead.

Also remove:
com.bongiovi.DPSReflector

Also, seems like USB is configured incorrectly.
See guide: https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

drivers64UEFI is not per guide. See here: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Remove this patch from config.plist:
Isolate IntelAccelerator HD4600 10.12.x
 
BTFirmwareUploader.kext not recommended.
Install compatible Broadcom WiFi/BT and use BrcmPatchRAM kexts instead.

Also remove:
com.bongiovi.DPSReflector

Also, seems like USB is configured incorrectly.
See guide: https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

drivers64UEFI is not per guide. See here: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Remove this patch from config.plist:
Isolate IntelAccelerator HD4600 10.12.x

Unfortunately BTFirmwareUploader.kext is the only compatible kext for my BT which I found. Will BrcmPatchRAM kexts be also compatible? I see no reason for replacing my Wifi/BT since they are both working.
DPSReflector is just for audio boosting. Is it causing any problem to the system?
drivers64UEFI is created according to this installation guide: https://www.tonymacx86.com/threads/...ierra-on-any-supported-intel-based-pc.200564/ Isn't that recommended?
 
Unfortunately BTFirmwareUploader.kext is the only compatible kext for my BT which I found. Will BrcmPatchRAM kexts be also compatible? I see no reason for replacing my Wifi/BT since they are both working.
DPSReflector is just for audio boosting. Is it causing any problem to the system?
drivers64UEFI is created according to this installation guide: https://www.tonymacx86.com/threads/...ierra-on-any-supported-intel-based-pc.200564/ Isn't that recommended?

All suggestions already made in post #8.
Up to you if you want to follow them or not...
 
Status
Not open for further replies.
Back
Top