CRUX : Home

Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About

Back to wiki start page

Categories: General


pm-utils are a set of power-management scripts for linux.


Since version 1.3.x, pm-utils has its own video-quirk database that does not rely on HAL. To install pm-utils, use the port from the contrib collection:

# ports -u contrib
# prt-get install pm-utils


At this point, suspend-to-ram should work as is. To test, try calling:

# pm-suspend

Some hardware modules can cause issues when suspending. To unload these modules, create a file named "default" in /etc/pm/config.d:

SUSPEND_MODULES="button uhci_hcd ehci_hcd iwl3945"

Additional Configuration

When pm-utils are called, hooks are called from "/usr/lib/pm-utils/sleep.d" . Additional, user-created hooks can be placed in " /etc/pm/sleep.d ". These hooks will take precedence over those in /usr/lib/pm-utils/sleep.d. For example:

case $1 in
        /etc/rc.d/wifi stop
        /etc/rc.d/wifi start
    *)  echo "something is broken."

Place these commands as "66dummy" (or similar). To allow this file to run during suspend:

# chmod +x /etc/pm/sleep.d/66dummy

To suspend to disk, you must append the swap partition in lilo.conf:

append = "resume=/dev/sda1"

For troubleshooting, log files should be available in /var/log.

If a hook is causing issues, create an empty equivalent in /etc/pm/sleep.d/ :

# touch /etc/pm/sleep.d/55NetworkManager

For additional information, view the opensuse wiki, available at: