Speeding up MacBook Pro Sleep & Resume…

May 1, 2009

One of the things I absolutely love and have shown off to more than a few people, is how quickly my Mac goes in and out of sleep mode. It means that I can open and close with abandon and not really have to worry about it affecting my productivity. It also means that when I realize I’m running late, I can drop the lid and don’t have to twiddle my thumbs very long (sans Solitaire/WebSudoku) while I wait for everything to spin down. I love this – when it works. Occasionally when I attempt to wake my machine, I will get a totally black screen with no login prompt. The machine appears to be awake but the screen isn’t active. Closing the lid does not put it back to sleep so I have to power cycle the thing to get it going again. I know, I know, everyone is going to give me grief about how Mac just works and whatnot but it’s total bollocks. EVERYTHING has issues. Live with it.

Tweak It

Never one to stop fiddling and exploring, I recently ran across this post where a guy was complaining that they’d messed with the sleep behavior between his trusty Powerbook and the new MacBook. He detailed a tweak that made this already great (albeit occasionally flaky) feature even better along with a good explanation of the details of the change. He claims it’s more reliable but I haven’t had it long enough to say one way or the other yet but I can tell you, my MBP sleeps and wakes nearly instantly now. The only thing that this tweak takes away from you is the ability to swap out batteries while the machine is in sleep mode. Since I didn’t even imagine I could do that and I’m not really sure I would do that anyway since I don’t have any spare batteries, I didn’t feel like I was giving anything up. I’m duplicating the tweak here for reference purposes and you “lazy” folks who aren’t going to go read the original post:

From the terminal, you should check your current mode using:

pmset -g | grep hibernatemode

Then set you machine to use mode 0:

sudo pmset -a hibernatemode 0

And reboot.
If you’d like to clear out the file where the memory was being written to, you can use this:

sudo rm /var/vm/sleepimage

David O’Hara is a Principal with Improving Enterprises in Dallas, Texas.


MacBook Pro Speaker Freakout…

January 25, 2008

I’ve had this happen twice now and couldn’t find anything about it. While happily working away on my laptop, the speakers made a loud, sudden pop. After that no sound would come out of them – no iTunes, no notifications, nothing. I turn the volume up and down several times with no effect. Mute caused the popping noise though so I knew the speakers weren’t dead just freaked out. On a whim, I plugged in my headphones and mashed the mute button again. Viola! Sound worked fine in the headphones. Upon unplugging them, I now have sound again. Uh…ok.
Not sure if it warrants a trip to the Apple Store (when am I NOT looking for a reason to go there) but since I can’t exactly reproduce the issue I’m guessing I’ll have to wait for a reoccurrence.

David O’Hara is a Senior Consultant with Improving Enterprises in Dallas, Texas.

OS X Keychain Not Saving Passwords…

December 19, 2007

I struggled with this one for about a month before I finally dug into what was wrong and how to fix it. It all started when I reinstalled because I couldn’t get BootCamp installed because of volume fragmentation. Since then, my applications, specifically Mail.app and Adium, weren’t remembering passwords even if I checked the little “remember” box. Being generally new to OS X, it took a little while for me to even figure out where to look but here’s the quick fix.

  1. Open a new Finder window.
  2. Navigate to “~/Library/Keychains” using “Go To Folder…” (Cmd-Shft-G)
  3. Right-click on “login.keychain” and select “Get Info”
  4. Find the “Ownership & Permissions” section and verify the following:
    • Owner: [You]
    • Access: [Read & Write]
    • Group: [You]
    • Access: [Read only]
    • Others: [Read only]

I also made sure that the little lock was switched to the “locked” position to prevent accidental changes. Provided all these settings are correct, your passwords should start saving again.

David O’Hara is a Senior Consultant with Improving Enterprises in Dallas, Texas.  

My Recent Conversion…

August 13, 2007

The black box arrived. I am now officially “Win on Mac”.

I loaded the tools that I knew would make my life easier – Firefox, QuickSilver, Adium, Twitterific, VMWare, TextMate…and they did not disappoint me. A few preference tweaks and settings later and I was off and running.

Let’s talk form – the lines on this laptop are sharp! No obtrusive knobs, bulges, humps or protrusions of any kind. Heck even the lid clasp retracts when not in use. I was initially worried about the keyboard and the key arrangements but I’ve had no issue switching between this keyboard and my Microsoft Natural at work. No re-mapping needed. With a clear and crisp display, ambient light sensor and backlit keyboard, I have yet to find a situation where I’m not able to use it. Granted, I have to air out my thighs after a bit of lap work but I can’t seem to find fault with this hardware otherwise.

For several weeks now I’ve been living in a VM and trying to figure out how to get my whole life on to OSX. Having never been a full time Vista guy, I can’t honestly compare the two (yes, I am considering a few rounds with BootCamp to give this a true test) but I’m hard pressed to imagine what it would give me that I’m currently lacking. I’m not sure what it is about these applications but I’m really enjoying what I’m seeing.