Hello Bart,

Since I originally posted this bug report other users have emailed me
with the same problem seeking help in resolving it, and I have created
working solution for my system.

I specify the problem as LTM settings not correctly being restored after
a resume from hibernate or suspend, if the user is using the pmutils
package.

The solution was to create a file called 66LTM (attached) in
/etc/pm/sleep.d/ and apply chmod +x to it.
This file explicitly requires pmutils to restart LTM on resume from S3
or S4, and now LTM and pmtuils work together perfectly on my system.

Janne Casserstedt worked with me on this problem and although I think he
may be using Ubuntu, he has the same issue and hope that he can confirm
that this fixes the problem on his machine too.

Please accept my findings for consideration for incorporation into LTM.

-- 
Regards,
Sheridan Hutchinson
[EMAIL PROTECTED]
#!/bin/bash
case $1 in
    hibernate)
        echo "Hey guy, we are going to suspend to disk!"
        ;;
    suspend)
        echo "Oh, this time we're doing a suspend to RAM. Cool!"
        ;;
    thaw)
        invoke-rc.d laptop-mode restart
        echo "oh, suspend to disk is over, we are resuming..."
        ;;
    resume)
        invoke-rc.d laptop-mode restart
        echo "hey, the suspend to RAM seems to be over..."
        ;;
    *)  echo "somebody is calling me totally wrong."
        ;;
esac

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to