For now I use the following workaround to set the APM values after
resuming from Suspend-To-RAM. I created
/etc/pm/sleep.d/99_load_cycle_count_fix and made it executable and the
inserted the following script:

#!/bin/bash
case "$1" in
        hibernate|suspend)
                echo "nothing to do"
                ;;
        thaw|resume)
                hdparm -B 254 /dev/sda
                ;;
        *)
                echo "no parameter given"
                ;;
esac

-- 
[Lucid] hdparm.conf change doesn't have effect
https://bugs.launchpad.net/bugs/568120
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to