yaakovgamliel / macosx-nosleep-extension

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

Computer no longer goes to sleep after uninstall #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
!!! IF YOU'RE GOING TO CREATE A DIFFECT REPORT (not FR), PLEASE, ATTACH
AN OUTPUT FROM "sudo dmesg".

!!! Describe your problem in details - it is impossible to reproduce
something like: "it turns on randomly"

What steps will reproduce the problem?
1.after shutting lid computer stays awake 
2.installed latest version of nosleep and computer will still not go to sleep.
3.uninstalled and problem still persists

What is the expected output? What do you see instead?
the expected output is that my computer will go to sleep

What version of the product are you using? On what operating system?
(if you don't know how get a version number, print "kextstat|grep -i
nosleep" in Terminal.app, without quotes)

Please provide any additional information below.

Original issue reported on code.google.com by lir...@mac.com on 18 Jun 2012 at 4:56

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

I've looked through your log and looks like the problem is not related to the 
NoSleep utility.

I'll try to explain, look for my comments started with "-----":

-----This is a part of your log, next string means that the hibernation process 
just started---------------------------------------
hibernate image path: /var/vm/sleepimage
sizeof(IOHibernateImageHeader) == 512
Opened file /var/vm/sleepimage, size 4294967296, partition base 0x0, maxio 
400000 ssd 0
hibernate image major 14, minor 0, blocksize 512, pollers 4
hibernate_alloc_pages flags 00000000, gobbling 0 pages
hibernate_setup(0) took 0 ms
00000000  00000020  NVEthernet::setLinkStatus - not Active
en1: BSSID changed to e0:06:e6:0c:78:7e
wlEvent: en1 en1 Link DOWN virtIf = 0
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
         0 [Time 1339994500] [Message hibernate_page_list_setall start 0xffffff8064cdb000, 0xffffff8064dff000
hibernate_page_list_setall time: 207 ms
pages 484926, wire 109366, act 180938, inact 371, spec 120, zf 8, throt 0, 
could discard act 90624 inact 45877 purgeable 1470 spec 56152
hibernate_page_list_setall found pageCount 290803
IOHibernatePollerOpen, ml_get_interrupts_enabled 0
IOHibernatePollerOpen(0)
writing 288851 pages
encryptStart 2f08b0
encryptEnd 5421a00
image1Size 0x9b4f400, encryptStart1 0x2f08b0, End1 0x5421a00
encryptStart 9b4f400
encryptEnd 1c0a0e00
PMStats: Hibernate write took 11181 ms
all time: 11181 ms, comp bytes: 1183432704 time: 1270 ms 888 Mb/s, crypt bytes: 
392702800 time: 2166 ms 172 Mb/s, 
image 470420992, uncompressed 1183432704 (288924), compressed 464593632 (39%), 
sum1 81beb466, sum2 68a31d0d
wired_pages_encrypted 55693, wired_pages_clear 51794, dirty_pages_encrypted 
181437
-----After this, the memory image has been seccessfully written to the 
disk------------------------------------------------------------------------
hibernate_write_image done(0)
-----Now your computer is in sleep mode-------------------------
sleep
-----But after that something wakes it. Here is a wake reason: OHC1 stands for 
Open Host Controller 1, which most probably means that your computer was 
disturbed by an external USB keyboard or mouse, or any other USB 
device------------------------------------
Wake reason: OHC1
Previous Sleep Cause: -60
The USB device Apple Internal Keyboard / Trackpad (Port 6 of Hub at 0x4000000) 
may have caused a wake by issuing a remote wakeup (2)
...

So to prove this suggestion, try to unplug all devices from your mac and try to 
use Apple->Sleep main menu item.

Please write me back regardless to the result.

Thanks,
--Pavel.

Original comment by integral...@gmail.com on 18 Jun 2012 at 7:14