You are not logged in.
#!/bin/bash
if [ $# -gt 0 ]
then
#path may be other in other kernels, mine is kernel-netbook, so check it and correct, otherwise it won't work!
echo>/sys/class/hwmon/hwmon3/pwm1_enable "1"
echo>/sys/class/hwmon/hwmon3/pwm1 $1
echo "Manual speed control"
fi
if [ $# -eq 0 ]
then
echo>/sys/class/hwmon/hwmon3/pwm1_enable "2"
echo "Automatic speed control"
fi
#Usage:
#w/o parameter -> set automatic controll
#parameter from range 0 - 255 -> manual speed control
#for example:
#./fan 125
#runs fan at 50%
Offline
Thank you Sir!
Offline
Hi, pm-suspend worked nicely until kernel upgrade to 3.2.1. After upgrade when i try pm-suspend it tryes to suspend but it wakes immediatelly with cooling turned off... any suggestions?
:wq
Offline