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.
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
/etc/init. d/sysfsutils restart
resume)
;;
esac
I'm not sure if that's ideal, but it seems to get the job done.