Contribute
Register

<< Solved >> Unable to Sleep Properly

Status
Not open for further replies.
Joined
May 15, 2020
Messages
3
Motherboard
ASUS H81MA
CPU
Intel i5-4570
Graphics
RX 580 4gb
I built a Hackintosh with specs as follows

- ASUS H81M-A

- Intel i5-4570

- AMD RX 580

- Teamgroup 16 gb DDR3 1600 MHz RAM

- macOS Catalina 10.15.4

I've tried every darkwake= 0 - 10 and the system will not stay asleep. I hit sleep, the system waits 30 seconds, fans spin down and immediately spin back up and goes to the lock screen. I have already properly set up my USB map as well. Attached is my EFI
 

Attachments

  • Archive.zip
    4.3 MB · Views: 72
Code:
pmset -g assertions
produces these results

Code:
2020-05-28 18:35:56 -0400
Assertion status system-wide:
   BackgroundTask                 1
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   InternalPreventDisplaySleep    1
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
   InternalPreventSleep           1
Listed by owning process:
   pid 336(nsurlsessiond): [0x0000011a000b83e8] 00:00:03 BackgroundTask named: "NSURLSessionTask 56FA4358-C89C-4AE0-9DBA-600E1715E203"
    Timeout will fire in 10796 secs Action=TimeoutActionTurnOff
   pid 336(nsurlsessiond): [0x0000011c000b83eb] 00:00:01 BackgroundTask named: "NSURLSessionTask 1077FC28-2C7A-4FE3-BA85-B75C8811A815"
    Timeout will fire in 10799 secs Action=TimeoutActionTurnOff
   pid 336(nsurlsessiond): [0x0000011d000b83ec] 00:00:00 BackgroundTask named: "NSURLSessionTask CB4918FC-3C44-46A9-BE94-12E05BEEF3FD"
    Timeout will fire in 10799 secs Action=TimeoutActionTurnOff
   pid 112(hidd): [0x0000000c000980c3] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000723 name:AppleHIDKeyboardEve product:Magic Keyboard eventType:3"
    Timeout will fire in 600 secs Action=TimeoutActionRelease
   pid 70(powerd): [0x00000112000d83cb] 00:00:12 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"
    Timeout will fire in 33 secs Action=TimeoutActionRelease
   pid 70(powerd): [0x0000000300108001] 00:04:12 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"
    Timeout will fire in 47 secs Action=TimeoutActionTurnOff
   pid 295(UserEventAgent): [0x00000024000b81e2] 00:04:18 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"
    Created for PID: 300.
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice
   id=512  level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14600000 owner=IOUSBHostDevice
   id=513  level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14a00000 owner=PS2/USB Browser Combo Mouse
   id=514  level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14900000 owner=Magic Keyboard
Idle sleep preventers: IODisplayWrangler

and my sleep settings are

Code:
System-wide power settings:


Currently in use:
standby                          0
Sleep On Power Button    1
womp                             0
hibernatefile                    /var/vm/sleepimage
powernap                        0
networkoversleep             0
disksleep                         0
standbydelayhigh             86400
sleep                              1 (sleep prevented by UserEventAgent)
autopoweroffdelay           28800
hibernatemode               0
autopoweroff                  1
ttyskeepawake                0
displaysleep                   10
highstandbythreshold      50
standbydelaylow            86400

It says sleep prevented by UserEventAgent, not entirely sure what that is
 
Fixed it by patching DSDT.aml, changing PWR settings for offending devices from 0x0F to 0x09
 
Fixed it by patching DSDT.aml, changing PWR settings for offending devices from 0x0F to 0x09
can you say what did you do exactly ?
my laptop sleeps if i press sleep in menu but it does not sleep automatically
 
Status
Not open for further replies.
Back
Top