Jump to content

Idle sleep preventers: IODisplayWrangler


4 posts in this topic

Recommended Posts

Hello,

 

Made the switch to opencore, everything working great, but am now realising that my hack is not going to sleep.

 

Ran these commands in terminal to get a Idle sleep preventers: IODisplayWrangler

 

Which i found relates to the dimness of a display, which i find odd since my hack is not a laptop

https://apple.stackexchange.com/questions/307151/significance-of-iodisplaywrangler-in-power-management-assertions

 

Any ideas?

 

i7 8700k

RX 580 Sapphire Nitro+ SE in Headless mode

ASUS Maximus X Code

 

Serial removed config plist attached

 

TERMINAL COMMANDS:

"pmset -g log | grep sleep | tail -n 1"

RESULT:

Idle sleep preventers: IODisplayWrangler

 

"sudo pmset -g assertions"

RESULT:

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  1

   PreventUserIdleSystemSleep     1

   NetworkClientActive            0

Listed by owning process:

   pid 126(hidd): [0x000129c800099c5d] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10001423a name:AppleHIDKeyboardEve product:Magic Keyboard with eventType:3"

Timeout will fire in 900 secs Action=TimeoutActionRelease

   pid 76(powerd): [0x0000000c00088002] -105170:-14:-47 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"

   pid 497(sharingd): [0x00012c1900019d64] 00:05:18 PreventUserIdleSystemSleep named: "Handoff"

Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE

   id=500  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.14700000 owner=BR850ELCD

   id=501  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00100000 owner=USB3.1 Hub             

   id=503  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00300000 owner=USB2.0 Hub             

   id=505  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.14500000 owner=USB2.0 Hub             

   id=507  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.14e00000 owner=USB3.0 Hub             

   id=509  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00120000 owner=ASM1352R-PM

   id=511  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.14e20000 owner=Transcend

   id=513  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00140000 owner=USB3.1 Hub             

   id=515  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.14510000 owner=HD Webcam C615

   id=516  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00340000 owner=USB2.0 Hub             

   id=518  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00144000 owner=USB3.0 Card Reader

   id=519  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00141000 owner=ASM1351

   id=520  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00142000 owner=USB3.0 Card Reader

   id=521  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00143000 owner=ASM1351

   id=522  level=255 0x100=MAGICWAKE mod=1/1/70, 10:00 am description=llw0 owner=IOSkywalkNetworkBSDClient

   id=523  level=255 0x100=MAGICWAKE mod=1/1/70, 10:00 am description=en0 owner=en0

   id=524  level=255 0x8=BT-HID mod=1/1/70, 10:00 am description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice

   id=525  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.00130000 owner=ASM1352R-PM

   id=528  level=255 0x8=BT-HID mod=1/1/70, 10:00 am description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice

Idle sleep preventers: IODisplayWrangler

 

config_NOSN.plist

  • 2 months later...

I think I have the same issue. When manually entering sleep, my hackintosh goes into sleep and after a while I hear the relay in the PSU switch off, but a few seconds later it switches on again. Then the computer goes back and forth every minute or so, while still being black screened. As soon as I press keyboard I'm instantly back. So it seems I first go into hibernation and then right back to shallow sleep?

 

pmset -g log:

https://gist.github.com/hedefalk/c284ae4fde018d8c9c6bdf70e5bd9e48

Endned up seeing if this was a NVRAM issue, which my Z370 Maximus X Code natively supports

 

Turns out thought another SSDT (SSDT-PMC) should be added to the ACPI and was able to resolve the solution:

 

added the SSDT-PMC.aml to my ACPI/config.plist

 

For the sleep settings not saving I deleted the powermanager files in /Library/Preferences/

and changed

2) changed SIP from 03000000 to completely disablled 00000000

 

The SIP changed to completely disabled was the final thing that allowed my Hack to actually go to sleep.

 

Hope that helps

  • 5 months later...
×
×
  • Create New...