thoelena / macosx-nosleep-extension

Automatically exported from code.google.com/p/macosx-nosleep-extension
0 stars 0 forks source link

Uninstalled Version 1.4 but machine won't sleep when connected to power #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I have uninstalled version 1.4 and i can't seem to manually invoke sleep and 
the machine won't sleep when the lid is closed when connected to power.  
However this seems to function as expected when on battery power

I have attached the requested terminal report.

Suggestions?  Thanks

Original issue reported on code.google.com by mick...@gmail.com on 21 Nov 2014 at 9:26

GoogleCodeExporter commented 8 years ago
I have also reset the SMC

Original comment by mick...@gmail.com on 21 Nov 2014 at 9:28

GoogleCodeExporter commented 8 years ago
The attached log doesn't contain any info about sleep mode operations. If it's 
not the full log, try to send me a full one.

First of all be sure that all NoSleep relevant files are removed. The uninstall 
script should do the job, but lets check it manually, just to be sure.

Exec in terminal:
find /System/Library/Extensions -name NoSleep.kext
find /Library/Extensions -name NoSleep.kext

You should not see the "NoSleep.kext"

--Pavel.

Original comment by integral...@gmail.com on 21 Nov 2014 at 9:33

GoogleCodeExporter commented 8 years ago
Not sure what log you are requesting.  I performed sudo dmesg and got what I 
attached

I can conform that those extension do not exist after having uninstalled.  
Interestingly when performing the uninstall script i noticed it was named for 
version 1.3?  Was there a change between 1.4 and 1.3 that would require a new 
uninstall script?

Also I restored a version of my com.apple.PowerManagement to a previous version.

I have attached a log starting from when i invoke sleep from the apple menu.

Original comment by mick...@gmail.com on 22 Nov 2014 at 1:12

GoogleCodeExporter commented 8 years ago
Also, I am running 10.10.1

Original comment by mick...@gmail.com on 22 Nov 2014 at 1:14

GoogleCodeExporter commented 8 years ago
Here is a log where it slept successfully while on battery.

Original comment by mick...@gmail.com on 22 Nov 2014 at 1:18

GoogleCodeExporter commented 8 years ago
Seems like Internet sharing was somehow enabled and it was preventing sleep as 
found from this command: pmset -g assertions

Disabled internet sharing and the system successfully went to sleep.

I found this site helpful: 
http://osxdaily.com/2012/07/11/mac-wont-sleep-heres-how-to-find-out-why-and-fix-
it/

Original comment by mick...@gmail.com on 22 Nov 2014 at 1:37

GoogleCodeExporter commented 8 years ago
Great!

Original comment by integral...@gmail.com on 22 Nov 2014 at 4:13

GoogleCodeExporter commented 8 years ago

Original comment by integral...@gmail.com on 22 Nov 2014 at 4:14