Fan speed controlled by CPU temp script - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Rock64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=89) +--- Thread: Fan speed controlled by CPU temp script (/showthread.php?tid=5374) |
Fan speed controlled by CPU temp script - mikedhoore - 11-18-2017 Hi, I wrote a script to control my fan. The fan speed is controlled by the temp of the CPU. I'm pretty new to bash so I'm hoping for some feedback and off course is everybody free to use the script how they like. Code: #!/bin/bash Thx in advance RE: Fan speed controlled by CPU temp script - va88 - 12-22-2018 Hey there, how is this script holding up today? Has anyone been using it? RE: Fan speed controlled by CPU temp script - va88 - 01-14-2019 Can't get it to work: ./fantemp.sh: line 10: /sys/class/gpio/gpio82/value: No such file or directory ./fantemp.sh: line 12: /sys/class/gpio/gpio82/value: No such file or directory I have these gpio's: rock64@rock64:/sys/class/gpio$ ls export gpiochip0 gpiochip32 gpiochip510 gpiochip64 gpiochip96 unexport |