bigsadan / surface-pro-4-hackintosh

除全球无解的触摸屏,内置WIFI蓝牙摄像头外,己解决所有问题,近乎完美
198 stars 57 forks source link

Surface Pro 4 Won't Sleep #19

Open jcwlim opened 5 years ago

jcwlim commented 5 years ago

Hi,

Your guide is wonderful, I manage to get my surface pro 4 with latest Mojave 10.14.6 working without any problem. Thanks..

However, I faced a problem. Hope you can point some guide to me. My Hackintosh won't go to sleep. When I click sleep from menu, the display turnoff but battery still draining fast. Also I can feel my surface still hot even after 30mins of sleep. I check pmset -g log below is the message I got.

Time stamp                Domain                Message                                                                     Duration    Delay     
==========                ======                =======                                                                     ========    =====     
UUID: A3C68737-47E9-4E5E-BC30-0F22FE02C7A4
2019-08-11 11:45:49 +0800 Notification          Display is turned off                                                                 
2019-08-11 11:45:49 +0800 Assertions            PID 95(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968306.11" 00:00:00  id:0x0x90000802b [System: DeclUser kDisp]          
2019-08-11 11:45:49 +0800 Assertions            PID 236(mds_stores) Summary BackgroundTask "com.apple.metadata.mds_stores.power" 00:00:46  id:0x0xb0000802c [System: DeclUser kDisp]          
2019-08-11 11:45:49 +0800 Assertions            PID 65(mds) Summary BackgroundTask "com.apple.metadata.mds.power" 00:01:00  id:0x0xb00008000 [System: DeclUser kDisp]          
2019-08-11 11:45:49 +0800 Assertions            Kernel Idle sleep preventers: -None-          
2019-08-11 11:45:49 +0800 Assertions            PID 54(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd0000805c [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-08-11 11:46:04 +0800 Assertions            PID 54(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd0000805c [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-08-11 11:46:04 +0800 Assertions            Summary- [System: DeclUser kDisp] Using AC(Charge: 100)          
2019-08-11 11:46:20 +0800 Assertions            PID 65(mds) Released BackgroundTask "com.apple.metadata.mds.power" 00:01:31  id:0x0xb00008000 [System: DeclUser kDisp]          
2019-08-11 11:46:23 +0800 Assertions            PID 236(mds_stores) Released BackgroundTask "com.apple.metadata.mds_stores.power" 00:01:20  id:0x0xb0000802c [System: DeclUser kDisp]          
2019-08-11 11:47:13 +0800 Assertions            PID 95(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968233.3" 00:00:00  id:0x0x90000802b [System: DeclUser kDisp]          
2019-08-11 11:47:13 +0800 Assertions            Kernel Idle sleep preventers: IODisplayWrangler          
2019-08-11 11:47:13 +0800 Notification          Display is turned on                                                                  
2019-08-11 11:47:14 +0800 Kernel Client Acks    Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1503 ms)] [AppleHDADriver driver is slow(msg: SetState to 0)(505 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(1016 ms)]           
2019-08-11 11:47:15 +0800 Assertions            PID 250(backupd) ClientDied PreventUserIdleSystemSleep "Time Machine backup" 00:02:23  id:0x0x100008004 [System: DeclUser kDisp]          
2019-08-11 11:47:15 +0800 Assertions            PID 250(backupd) ClientDied BackgroundTask "Time Machine backup" 00:02:23  id:0x0xb00008003 [System: DeclUser kDisp]          
Sleep/Wakes since boot at 2019-08-11 11:44:45 +0800 :0   Dark Wake Count in this sleep cycle:0

Time stamp                Domain                Message                                                                     Duration    Delay     
==========                ======                =======                                                                     ========    =====     
UUID: 600FCEA9-5A42-4116-8F23-65805E3C31CA
2019-08-11 11:50:01 +0800 Notification          Display is turned off                                                                 
2019-08-11 11:50:01 +0800 Assertions            PID 95(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968306.11" 00:00:00  id:0x0x90000802b [System: DeclUser kDisp]          
2019-08-11 11:50:01 +0800 Assertions            Kernel Idle sleep preventers: -None-          
2019-08-11 11:50:01 +0800 Assertions            PID 54(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd0000806d [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-08-11 11:50:16 +0800 Assertions            PID 54(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd0000806d [System: DeclUser SRPrevSleep kCPU kDisp]          
2019-08-11 11:55:46 +0800 Assertions            PID 95(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968233.3" 00:00:00  id:0x0x90000802b [System: DeclUser kDisp]          
2019-08-11 11:55:46 +0800 Assertions            Kernel Idle sleep preventers: IODisplayWrangler          
2019-08-11 11:55:46 +0800 Notification          Display is turned on                                                                  
2019-08-11 11:55:47 +0800 Kernel Client Acks    Delays to Sleep notifications: [AppleHDADriver driver is slow(msg: SetState to 0)(509 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1478 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(1003 ms)]           

2019-08-11 11:55:53 +0800 : Showing all currently held IOKit power assertions
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 95(hidd): [0x000000140009802b] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968233.3" 
    Timeout will fire in 599 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01/01/1970, 7:30 AM description=com.apple.usb.externaldevice.14700000 owner=Surface Type Cover
Idle sleep preventers: IODisplayWrangler
bigsadan commented 5 years ago

it may caused by usb...

jcwlim commented 5 years ago

Thanks for your reply. I already try to use your DSDT.aml. Then I patch my own DSDT using Rebabman's repo, also patched the USB instant wake for Skylake. Still no go. I am lost now, is there any other part that I need to check?

bigsadan commented 5 years ago

Listed by owning process: pid 95(hidd): [0x000000140009802b] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968233.3" Timeout will fire in 599 secs Action=TimeoutActionRelease Kernel Assertions: 0x4=USB id=500 level=255 0x4=USB mod=01/01/1970, 7:30 AM description=com.apple.usb.externaldevice.14700000 owner=Surface Type Cover Idle sleep preventers: IODisplayWrangler

use hackintool - usb ,change type cover port to internal , have a try...

jcwlim commented 5 years ago

Thank you so so much.... I changed the usb to internal... Kernel assertions is okay now... but I still cannot put the computer to sleep... When I click sleep... I can still hear the fan is spinning... if I left it for 30mins. Fan spin will stop due to system cool down but If I check the log... it never go to sleep... What else should I check? I had make sure my Native Power Management is working.

huskytech9 commented 4 years ago

Hi I installed Mojave 10.14.6 and installed clover 14.6 My fonts are extremely small. Any one available to help me? 96FB5C24-C7F9-44EE-BFE9-850EABBAC580 E8832134-4E3C-4C75-A980-DBF0E702E4FC

huskytech9 commented 4 years ago

AF6C753A-DBE8-4BBC-8170-07E2C318F46A Top bar is very small and unable to change