Open qq12157138 opened 5 years ago
My macbook pro turns on Nosleep, closing the lid will still sleep and interrupt the internet connection. :( @integralpro
Just to be sure, is it activated? Like on the following 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:(
➜ ~ sudo dmesg
Password:
IOUSBHostInterface@4 [
➜ ~ 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 [
➜ ~ 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 [
NoSleep has been disabled since MacOS 10.14, and version 10.13 is still valid.
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
@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.
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
After closing the lid, will your network not be disconnected?
@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.
@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)
@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.
What does this mean?:)