Xiang Liu
2013-11-18 03:45:58 UTC
hello everyone,
I have found that the terrible noise of my cpu fan. It works well until after suspending. (sleep by xfce-power-manager or press the sleep button)
I examined and compared the values of /sys/devices/virtual/thermal/cooling_device{3,4,5,6,7}/cur_state, and found their values are changed after resuming from suspend.
so I wrote a simple script and hoped it to be run after each suspend.
=========
for i in /sys/devices/virtual/thermal/cooling_device{3,4,5,6,7}/cur_state; do echo $i ; echo 0> $i; done=========
But I wonder how can i trigger it after resuming in xfce environment.
thanks.
I have found that the terrible noise of my cpu fan. It works well until after suspending. (sleep by xfce-power-manager or press the sleep button)
I examined and compared the values of /sys/devices/virtual/thermal/cooling_device{3,4,5,6,7}/cur_state, and found their values are changed after resuming from suspend.
so I wrote a simple script and hoped it to be run after each suspend.
=========
for i in /sys/devices/virtual/thermal/cooling_device{3,4,5,6,7}/cur_state; do echo $i ; echo 0> $i; done=========
But I wonder how can i trigger it after resuming in xfce environment.
thanks.