Ubuntu on EnPower ENP611

I recently purchased the most excellent ENP611 by Enpower which is a rebranded laptop sold by PC Club. The reason I purchased it was because it proved to be highly Linux-compatible, and because PC Club has a policy of not charging you for an OS that you don't intend to use. If you happen to live near one, I highly recommend stopping in. Unfortunately, you cannot get the same discount if you order online.

But enough about that. The very first thing I did upon getting this lovely new toy home was to install Ubuntu 5.10 (Breezy Badger). Surprisingly, just about everything works fantastically well out of the box. The only unsupported part is the SD media reader, and suspend and hibernation don't work particularly well out of the box.

Fixing Hibernation

By default, closing the lid causes the display to blank and touching the power button causes the machine to shut down. Having the lid blank the display is quite useful, but having the power button turn the machine off isn't. It makes more sense to have it cause the machine to enter hibernation mode.

Initially, I tried to have the power button cause the laptop to enter ACPI S3 mode (suspend to RAM) but S3 mode causes the laptop to hang upon resume, so the only real way to suspend is mode S4 (suspend to disk). Ubuntu has swsusp set up by default, so there's very little configuration to be done.

In order to make hibernation work, you must edit two files and make them look as follows:

/etc/default/acpi-support
/etc/acpi/events/powerbtn

Presto! Touching the power button should now cause your display to fade, and the laptop to power off. When you power it back on, the kernel should automatically restore your system as it was.

Notes

©2005 Jeramey Crawford <jeramey HOST jeramey DOMSEP com>