Pirnat.com

On second thought, let’s not go to Camelot; it is a silly place

Pirnat.com header image 2

Hibernating Penguins

November 7th, 2005 by Mike
Gravatar

Partly because I don’t want to lose these links, and partly because David Stanek wanted some advice on getting his Gentoo boxen to hibernate… Here are the two most useful links that I came across, which got me working without any troubles:

Most important for me with my ThinkPad’s clock drift issues was to make sure to set SaveClock yes. This means I don’t have to use rdate or ntp to fix the time after reawakening, which is problematic if there’s no Internet access handy at the time.

Since my ThinkPad doesn’t support ACPI, I whipped up a simple script to use APM to monitor my battery charge and automatically hibernate once the charge drops below a given threshold. On my laptop, I put it in /usr/local/bin/autohibernate.py and added it to my /etc/conf.d/local.start so that it automatically kicks off as soon as I boot up.

So, there you go, Dave! Hope that helps!

Tags: geekery  gentoo  links  linuxLeave a CommentPrint This Post

Leave A Comment

0 responses so far ↓

  • There are no comments yet... Kick things off by filling out the form below.