Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

MBP Unibody not sleeping

  • 06-03-2012 04:19PM
    #1
    Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭


    I've reset the SMC and PRAM. While it seems to sleep with the MagSafe out, I get the sleep problem when it's plugged in. One Apple thread suggested running this command in the terminal to determine what program is preventing sleep: pmset -g assertions.

    This is what it output:
    Assertion status system-wide:
       ChargeInhibit                           0
       PreventUserIdleDisplaySleep             0
       PreventUserIdleSystemSleep              0
       NoRealPowerSources_debug                0
       CPUBoundAssertion                       0
       EnableIdleSleep                         1
       PreventSystemSleep                      1
       DisableInflow                           0
       DisableLowPowerBatteryWarnings          0
       ExternalMedia                           0
    
    Listed by owning process:
      pid 16: [0x0000012c00000010] PreventSystemSleep named: "org.cups.cupsd" 
    
    Kernel Assertions: 0x0008 
     * Kernel Assertion ID = 500
       Created At = 01/01/1970 01:02:48 GMT 
       Modified At = 01/01/1970 01:00:00 GMT 
       Owner ID = 0xffffff800bdb0000
       Level = 0
       Assertions Set = None (4)
    
     * Kernel Assertion ID = 501
       Created At = 01/01/1970 01:02:51 GMT 
       Modified At = 01/01/1970 01:00:00 GMT 
       Owner ID = 0xffffff800bdc6000
       Level = 0
       Assertions Set = None (4)
    
     * Kernel Assertion ID = 502
       Created At = 01/01/1970 01:03:12 GMT 
       Modified At = 06/03/2012 15:06:55 GMT 
       Owner ID = 0xffffff800be40e00
       Level = 0
       Assertions Set = None (32)
    
     * Kernel Assertion ID = 503
       Created At = 06/03/2012 15:08:09 GMT 
       Modified At = 01/01/1970 01:00:00 GMT 
       Owner ID = 0xffffff800d9e7000
       Level = 255
       Assertions Set = None (8)
    

    It may be that my problem is the same as one of the users:
    as mentioned in the previous post. In my case it was some CUPS print driver. I un-installed the "printer" and things are back to normal.
    Not sure where to go from here, or even if it's safe.


Comments

  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    FYI, I solved it after finding this thread: http://superuser.com/questions/373566/macbook-not-going-to-sleep

    Basically, a printer driver somehow thought I was still attempting to print a document. Once I took the printer offline, the problem was resolved.

    In future, this seems a great method to pinpoint what's causing a sleep issue in OS X.


  • Registered Users, Registered Users 2 Posts: 2,062 ✭✭✭Colonel Panic


    Do you have printer sharing enabled?

    EDIT: Nevermind, it was something else!


  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    PPDs were also shared. Even Adobe Acrobat. I turned that off, too.


  • Registered Users, Registered Users 2 Posts: 4,647 ✭✭✭Deep Thought


    I find a nice mug of Hot Chocolate works wonders...:D

    The narrower a man’s mind, the broader his statements.



  • Registered Users, Registered Users 2 Posts: 1,476 ✭✭✭sarkozy


    I find a nice mug of Hot Chocolate works wonders...:D
    Huh?


  • Advertisement
Advertisement