Contribute
Register

Apple Airport card + Hackintosh = Instant Wake issue

Status
Not open for further replies.
Back to square one. Trying to get the keyboard/mouse ports to be active for waking the computer from sleep I somehow managed to break sleep completely. Now it won't stay asleep even if I remove all PRW instances.

Here's my current pmset.
Code:
Time stamp                Domain                  Message                                                                        Duration      Delay     
==========                ======                  =======                                                                        ========      =====     
UUID: AB05CDF9-7153-430F-8AC9-40CD7B8D841A
2019-05-09 19:16:02 +0300 Notification            Display is turned off                                                                   
2019-05-09 19:16:02 +0300 Assertions              PID 558(AddressBookSourceSync) Summary PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:15  id:0x0x1000081af [System: PrevIdle DeclUser kDisp]         
2019-05-09 19:16:02 +0300 Assertions              PID 100(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968229.17" 00:04:47  id:0x0x90000806d [System: PrevIdle DeclUser kDisp]         
2019-05-09 19:16:02 +0300 Assertions              Kernel Idle sleep preventers: -None-         
2019-05-09 19:16:02 +0300 Assertions              PID 49(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000081b2 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]         
2019-05-09 19:16:16 +0300 Assertions              PID 558(AddressBookSourceSync) Released PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:30  id:0x0x1000081af [System: DeclUser SRPrevSleep kCPU kDisp]         
2019-05-09 19:16:17 +0300 Assertions              PID 49(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000081b2 [System: DeclUser SRPrevSleep kCPU kDisp]         
2019-05-09 19:16:17 +0300 Sleep                   Entering Sleep state due to 'Software Sleep pid=96': Using AC 8 secs   
2019-05-09 19:16:20 +0300 PM Client Acks          Delays to Sleep notifications: [com.apple.apsd is slow(2950 ms)]           
2019-05-09 19:16:24 +0300 Kernel Client Acks      Delays to Sleep notifications: [AppleHDADriver driver is slow(msg: SetState to 0)(505 ms)]           
2019-05-09 19:16:24 +0300 Assertions              PID 161(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000081c8 [System: DeclUser BGTask SRPrevSleep kCPU kDisp]         
2019-05-09 19:16:24 +0300 Assertions              Kernel Idle sleep preventers: IODisplayWrangler         
2019-05-09 19:16:24 +0300 Notification            Display is turned on                                                                     
2019-05-09 19:16:24 +0300 Assertions              PID 161(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000081c8 [System: DeclUser BGTask kDisp]         
2019-05-09 19:16:25 +0300 Wake                    Wake from Normal Sleep [CDNVA] due to /: Using AC           
2019-05-09 19:16:25 +0300 HibernateStats          hibmode=0 standbydelay=0                                                                 187           
2019-05-09 19:16:25 +0300 Kernel Client Acks      Delays to Wake notifications: [AppleUSB20HubPort driver is slow(msg: SetState to 3)(402 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(927 ms)]           
2019-05-09 19:16:25 +0300 Assertions              PID 49(powerd) Created InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:00  id:0x0xd000081ce [System: DeclUser BGTask SRPrevSleep kCPU kDisp]         

Total Sleep/Wakes since boot at 2019-05-09 19:11:00 +0300 :2

2019-05-09 19:16:34 +0300 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   InteractivePushServiceTask     1
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
   InternalPreventSleep           1
Listed by owning process:
   pid 81(apsd): [0x00000147001281e3] 00:00:05 InteractivePushServiceTask named: "com.apple.apsd-waitingformessages-push.apple.com"
    Timeout will fire in 174 secs Action=TimeoutActionTurnOff
   pid 100(hidd): [0x000000130009806d] 00:05:19 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968150.3"
    Timeout will fire in 596 secs Action=TimeoutActionRelease
   pid 49(powerd): [0x00000144000d81ce] 00:00:08 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"
    Timeout will fire in 36 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=502  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1a110000 owner=BRCM20702 Hub
   id=505  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1d160000 owner=Keyboard Hub
   id=508  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1d163000 owner=USB Receiver
   id=510  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1a120000 owner=USB2.0-CRW
Idle sleep preventers: IODisplayWrangler

Can't anyone else lend a hand here? Rehabman? I'm running out of ideas! :(
 
Back to square one. Trying to get the keyboard/mouse ports to be active for waking the computer from sleep I somehow managed to break sleep completely. Now it won't stay asleep even if I remove all PRW instances.

Here's my current pmset.
Code:
Time stamp                Domain                  Message                                                                        Duration      Delay    
==========                ======                  =======                                                                        ========      =====    
UUID: AB05CDF9-7153-430F-8AC9-40CD7B8D841A
2019-05-09 19:16:02 +0300 Notification            Display is turned off                                                                  
2019-05-09 19:16:02 +0300 Assertions              PID 558(AddressBookSourceSync) Summary PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:15  id:0x0x1000081af [System: PrevIdle DeclUser kDisp]        
2019-05-09 19:16:02 +0300 Assertions              PID 100(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968229.17" 00:04:47  id:0x0x90000806d [System: PrevIdle DeclUser kDisp]        
2019-05-09 19:16:02 +0300 Assertions              Kernel Idle sleep preventers: -None-        
2019-05-09 19:16:02 +0300 Assertions              PID 49(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000081b2 [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]        
2019-05-09 19:16:16 +0300 Assertions              PID 558(AddressBookSourceSync) Released PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:30  id:0x0x1000081af [System: DeclUser SRPrevSleep kCPU kDisp]        
2019-05-09 19:16:17 +0300 Assertions              PID 49(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000081b2 [System: DeclUser SRPrevSleep kCPU kDisp]        
2019-05-09 19:16:17 +0300 Sleep                   Entering Sleep state due to 'Software Sleep pid=96': Using AC 8 secs  
2019-05-09 19:16:20 +0300 PM Client Acks          Delays to Sleep notifications: [com.apple.apsd is slow(2950 ms)]          
2019-05-09 19:16:24 +0300 Kernel Client Acks      Delays to Sleep notifications: [AppleHDADriver driver is slow(msg: SetState to 0)(505 ms)]          
2019-05-09 19:16:24 +0300 Assertions              PID 161(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000081c8 [System: DeclUser BGTask SRPrevSleep kCPU kDisp]        
2019-05-09 19:16:24 +0300 Assertions              Kernel Idle sleep preventers: IODisplayWrangler        
2019-05-09 19:16:24 +0300 Notification            Display is turned on                                                                    
2019-05-09 19:16:24 +0300 Assertions              PID 161(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000081c8 [System: DeclUser BGTask kDisp]        
2019-05-09 19:16:25 +0300 Wake                    Wake from Normal Sleep [CDNVA] due to /: Using AC          
2019-05-09 19:16:25 +0300 HibernateStats          hibmode=0 standbydelay=0                                                                 187          
2019-05-09 19:16:25 +0300 Kernel Client Acks      Delays to Wake notifications: [AppleUSB20HubPort driver is slow(msg: SetState to 3)(402 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(927 ms)]          
2019-05-09 19:16:25 +0300 Assertions              PID 49(powerd) Created InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:00  id:0x0xd000081ce [System: DeclUser BGTask SRPrevSleep kCPU kDisp]        

Total Sleep/Wakes since boot at 2019-05-09 19:11:00 +0300 :2

2019-05-09 19:16:34 +0300 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   InteractivePushServiceTask     1
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
   InternalPreventSleep           1
Listed by owning process:
   pid 81(apsd): [0x00000147001281e3] 00:00:05 InteractivePushServiceTask named: "com.apple.apsd-waitingformessages-push.apple.com"
    Timeout will fire in 174 secs Action=TimeoutActionTurnOff
   pid 100(hidd): [0x000000130009806d] 00:05:19 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968150.3"
    Timeout will fire in 596 secs Action=TimeoutActionRelease
   pid 49(powerd): [0x00000144000d81ce] 00:00:08 InternalPreventSleep named: "com.apple.powermanagement.acwakelinger"
    Timeout will fire in 36 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=502  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1a110000 owner=BRCM20702 Hub
   id=505  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1d160000 owner=Keyboard Hub
   id=508  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1d163000 owner=USB Receiver
   id=510  level=255 0x4=USB mod=01/01/1970, 02:00 description=com.apple.usb.externaldevice.1a120000 owner=USB2.0-CRW
Idle sleep preventers: IODisplayWrangler

Can't anyone else lend a hand here? Rehabman? I'm running out of ideas! :(

You also have com.apple.powermanagement.acwakelinger that's activating InternalPreventSleep.
 
You also have com.apple.powermanagement.acwakelinger that's activating InternalPreventSleep.

Can I delete that?
BTW, turns out that when I mentioned that I cracked the problem previously I spoke too soon. If I had left the computer alone for a few secs it would have turned on by itself as it always does. Aaaaaaarrrghhhh!!!!!!!
 
Can I delete that?
BTW, turns out that when I mentioned that I cracked the problem previously I spoke too soon. If I had left the computer alone for a few secs it would have turned on by itself as it always does. Aaaaaaarrrghhhh!!!!!!!

No, I would not delete it. Check the following thread to make sure you have CPU power management working:
 
I went through the guide carefully. PM is working. Still no sleep.

I have realised that I'm facing two problems:
1. Something in the WIFI module is keeping the system awake. From my very simplistic viewpoint, it seems to be sending commands to the computer which it interprets as user inputs, thus waking up immediately.
2. Idle sleep is not working even if I remove the WIFI module. That seems to have to do with this process: pid 101(hidd): [0x0000000f00098069] 00:06:25 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968084.3"

Again, something that the HID is receiving is interpreted as user input.
Any help anyone? Why won't any other forum members write their suggestions? Pastrychef has been wonderful but I can't keep pestering one person!
 
process: pid 101(hidd): [0x0000000f00098069] 00:06:25 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968084.3"

I think this is just normal user interaction with the system. It always shows up when I check pmset.
 
I'm completely and utterly stumped. :( :( :(
I've done EVERYTHING and still nothing.

It sleeps ONLY when I remove the f@@@@@ng wifi card. NOTHING else will do.
And the worst part? Even after removing the PWR instances it still gives me a wake reason, only now it doesn't even mention what the heck it is!!! :( It simply says Wake from Normal Sleep [CDNVA] due to /

Gee! Thanks! :(
 
So here we are. Computer .JUST. WON'T. SLEEP.
How is it possible to NOT have a wake reason for waking up????
ALL the tutorials and EVERYTHING online that discuss wake up issues are showing a wake reason. How the hell am I going to troubleshoot the damn thing is it just has a blank there?!

I tried safe mode, another user account, I pulled out ALL the usb devices & monitor cable, leaving only the power cable attached. STILL won't sleep. I KNOW what's wrong. It's that bl@@dy wifi card. Pull it and sleep is perfect.

But HOW can a PCI device wake the computer?
 
Hi both.

For what it is worth I spot in the IOReg snap in post #11 that your Bluetooth USB is attached to a USB 2.0 Hub.

A lot of the latest motherboards have separate USB 2 hubs but if your motherboard is an older one, maybe it is just configuration that's needed.

As you don't have the (usual) option to move a cable from one socket to another with your card you might recheck your USB configuration.

Basically you don't want BT attached to a hub.

Are you by any chance using FakePCIID_XHCIMux.kext ? This is used with EHCI controllers to divert USB2 ports away from XHCI. This can create a hub.

Cut to the chase. I guess your motherboard has an XHCI controller so remove that kext and check IOReg again. ( not at my desktop right now so can't check from here). Configure a direct port as "255" etc.

As always do a backup first and keep a UniBeast installer drive handy just in case.

:)
 
Last edited:
First of all thanks so much for your help. I'm sorry if I come across as annoying but I've been struggling with this damn thing so long now.

The motherboard might unfortunately to be a non-standard one. The computer is a Fujitsu Esprimo Q520 mini PC and in the manual it mentions Mainboard type D3223 / Form Factor Proprietary / Chipset Intel H81

Inside the computer there are no USB ports that I can see. All I did was to plug in the Apple airport card into a mini pci adapter and connect it to the computer. No extra USB connections or anything. It seems to find a bluetooth device all on its own and map it to wherever.

I have managed to disable the bluetooth device completely from the system by mapping out the relevant USB port, but the computer will still wake up from sleep.

I'll remove the kext and report back. Thanks!
 
Status
Not open for further replies.
Back
Top