I know that ton the front page it says that you have disabled sleep. In my case I use the X1C6 as a mobile workstation so sleep is needed. In https://github.com/tylernguyen/x1c6-hackintosh the sleep is working without an issue so I'm wondering what might cause an instant wakeup.
I'm wondering if you have any experience with pmset assertions to help me diagnose this:
pmset assertions:
(base) velaar@master ~ $ pmset -g assertions
2020-01-14 09:05:59 -0500
Assertion status system-wide:
BackgroundTask 1
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
InternalPreventDisplaySleep 1
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 483(sharingd): [0x000000f9000182b6] 00:02:15 PreventUserIdleSystemSleep named: "Handoff"
pid 157(powerd): [0x0000000f00108005] 00:00:41 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"
Timeout will fire in 258 secs Action=TimeoutActionTurnOff
pid 205(hidd): [0x0000002e000980b1] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000686 name:AppleUserHIDEventSe product:Karabiner VirtualHI eventType:3"
Timeout will fire in 1200 secs Action=TimeoutActionRelease
pid 414(UserEventAgent): [0x0000005d000b81d5] 00:04:52 BackgroundTask named: "com.apple.coreduet.sync.update-source-device-identifiers"
Created for PID: 417.
Kernel Assertions: 0x4=USB
id=503 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14500000 owner=Integrated Camera
id=504 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14400000 owner=Bluetooth USB Host Controller
Idle sleep preventers: IODisplayWrangler
I was able to trace it to a famous (infamous?) GPRW method.
Wondering if I should submit a pull request with the fix. I'm testing the fix now.
(Simple GPRW → XPRW and GPRW.dsl from RehabMan)
Hi,
I know that ton the front page it says that you have disabled sleep. In my case I use the X1C6 as a mobile workstation so sleep is needed. In https://github.com/tylernguyen/x1c6-hackintosh the sleep is working without an issue so I'm wondering what might cause an instant wakeup.
I'm wondering if you have any experience with pmset assertions to help me diagnose this:
pmset assertions:
pmset -g:
For example InternalPreventDisplaySleep
Edit:
I was able to trace it to a famous (infamous?) GPRW method. Wondering if I should submit a pull request with the fix. I'm testing the fix now. (Simple GPRW → XPRW and GPRW.dsl from RehabMan)