Sleep, DataHow to enable sleep on your HP Mini hackintosh netbook

Share |

This is a postscript to my series on why & how to Mac-ify a PC netbook.

After following the initial (relatively easy) version of the Mac OS install using NetbookBootMaker, I saw that My HP Mac Mini had solved the (brutal!) sleep problem that made my mini freeze whenever I shut the lid, and forced me to shut it down each and every time. But the sleep solution seemed to involve a complete re-install, which was a daunting prospect, especially after all the work I'd gone through to migrate my existing Mac's settings.

Happyily, Mike (drfyzziks) came to the rescue once again. He came up with a relatively easy method for fixing my existing install (as documented here) so HP Mini now sleeps!! Sleep works both by selecting "sleep" from the Apple menu, and just by shutting the lid on the netbook.

Here's what it took to get sleep working on the HP Mini 1000 (instructions are specific to the Mini):

Note: you'll need to be logged in to a user account on your computer that has admin permissions, and you'll need to know your password, to do this process.

  1. Download SnowLeo_EFIboot package ( and unzip.
  2. Create a folder in your root directory (i.e. the top-level folder on your hard drive, NOT your user directory) called TEMPKEXTS.
  3. Go into SnowLeo_EFIboot folder (the one you unzipped in step 1) and copy or move the following files into your TEMPKEXTS  folder.
    Note: you may be prompted for your password to authenticate the copy or move process at various points...just enter it whenever prompted during this process.
    • from the DSDT folder: dsdt.aml
    • from the ClamShellDisplay folder: ClamshellDisplay.kext (this is what lets the computer sleep just by closing the lid)
    • from the HPMiniKexts folder, ALL files that end in ".kext" (try sorting the folder by file type)
    • from the OtherKexts folder, all files that begin in "Voodoo" and end in ".kext"

Next you need to open Terminal, and use the (brace for it) command line to get all those new extensions in the right place.

  1. Launch Terminal (in your Applications folder).
  2. In terminal, navigate to the root directory by typing "cd .." at the prompt, and hitting return.
    Note: You'll probably have to do this twice until you get to the root directory. My root directory is MacMini, so I know I'm in the root directory when the prompt says MacMini:/ alex$  [alex is my account name on the system]
  3. Type "ls" at the prompt. You'll get a list of files and folders in your root directory; you should see TEMPKEXTS in there and also the Extra folder created by your Mac OS NetbookBookMaker process.
  4. Change to the TEMPKEXTS directory by typing "cd TEMPKEXTS".
  5. Type the following at the command line: sudo cp -R dsdt.aml /Extra (this copies the dsdt file to the /Extra folder)
  6. You'll be prompted for your password; just enter it (the password for the admin-level user account you're using) and press return.
  7. Type the following at the command line:   sudo cp -R *.kext /Extra/GeneralExtensions  (this copies all the kext files in your TEMPKEXTS folder to the /Extra/GeneralExtensions folder)
  8. You'll be prompted for your password; just enter it (the password for the admin-level user account you're using) and press return.

Now you need to deactivate a couple of extensions that won't like the kexts you just moved into the General Extensions folder. So, still in Terminal, type the following:

  1. cd .. (this gets you back to your root directory)
  2. cd /Extra (this changes you to the Extra directory)
  3. sudo mkdir disabled (this creates a new directory [aka folder] by the name of "disabled")
  4. cd GeneralExtensions (this changes you to the General Extensions directory)
  5. sudo mv ApplePS2Controller.kext ../disabled (this moves this particular kext file to the disabled folder)
  6. sudo mv AppleACPIPS2Nub.kext ../disabled (ditto)

Finally, you need to update your extensions with kext (settings) files you just installed. So...

  1. Switch to the Extra folder by typing "cd .." and then "cd Extra".
  2. Type "ls" at the prompt. You should see a file listed called
  3. Type "sudo open". You'll be prompted for your password again, so enter it and press return.
  4. The Update Extensions application will launch, and you'll see a single window with a button that says "Update Extensions". Click the button.
  5. Now wait...a while! Probably about five or ten minutes. You may see a spinning beachball (or not) but you will see that the Update Extenions button is shaded a darker grey. You'll know the process is complete once the Update Extensions button de-shaded and becomes the same grey as the rest of the window.
  6. Reboot.

Once you reboot, you'll want to check that everything works right by trying to make your computer go to sleep. Choose "sleep" from the Apple menu: your computer should obviously and definitively go to sleep. Give it a few seconds, then try waking it by hitting any key. Once you've confirmed that sleep works fine, and that your computer wakes without freezing, try making it sleep by simply closing the lid. Again, give it a few seconds to truly fall asleep, then reopen to confirm that it wakes without freezing.

In my case it's now sleeping and waking flawlessly. Yay, Mike! Yay, Maurien! Yay, hackintosh!

A few notes:

  1. The "sudo" part of the Terminal commands above is a way of overriding your computer's current rules about what you do and don't have permission to do. Those rules are there for a good reason: to keep you from doing anything that could bust your computer or compromise your security. So parroting a sudo command that someone else (like me) is telling you to type is the electronic equivalent of saying, "hey Alex, I really trust you and your awesome guide to hackintoshing my netbook!". Wouldn't this be a lovely moment to just tweet that message to me directly?
  2. This whole operation may or may not work on your particular netbook. Even if you have my exact netbook (HP Mini 1000, model 1035NR) the world of hackintoshes, to say nothing of computer manufacturing, is kinda quirky, so who the heck knows what might be different about your setup. Follow these instructions at your own risk, and only if you've got the kind of leeway and troubleshooting capacity I outlined in my when to hackintosh post.
  3. If it all works out for you the way it worked for me, you'll still have a couple of quirks. For one, you won't have any hardware-based volume control: yes, you'll have sound, but the only way to turn it up or down will be in an individual application (e.g. iTunes) that you're using to listen to something. For another, if you try to type a tilde (like this: ~) it'll come out very funky-looking. The tilde thing is probably only an issue for people who make regular use of Terminal, so if that's you, let me know and I'll ask the lovely Mike for his fix.

And btw, anyone who gets this post's title reference gets my honorary "OMG you're a massive geek!" tweet of the day.


Rob Cottingham says

October 13, 2009 - 10:45am

I think it's the best... blog post title...ever.

Tris Hussey says

October 13, 2009 - 12:34pm

Well it's gotta be a STNG reference, which episode, that I don't know. Since I know Data didn't have to "sleep" per se, but was shut off several times.

I'm having sleep issues as well with my Eee PC 901. I tried the first fix with no luck. I'll look around and report back if people wish.

You know this might break the EULA to do this, but I think it shows the versatility of OS X. I'm running it off a 16 GB SD card for Pete's sake! With only 1GB of RAM! It might not win any speed show downs, but I'm trimming it down and getting acceptable results for light writing.

Rob Cottingham says

October 13, 2009 - 4:18pm

I'm biased, of course, but the more I think about it, the more I love Alex's title... because the whole idea of Macifying a netbook is to get the best of both worlds. :)

Mike says

October 13, 2009 - 7:04pm

"But if I may make a supposition, I do not believe his message was intended to express fatigue...but to suggest a course of action."

Got it even before Rob & Tris' posts. I guess I'm a hopeless geek huh?

Alexandra Samuel says

October 13, 2009 - 8:53pm

Well, Rob had the inside track by virtue of this being one of our favorite household lines.

And Mike had the inside track by being, as he notes, a hopeless geek.

I think my next blog post will have to be "We are Hugh", in which I discuss how a single social media project introduces a liberating and transforming meme into a monolithic and oppressive organization.

nach088 says

October 18, 2009 - 5:09pm

Im having one problem on my hp 1030nr.

everytime i do all of the steps, i restart and i can no longer use my keyboard or mouse. I've done this twice, both times i've had to completely wipe my HD and reinstall snoLeo. I think it has something to do with this step:

sudo mv ApplePS2Controller.kext ../disabled (this moves this particular kext file to the disabled folder)


Maybe not? Any sugguestions? If i do not do that step, will the sleep function work with the keyboard and mouse still intact?


thanks for any help.

Frank says

October 21, 2009 - 2:54pm

Thanks for the article. Helped me a ton. The tilde thing is important for switching between windows in individual applications. Any way that could be fixed?

Mitch says

October 25, 2009 - 11:03am


Ok... so it is a bad idea to skip steps here isn't it?

I skipped everything from:

"ow you need to deactivate a couple of extensions that won't like the kexts you just moved into the General Extensions folder. So, still in Terminal, type the following:"


"Finally, you need to update your extensions with kext (settings) files you just installed. So..."

What I got was a computer that booted up and then I couldn't do anything with it...  programs auto-loaded and things were happening... I just couldn't do anything with mouse or keyboard.  The did work (sort of) once I plugged in an external.  But as soon as I start typing the computer pretends I'm holding down the '7' button...  this makes doing anything in terminal to hopefully fix the problem... a mite difficult.  Fortunately I still have my drive handy that I used to originally mac-ify my mini (since I just did it a little earlier in the evening)

My hope is that I can go back and copy all those original .ktexts back and start over with making the sleep work...  I'll let you all know how that goes.



Bob says

October 29, 2009 - 2:47pm

The tilde issue is driving me insane.  Unable to switch windows in an application and unable to do a 'cd ~' or 'cp ~' is is maddening!!!!

help... please?


Mike says

October 31, 2009 - 12:59am


You'll want to look at the following:,137.0.html

About 1/2 way down the page is "Reply #9 by wingrunr21. There is a patched VoodooPS2Controller.kext file attached to that reply which will correct the tilde problem and also remaps the Windows key to become the Command/Apple key.

Dump the new .kext into your /Extra/GeneralExtensions folder (replace the old VoodooPS2Controller.kext file if it's there), run the, and reboot.



Mike says

October 30, 2009 - 11:04am

Hi Bob,

I will try to remember how I fixed the tilde issue - it wasn't a huge problem to get around / a fairly quick fix. I'll post here again once I dig thru my notes.


Anonymous says

November 17, 2009 - 9:17am

Worked absolutely flawlessly!


Thank You ever so much for this easy to follow and super useful DIY!



Rumplestilzken says

December 3, 2009 - 2:48pm

this put my HP mini 311-1000NR into a neverending boot. :(

Anonymous says

February 18, 2010 - 12:50am

Try putting your efi boot disk in again

in utilities look for efi boot run it that should get you going again at least it did for me.

iona says

December 13, 2009 - 7:59pm

anyone try this on hp 2140? i've got everything but sleep.

ARK Reepon says

June 26, 2010 - 4:23am

Could You please inform me how you fixed the internal mic on HP 2140. I hv install 10.5.6 mac osx, all works but Ethernet Card and internal mic doesnot work at all.

Waiting for your detail reply.

Dylan Luke says

May 4, 2010 - 10:36pm

I can't seem to get this to work. Ive got a Hp Mini 1000 running snow leopard. I used NetbookBootMaker to create the bootable usb, and then went from there. The only two things that don't work are my internal mic and the sleep function. I am not too worried about the internal mic problem. That I will figure out at a later date. The sleep function on the other hand is crucial. Can anyone give me any advice or a link to somewhere that will get sleep working on a snow leopard hackintosh?

arajara says

May 15, 2010 - 8:32am

Will this work in 10.5.8?


Anonymous says

July 11, 2010 - 12:57pm

"Sleep, Data" is the message from Locutus of Borg (Picard) to Data about how to shut down the Borg ship. Yes, a briiliant blog post title matched only by the beauty of the post itself. Which worked miraculous wonders for my HP Mini Hackintosh.Thank you very much. May you live long and prosper.

Anonymous says

July 15, 2010 - 10:15am

I followed everything to the T and, when I finally did it all and rebooted, my HP mini wouldnt reboot at all. It would stay frozen at the White blank screen with the apple logo.

Drew says

August 2, 2010 - 12:15pm

I'm still curious if anyone tried this on a HP Mini 2140, and the result. I spent countless hours trying to that 2140 to sleep once I put Snow Leopard on it (including rolling my own DSDT hacks), but finally gave up and restored it to XP.

I'm almost ready to give it another try, because I am a glutton for punishment, and maybe someone has made progress.

ximo says

January 7, 2011 - 3:15am

Did you know about rudix packages for mac ? And about Mucommander ? In rudix you can find mc for working in terminal or you can use Mucommander to navigate among files and folders and create or erase them,etc :)


Not bad your post but maybe needs to be more general the brands are only brands but SL works easily in a lot of netbooks be of 32 or 64 bits

Social Signal on...

RSS feedTwitterFacebookGoogle+

Work Smarter with Evernote

Get more out of Evernote with Alexandra Samuel's great new ebook, the first in the Harvard Business Press Work Smarter with Social Media series!

Available on Amazon, iTunes and HBR.

Join Newsletter

Alex on Twitter