Contribute
Register

CustoMac wakes immediately after sleep

Status
Not open for further replies.
Joined
Sep 2, 2017
Messages
35
Motherboard
Gigabyte GA-H270-HD3
CPU
i5-7500
Graphics
GTX 1060
Since I upgraded from Sierra to High Sierra, I can no longer let my Mac sleep. It wakes up immediately after issuing the command.
Output of pmset
pmset -g assertions
2019-08-03 09:06:57 +0200
Assertion status system-wide:
BackgroundTask 1
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 1
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 70(powerd): [0x0000000c00088008] 00:37:59 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
pid 116(hidd): [0x00000050000980a1] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968796.3"
Timeout will fire in 3600 secs Action=TimeoutActionRelease
pid 358(coreaudiod): [0x0000016100018378] 00:32:16 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,2:0.context.preventuseridlesleep"
Created for PID: 752.
pid 358(coreaudiod): [0x0000006400018117] 00:36:29 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,2:0.context.preventuseridlesleep"
Created for PID: 491.
pid 319(mds_stores): [0x0000000e000b8013] 00:37:56 BackgroundTask named: "com.apple.metadata.mds_stores.power"
Kernel Assertions: 0xc=USB,BT-HID
id=501 level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14700000 owner=My Book 1112
id=502 level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14800000 owner=USB Optical Mouse
id=503 level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14c00000 owner=Bluetooth USB Host Controller
id=504 level=255 0x8=BT-HID mod=01.01.70, 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard
Idle sleep preventers: IODisplayWrangler

Output from the system log
log show --style syslog | fgrep "Wake reason"
2019-08-01 08:09:55.628218+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
2019-08-01 08:09:55.628219+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
2019-08-02 08:12:55.675441+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
2019-08-02 08:12:55.675442+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
7,007
Motherboard
Gigabyte Z490i Aorus Ultra - OC 0.6.8
CPU
i5-10600K
Graphics
RX560
Mac
  1. iMac
  2. Mac mini
Classic Mac
  1. eMac
  2. iBook
Mobile Phone
  1. Android
Since I upgraded from Sierra to High Sierra, I can no longer let my Mac sleep. It wakes up immediately after issuing the command.
Output of pmset
pmset -g assertions
2019-08-03 09:06:57 +0200
Assertion status system-wide:
BackgroundTask 1
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 1
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 70(powerd): [0x0000000c00088008] 00:37:59 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
pid 116(hidd): [0x00000050000980a1] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968796.3"
Timeout will fire in 3600 secs Action=TimeoutActionRelease
pid 358(coreaudiod): [0x0000016100018378] 00:32:16 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,2:0.context.preventuseridlesleep"
Created for PID: 752.
pid 358(coreaudiod): [0x0000006400018117] 00:36:29 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,2:0.context.preventuseridlesleep"
Created for PID: 491.
pid 319(mds_stores): [0x0000000e000b8013] 00:37:56 BackgroundTask named: "com.apple.metadata.mds_stores.power"
Kernel Assertions: 0xc=USB,BT-HID
id=501 level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14700000 owner=My Book 1112
id=502 level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14800000 owner=USB Optical Mouse
id=503 level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14c00000 owner=Bluetooth USB Host Controller
id=504 level=255 0x8=BT-HID mod=01.01.70, 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard
Idle sleep preventers: IODisplayWrangler

Output from the system log
log show --style syslog | fgrep "Wake reason"
2019-08-01 08:09:55.628218+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
2019-08-01 08:09:55.628219+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
2019-08-02 08:12:55.675441+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC
2019-08-02 08:12:55.675442+0200 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC

Hi there.

That looks like classic USB.

How have you got your USB system configured?
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
7,007
Motherboard
Gigabyte Z490i Aorus Ultra - OC 0.6.8
CPU
i5-10600K
Graphics
RX560
Mac
  1. iMac
  2. Mac mini
Classic Mac
  1. eMac
  2. iBook
Mobile Phone
  1. Android
I installed USBInjectAll.kext via Multibeast, I didn't do any other configuration for USB

Okay.

Do you have any kind of bluetooth adapter? If so what type?
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
7,007
Motherboard
Gigabyte Z490i Aorus Ultra - OC 0.6.8
CPU
i5-10600K
Graphics
RX560
Mac
  1. iMac
  2. Mac mini
Classic Mac
  1. eMac
  2. iBook
Mobile Phone
  1. Android
I am using a Broadcom Wifi+Bluetooth card
The bluetooth chipset is 20703A1

Then you need to create an SSDT for your USB port definitions and use "UsbConnector" type 255 for the motherboard header the card's cable is plugged into :thumbup:
 
Status
Not open for further replies.
Top