Metauser

How deep does the rabbit hole go?

Aim for success, not perfection. Never give up your right to be wrong, because then you will lose the ability to learn new things and move forward with your life. -- Dr. David M. Burns

Home Photos

April 13, 2008

Hibernate on Lenovo 3000 n100

mitch @ 8:42 am on April 13, 2008

I’ve been shutting down and booting my laptop since the day I got it, and to be honest, the one thing I like the most about the mac is its ability to hibernate, and just “be there” when you want to use it, otherwise you can shut the lid and leave it for hours or days without plugging it in.

Well, I was up at 3:30 this morning not able to sleep and I thought about it, as I had immediately grabbed the macbook instead of my Lenovo 3000 n100. Even when I was getting up to read more of the online version of the Django book, I knew I wouldn’t be doing any actual testing or playing with any django code, unless I installed it on this web server and “tested” it from here. The reason I find it interesting is because I’ve yet to like to do any form of coding on the Mac, other than the couple times I’ve played with the new iPhone development tools in XCode. So, I ask myself… why?

I find the reason is simply that it was more convenient, I could take the MBP and open it up, launch firefox (3 beta 5 - its awesome!) and be reading in 10-15 seconds. Instead of having to wait for my lenovo to boot.

after I had read a couple pages worth of django, it made me curious, because I haven’t looked for any information about hibernate for my laptop for a long time. Everything else works (well, that I use anyway, I’ve yet to test the modem, and I don’t much care about the finger print scanner.. that will probably be my next quest or possibly fixing the stupid alsa drivers for the sound)

And sure enough, I found an Ubuntu wiki post about my specific laptop, and to get hibernate working all I had to change was add one line to my grub config and reboot. Heres what I changed:

from the file /boot/grub/menu.lst
# defoptions=quiet splash
to this:
# defoptions=quiet splash locale=en_US i8042.reset

sudo grub-update

and reboot.

apparently the part that makes it work is the i8042.reset line, not sure what the locale has to do with it, but the poster on the ubuntu wiki had his locale set as well, so I figured it couldn’t hurt.

Sure enough it works and I updated my power setting to start putting my laptop in hibernate mode when I shut the lid.

On that page, it also has the information about fixing the alsa drivers, as well as the much annoying touchpad while typing fixes, which I’ve also applied. I’ve yet to experience any issues with random grazes of the touchpad like I used to when I was typing, so I believe it has worked, but it rarely happened at home and was usually while I was at work for some reason so we’ll see on that one.

Linux· Technology· Ubuntu

Leave a Reply