Skip to content

Option for custom CPU Fan curve #208

Discussion options

You must be logged in to vote

Now I made a custom shell script like this (named FanControl.sh):

#!/bin/bash
CpuTemp=$(/usr/local/bin/iStats cpu temp --value-only | rev | cut -c 7- | rev)
if ((CpuTemp >= 0 && CpuTemp <= 60)); then
/usr/local/bin/ioio -s ThinkVPC FanSpeed 0
elif ((CpuTemp >= 60 && CpuTemp <= 65)); then
/usr/local/bin/ioio -s ThinkVPC FanSpeed 1
elif ((CpuTemp >= 65 && CpuTemp <= 70)); then
/usr/local/bin/ioio -s ThinkVPC FanSpeed 2
elif ((CpuTemp >= 70 && CpuTemp <= 80)); then
/usr/local/bin/ioio -s ThinkVPC FanSpeed 3
elif ((CpuTemp >= 80 && CpuTemp <= 85)); then
/usr/local/bin/ioio -s ThinkVPC FanSpeed 5
elif ((CpuTemp >= 85 && CpuTemp <= 100)); then
/usr/local/bin/ioio -s ThinkVPC FanSpeed 7
fi

With…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@flo-at-work
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by flo-at-work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant