integralpro / nosleep

The MacOS X kernel extension, preventing sleep when you close the lid.
GNU General Public License v2.0
874 stars 45 forks source link

Nosleep 1.5.0 at 10.14.3 Invalid #41

Open qq12157138 opened 5 years ago

integralpro commented 5 years ago

What does this mean?:)

qq12157138 commented 5 years ago

My macbook pro turns on Nosleep, closing the lid will still sleep and interrupt the internet connection. :( @integralpro

integralpro commented 5 years ago

Just to be sure, is it activated? Like on the following image?

image

If it's activated, I need to see "sudo dmesg" log that includes messages before activation, after activation and when you close the lid... Without logs I barely can help:(

qq12157138 commented 5 years ago

before

➜ ~ sudo dmesg Password: IOUSBHostInterface@4 [] has an idle policy of 500ms 006774.970574 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006776.057662 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006776.057733 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006776.057789 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006776.057800 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006776.057920 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006776.057934 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006776.081430 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006776.113931 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006776.113979 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006776.114011 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006776.114039 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 006776.114139 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006776.114164 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006776.114183 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006776.114195 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006776.114207 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006777.319568 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006777.319629 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006777.319670 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006777.319680 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006777.319782 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006777.319796 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006778.226481 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006778.259974 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006778.260019 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006778.260056 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006778.260093 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006778.260189 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006778.260214 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006778.260233 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006778.260256 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006778.260269 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006779.321408 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006779.321557 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006779.321604 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006779.321615 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006779.321731 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006779.321741 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006780.082992 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006780.115629 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006780.115674 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006780.115699 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006780.115728 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 006780.115848 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006780.115893 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006780.115913 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006780.115925 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006780.115938 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms sb_user_approval: kTCCServiceSystemPolicyAllFiles for fseventsd [60]sb_user_approval: pid 60 responsible for 60sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed from cache for pid 60: not approved006781.268085 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006781.268199 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006781.268254 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006781.268270 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006781.268422 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006781.268446 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006786.221456 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006786.254186 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006786.254231 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006786.254255 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006786.254284 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 006786.254407 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006786.254444 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006786.254463 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006786.254476 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006786.254489 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms com_protech_nosleepextension: setting state: 1, for mode: 0 (ac-mode) com_protech_nosleepextension: successfully started 006787.365187 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006787.365270 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006787.365325 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006787.365341 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006787.365457 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006787.365468 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms com_protech_nosleepextension: setting state: 0, for mode: 1 (ac-mode) Starting poll type 4 Restarting poll type 4 Command 0x1100 completed. inCount: 2 data:0x0Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Command 0x1200 completed. inCount: 2 data:0x0Failed to read key . rc:0x84 Command 0x1300 completed. inCount: 2 data:0x0Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1e92Command 0x10 completed. inCount: 2 data:0x1ee9SmartBattery: finished polling type 4 006790.135295 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006790.168246 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006790.168278 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006790.168296 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006790.168316 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 006790.168402 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006790.168440 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006790.168453 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006790.168462 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006790.168471 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006791.279425 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006791.279507 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006791.279548 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006791.279559 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006791.279700 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006791.279714 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006792.874661 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::message: kUSBHostMessageRemoteWake 006792.874705 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006792.908441 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006792.908486 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006792.908524 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006792.908551 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006792.908635 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006792.908685 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006792.908705 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006792.908719 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006792.908732 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006793.984001 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006793.984056 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006793.984094 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006793.984102 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006793.984195 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006793.984207 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006795.083455 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006795.116801 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006795.116838 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006795.116863 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006795.116886 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006795.116950 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006795.116971 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006795.116980 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006795.117000 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006795.117014 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006796.250950 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006796.251037 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006796.251097 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006796.251113 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006796.251227 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006796.251245 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms

qq12157138 commented 5 years ago

after

➜ ~ sudo dmesg ller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006897.479596 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 31ms 006897.479664 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006897.479681 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006897.479693 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006897.479704 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006897.479715 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006901.682066 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006901.682216 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006901.682310 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006901.682320 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006901.682456 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006901.682466 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006904.299047 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006904.331566 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006904.331610 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006904.331636 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006904.331664 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 006904.331784 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006904.331831 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006904.331850 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006904.331874 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006904.331887 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006905.417914 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006905.418004 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006905.418062 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006905.418079 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006905.418194 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006905.418205 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006905.519761 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006905.553216 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006905.553261 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006905.553286 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006905.553316 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006905.553434 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006905.553483 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006905.553503 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006905.553515 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006905.553528 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms sb_user_approval: kTCCServiceSystemPolicyAllFiles for fseventsd [60]sb_user_approval: pid 60 responsible for 60sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed from cache for pid 60: not approved006906.887452 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006906.887526 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006906.887579 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006906.887607 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006906.887741 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006906.887760 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006907.784247 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006907.816374 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006907.816419 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006907.816449 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006907.816478 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 006907.816586 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006907.816611 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006907.816625 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006907.816633 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006907.816642 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006908.855424 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006908.855507 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006908.855567 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006908.855583 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006908.855701 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006908.855712 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms Starting poll type 4 Restarting poll type 4 Command 0x1100 completed. inCount: 2 data:0x0Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Command 0x1200 completed. inCount: 2 data:0x0Failed to read key . rc:0x84 Command 0x1300 completed. inCount: 2 data:0x0Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1e92Command 0x10 completed. inCount: 2 data:0x1ee9SmartBattery: finished polling type 4 006910.520409 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006910.553820 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006910.553931 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006910.554007 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006910.554060 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006910.554177 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006910.554220 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006910.554239 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006910.554252 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006910.554276 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006911.697060 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006911.697163 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006911.697232 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006911.697249 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006911.697361 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006911.697382 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms com_protech_nosleepextension: setting state: 1, for mode: 1 (ac-mode) 006913.214609 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::message: kUSBHostMessageRemoteWake 006913.214652 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006913.248388 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006913.248434 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006913.248459 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006913.248498 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006913.248598 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006913.248644 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006913.248664 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006913.248677 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006913.248690 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms IOConsoleUsers: time(0) 0->0, lin 1, llk 0, IOConsoleUsers: gIOScreenLockState 1, hs 0, bs 0, now 0, sm 0x0 loginwindow is not entitled for IOHIDLibUserClient keyboard access006914.263072 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006914.263158 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006914.263214 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006914.263225 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006914.263333 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006914.263353 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006915.520242 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006915.553710 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006915.553757 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006915.553783 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006915.553812 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006915.553932 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006915.553983 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006915.554002 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006915.554014 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006915.554039 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 006916.644455 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 006916.644535 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 006916.644575 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 006916.644586 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 006916.644703 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 006916.644712 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 006918.497846 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 006918.531483 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 006918.531527 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 006918.531552 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 006918.531580 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 006918.531701 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 006918.531746 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 006918.531765 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 006918.531778 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 006918.531791 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms

qq12157138 commented 5 years ago

close the lid

➜ ~ sudo dmesg Password: :setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007118.744117 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007118.744141 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 007118.744225 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007118.744242 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007118.744256 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007118.744265 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007118.744273 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 007119.869085 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007119.869236 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007119.869312 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007119.869334 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007119.869468 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007119.869479 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 007121.185926 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::message: kUSBHostMessageRemoteWake 007121.185950 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 007121.218588 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 007121.218675 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007121.218747 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007121.218772 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 007121.218840 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007121.218888 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007121.218908 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007121.218921 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007121.218934 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 007122.302732 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007122.302810 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007122.302848 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007122.302859 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007122.302978 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007122.302988 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms sb_user_approval: kTCCServiceSystemPolicyAllFiles for mds [81]sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 81sb_user_approval: kTCCServiceSystemPolicyAllFiles for mds [81]sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 81sb_user_approval: kTCCServiceSystemPolicyAllFiles for mds [81]sb_user_approval: kTCCServiceSystemPolicyAllFiles for mds [81]sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 81sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 81sb_user_approval: kTCCServiceSystemPolicyAllFiles for CoreServicesUIAg [1271]sb_user_approval: kTCCServiceSystemPolicyAllFiles for CoreServicesUIAg [1271]sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 1271sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 1271sb_user_approval: kTCCServiceSystemPolicyAllFiles for CoreServicesUIAg [1271]sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 1271sb_user_approval: kTCCServiceSystemPolicyAllFiles for CoreServicesUIAg [1271]sb_user_approval: kTCCServiceSystemPolicyAllFiles satisifed by entitlement for pid 1271007123.701811 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 007123.734479 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 007123.734568 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007123.734652 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007123.734684 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 007123.734801 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007123.734830 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007123.734845 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007123.734857 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007123.734869 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms syscall_extension_issue failed: 2syscall_extension_issue failed: 1007124.860762 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007124.860849 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007124.860890 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007124.860900 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007124.861014 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007124.861025 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 007126.353268 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 007126.385708 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 007126.385744 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007126.385762 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007126.385780 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 007126.385846 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007126.385865 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007126.385873 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007126.385884 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007126.385891 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 007129.502629 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007129.502671 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007129.502698 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007129.502706 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007129.502824 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007129.502836 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 007132.271804 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 007132.305126 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 007132.305167 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007132.305183 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007132.305199 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 007132.305266 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007132.305280 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007132.305290 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007132.305297 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007132.305304 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms Starting poll type 4 Restarting poll type 4 Command 0x1100 completed. inCount: 2 data:0x0Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Failed to read key . rc:0x84 Command 0x1200 completed. inCount: 2 data:0x0Failed to read key . rc:0x84 Command 0x1300 completed. inCount: 2 data:0x0Command 0x2 completed. inCount: 2 data:0x5Command 0x1 completed. inCount: 2 data:0x1001Command 0x16 completed. inCount: 2 data:0x40e0Command 0xa completed. inCount: 2 data:0x0Command 0xb completed. inCount: 2 data:0x0Command 0x12 completed. inCount: 2 data:0xffffCommand 0x13 completed. inCount: 2 data:0xffffCommand 0xf completed. inCount: 2 data:0x1e92Command 0x10 completed. inCount: 2 data:0x1ee9SmartBattery: finished polling type 4 007133.671234 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007133.671321 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007133.671361 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007133.671372 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007133.671489 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007133.671508 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms syscall_extension_consume failed: 22007134.272522 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 007134.304807 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 007134.304849 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007134.304871 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007134.304895 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 32ms 007134.304981 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007134.305005 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007134.305015 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007134.305022 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007134.305029 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms IOConsoleUsers: time(0) 0->0, lin 1, llk 0, IOConsoleUsers: gIOScreenLockState 1, hs 0, bs 0, now 0, sm 0x0 loginwindow is not entitled for IOHIDLibUserClient keyboard access007135.404753 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007135.404924 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007135.404998 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007135.405008 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007135.405135 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007135.405156 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms 007135.856543 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::message: kUSBHostMessageRemoteWake 007135.856588 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn timeout 0ms 007135.889478 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateOn 007135.889573 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateSuspended -> kPowerStateOn 007135.889645 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: resuming pipes 007135.889671 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateOn completed with 0x00000000 after 33ms 007135.889746 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerChangeDone: 007135.889787 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@2 [] has an idle policy of 500ms 007135.889807 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@3 [] has an idle policy of 500ms 007135.889820 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: IOUSBHostInterface@4 [] has an idle policy of 500ms 007135.889833 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::updateIdlePolicyGated: consensus idle policy timeout 500ms 007136.996583 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended timeout 1000ms 007136.996743 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::powerStateWillChangeToGated: kPowerStateSuspended 007136.996841 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: kPowerStateOn -> kPowerStateSuspended 007136.996852 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::setPowerStateGated: suspending pipes 007136.996976 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: allowing power level to float 007136.996985 Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated: kPowerStateSuspended completed with 0x00000000 after 0ms

qq12157138 commented 5 years ago

NoSleep has been disabled since MacOS 10.14, and version 10.13 is still valid.

integralpro commented 5 years ago

1) I don't see that your computer goes to a sleep mode (according to your 3rd log) 2) These Bluetooth USB Host Controller@14300000: IOUSBHostDevice::forcePowerGated related to power don't look good

qq12157138 commented 5 years ago

@integralpro So what do I have to do? At the beginning of the release of MacOS 10.14, I found that NoSleep was not working properly. After so long, I still couldn't achieve the effect.

bric3 commented 5 years ago

For me NoSleep works as expected (Closing the lid keep the audio running). Note that I had to accept the kernel module in the security preference pane at install time (which is by the way confired to allow Apps downloaded from App Store and identified developers).

NoSleep 1.5.0

ProductName: Mac OS X ProductVersion: 10.14.2 BuildVersion: 18C54

qq12157138 commented 5 years ago

After closing the lid, will your network not be disconnected?

bric3 commented 5 years ago

@qq12157138 I don't know. I was playing music from Spotify; the music may have been already in the cache. I'll check if the network interface is still up.

bric3 commented 5 years ago

@qq12157138 On my machine the network interface is kept alive, maybe because spotify was already actively using it.

Could be the hardware, I'm running Mojave on a MacBook Pro (Retina, 13-inch, Early 2015)

qq12157138 commented 5 years ago

@bric3 I'm running Mojave on a MacBook Pro (Retina, 15-inch, Mid 2015) My Teamviewer can't connect remotely after the lid. The previous system version is OK. After upgrading to Mojave, it won't work.