Package: pm-utils
Version: 1.1.0-1
Severity: normal

Hi there,

Currently, laptop mode tools will stop working over suspend. pm-utils
should (like acpi-support) include a script to restart laptop mode tools
on resume. Among other things, this is because hard drives lose their
power management settings over suspend. I propose putting the following
script in /usr/lib/pm-utils/sleep.d:

#!/bin/sh
#
# 99laptop-mode: Reload laptop mode

case "$1" in
        hibernate|suspend)
                ;;
        thaw|resume)
                if [ -e /etc/init.d/laptop-mode ] ; then
                        invoke-rc.d laptop-mode restart
                fi
                ;;
        *) exit $NA
                ;;
esac

See also bug #473055.

Regards,
Bart Samwel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to