- Home
- Blogs
- Alexandra Samuel's blog
- How to enable sleep on your HP Mini hackintosh netbook
Sleep, DataHow to enable sleep on your HP Mini hackintosh netbook
- 12 October, 2009
- 22 comments
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 that...my 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.
- Download SnowLeo_EFIboot package (http://www.mediafire.com/?crwqzmnmnnn) and unzip.
- Create a folder in your root directory (i.e. the top-level folder on your hard drive, NOT your user directory) called TEMPKEXTS.
- 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.
- Launch Terminal (in your Applications folder).
- 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] - 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.
- Change to the TEMPKEXTS directory by typing "cd TEMPKEXTS".
- Type the following at the command line: sudo cp -R dsdt.aml /Extra (this copies the dsdt file to the /Extra folder)
- You'll be prompted for your password; just enter it (the password for the admin-level user account you're using) and press return.
- 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)
- 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:
- cd .. (this gets you back to your root directory)
- cd /Extra (this changes you to the Extra directory)
- sudo mkdir disabled (this creates a new directory [aka folder] by the name of "disabled")
- cd GeneralExtensions (this changes you to the General Extensions directory)
- sudo mv ApplePS2Controller.kext ../disabled (this moves this particular kext file to the disabled folder)
- sudo mv AppleACPIPS2Nub.kext ../disabled (ditto)
Finally, you need to update your extensions with kext (settings) files you just installed. So...
- Switch to the Extra folder by typing "cd .." and then "cd Extra".
- Type "ls" at the prompt. You should see a file listed called UpdateExtra.app.
- Type "sudo open UpdateExtra.app". You'll be prompted for your password again, so enter it and press return.
- The Update Extensions application will launch, and you'll see a single window with a button that says "Update Extensions". Click the button.
- 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.
- 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:
- 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?
- 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.
- 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.
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!
Comments
Rob Cottingham says
I think it's the best... blog post title...ever.
Tris Hussey says
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
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
"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
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
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
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
Sigh...
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:"
to
"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.
--Mitch
Bob says
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
Bob,
You'll want to look at the following:
http://forum.voodooprojects.org/index.php/topic,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 UpdateExtra.app, and reboot.
Mike says
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
Worked absolutely flawlessly!
Thank You ever so much for this easy to follow and super useful DIY!
Cheers
Rumplestilzken says
this put my HP mini 311-1000NR into a neverending boot. :(
Anonymous says
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
anyone try this on hp 2140? i've got everything but sleep.
ARK Reepon says
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
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
Will this work in 10.5.8?
Thanks
Anonymous says
"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
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
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
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 :)
P.D.
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