Contribute
Register

Sleep problem - 10.14.6 Security Update 2020-002 related?

Status
Not open for further replies.
Joined
Sep 5, 2012
Messages
16
Motherboard
Gigabyte GA-Z77X-UP5 TH
CPU
i7 3770K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi all,

I had a fully functionning Hackintosh setup running Mojave 14.4.6 and got the notification that a new Security Update 2020-002 was available. I've installed it but since then, the sleep functionnality isn't working anymore. As soon as I put my computer to sleep (Cmd+Option+Eject), it wakes up immediately.

For historical purposes, I always had some issues with sleep on this build related to USB ports. I've tried numerous guides to build my own SSDT (https://www.tonymacx86.com/threads/the-new-beginners-guide-to-usb-port-configuration.286553/) and have renamed XHCI and EHCI. I've applied all sorts of usb port limit patch for 14.x (https://www.tonymacx86.com/threads/usb-port-limit-patch-for-14-1-14-2-14-3-14-5-14-6.268893/) to a point where it's getting confusing to know what is useful or not. I've also tried putting the computer to sleep while keeping only the usb keyboard without any success.

When getting the problem, running pmset -g assertions gives me the following:
Code:
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 97(hidd): [0x00000015000980e8] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968279.3"
    Timeout will fire in 5400 secs Action=TimeoutActionRelease
   pid 143(coreaudiod): [0x00000139000182da] 00:11:43 PreventUserIdleSystemSleep named: "com.apple.audio.GDAudioDevice_UID.context.preventuseridlesleep"
    Created for PID: 604.
Kernel Assertions: 0xc=USB,BT-HID
   id=502  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.14400000 owner=4-Port USB 3.0 Hub
   id=504  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.14300000 owner=4-Port USB 3.0 Hub
   id=506  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a120000 owner=Keyboard Hub
   id=508  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a130000 owner=USB2.0 Hub
   id=510  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a150000 owner=USB2.0 Hub
   id=513  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.14430000 owner=USB3.0 Hub
   id=515  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a131000 owner=SDDR-113
   id=516  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a133100 owner=Logitech Extreme 3D Pro
   id=518  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a123000 owner=CSR8510 A10
   id=519  level=255 0x4=USB mod=1969-12-31, 19:00 description=com.apple.usb.externaldevice.1a121000 owner=USB Receiver
   id=520  level=255 0x8=BT-HID mod=1969-12-31, 19:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBTrackpadDevice
Idle sleep preventers: IODisplayWrangler

pmset -g log | grep "Wake" returns the following:
Code:
Sleep/Wakes since boot at 2020-04-02 10:27:23 -0400 :0   Dark Wake Count in this sleep cycle:1
2020-04-02 10:32:29 -0400 Assertions              PID 188(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000833f [System: PrevIdle DeclUser BGTask SRPrevSleep kCPU kDisp]
2020-04-02 10:32:31 -0400 Assertions              PID 188(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:02  id:0x0xd0000833f [System: DeclUser kDisp]
2020-04-02 10:32:36 -0400 Wake                    Wake from Normal Sleep [CDNVA] due to XHC EH02/HID Activity: Using AC (Charge:0%)
2020-04-02 10:32:36 -0400 WakeDetails             DriverReason:XHC - DriverDetails:
2020-04-02 10:32:36 -0400 WakeTime                WakeTime: 7.509 sec
2020-04-02 10:32:36 -0400 Kernel Client Acks      Delays to Wake notifications: [AppleUSB20HubPort driver is slow(msg: SetState to 3)(404 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 2)(424 ms)] [PRT1 driver is slow(msg: SetState to 2)(1123 ms)] [PRT0 driver is slow(msg: SetState to 2)(1126 ms)] [IOUSBMassStorageInterfaceNub driver is slow(msg: SetState to 1)(1049 ms)] [IOUSBMassStorageDriverNub driver is slow(msg: SetState to 1)(1253 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(1509 ms)] [SPT1 driver is slow(msg: SetState to 2)(2797 ms)] [AppleAHCIDiskQueueManager driver is slow(msg: SetState to 3)(591 ms)] [SPT4 driver is slow(msg: SetState to 2)(6543 ms)] [SPT0 driver is slow(msg: SetState to 2)(7007 ms)]
Total Sleep/Wakes since boot at 2020-04-02 10:27:23 -0400 :1

Now I won't lie, I feel like this issue is the final straw. I'm using this build on a day-to-day basis and the sleep functionnality is vital to me. At this point, I don't know where to look for further hints on what to do next.

My question to you, is there anything I'm missing here. I'm out of options and would like a fresh pair of eyes on this.

Thank you for your time.
 
I haven’t experienced any sleep problems specifically related to any of the Mojave security updates (now in their 005 iteration).

However, I did have an issue where my perfectly working Hackintosh all of a sudden stopped being able to sleep.

The culprit? Turns out it was because I had formatted an external SSD as APFS. Once I reverted to HFS, sleep worked perfectly again. Formatting external drives in APFS messes sleep up!! They also have problems auto-mounting on boot, in my experience.
 
Status
Not open for further replies.
Back
Top