HP compaq nw8000 and Software Suspend2

OK, linux nerd alert again. I spent some time fiddling around with the various tricks needed to get hibernation and suspending working on my laptop with FC5. Keep reading to find out what I did. If you’re interested, that is.

As the instructions on Matthias Hensler’s site state, I used yum and the repository available at ATRPMS. ATRPMS also provided the needed madwifi kernel modules to work with the new kernel with Suspend2 support. You should read through the instructions on Matthias Hensler’s site to get a good idea of what you need before proceeding.

I use the Livna RPM packages for my ATI display driver. These packages don’t automatically come for the customized kernel, so they need to be rebuilt. While Livna provides good instructions on how to do this, some tweaking was needed:

  1. Follow the instructions provided until you’ve downloaded the source RPM into your build area.
  2. If you didn’t download and install them already, now is the time to install the kernel devel packages for the normal, smp, and kdump variants for the new Suspend2 enabled kernel you installed.
  3. Now open ~/rpmbuild/SPECS/fglrx-kmod.spec. Go to line 7 and replace the kernel version string with the kernel version string of the Suspend2 enabled kernel (e.g. 2.6.16-1.2122_FC5 with 2.6.16-1.2122_2.rhfc5.cubbi_suspend2).
  4. Now keep following the Livna instructions.

Now you should have the Suspend2 enabled kernel and all necessary modules installed. I downloaded and used the configuration files from Assen Tchorbadjiev. I did make some changes though, the most important being I commented out line 125 in hibernate.conf and line 62 in ram.conf because they’re IBM specific.

Since I don’t use the NetworkManager to automate network detection and such, after a suspend I need to manually restart the network. Other than that everything seems to work fine.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.