Comment 22 for bug 68191

Revision history for this message
Nick Gerner (nick-gerner) wrote :

I'm not sure if this is being tracked elsewhere, but I'm certainly finding that /sys/devices/system/cpu/cpufreq/ondemand/up_threshold (for example) gets reset after resume from sleep.

I'm using sysfsutils and my workaround is to drop a script in /etc/pm/sleep.d/90_sysfsutils:

#!/bin/sh

# Tell grub that resume was successful

case "$1" in
        resume)
        /etc/init.d/sysfsutils restart
                ;;
esac

I'm not sure if that's ideal, but it seems to get the job done.