![]() |
Tool to Control Fan - fanctl - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98) +--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101) +--- Thread: Tool to Control Fan - fanctl (/showthread.php?tid=6489) |
RE: Tool to Control Fan - fanctl - dreadbv - 11-11-2018 Just after I posted the reply with gcc version , I tried to build again and it worked, status active ! ![]() Now I will try to get the temp a bit up to see if the fan is starting. I want to mention that I don't have a fan on rockpro64 directly(only a heatsink) , It's the NAS case fan that I try to make it work, but I guess your program is good for that too right? Thank you !! RE: Tool to Control Fan - fanctl - tuxd3v - 11-11-2018 (11-10-2018, 11:39 PM)Girbur Wrote: Oh yes 2 question I had You can forget '/sys/class/hwmon/hwmon0/pwm1', Ats controls it, you can change it manually, and ATS will adjust it internally again. ![]() With Relation to new Kernels, indeed, there are at least 2 facilities, without Active cooling.
Newer kernels have been put some work on the active cooling, for use of the fan. In this situation I don't know if it is advisable to have ATS running, maybe they fight against each other.. But better to check, make your tests, with and without ATS. RE: Tool to Control Fan - fanctl - tuxd3v - 11-11-2018 (11-11-2018, 02:10 AM)dreadbv Wrote: Just after I posted the reply with gcc version , I tried to build again and it worked, status active ! You have a older gcc version, the 6.3, the problem was what I expected ![]() I advise you to upgrade to 7.3 version( it has better support for ARM processors ): If you want to maintain gcc-6.3 for some reason, you can use 'alternatives'. First check if gcc is already registered in alternatives, if not, you can always do: Code: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6.3 50 --slave /usr/bin/g++ g++ /usr/bin/g++-6.3 In this way gcc.7.3 will have a highest priority( 100 ) than gcc-6.3( 50 ) to remove a option, lets say gcc-7.3: Code: update-alternatives --remove gcc /usr/bin/gcc-7.3 to change order, just: Code: update-alternatives --config gcc You may need to adapt timers, to better fit your fan specs.. Also you need to look, into current consumption, of the fan, the transistor that drives the pwm for the Fan, has a absolute maximum continuous current of 500 miliAmps. But this is a maximum, we should operate bellow. Usually fans conected there, are around 100 miliAmps, What is the power and current of the Fan you have? RE: Tool to Control Fan - fanctl - dreadbv - 11-12-2018 Hey Tuxd3v, thank you for your reply, I have no idea what you wrote, I'm a noob at linux I have the stock NAS fan that they sell on pine64 store and I just got my package last week. I have this version of openmediavault installed Stretch armhf [microSD / eMMC Boot] [0.7.9] from http://wiki.pine64.org/index.php/ROCKPro64_Software_Release , because this is what folks on pine64 discord channel recommended to use for my needs, a plex media server that can stream 4K among full HD movies and tv series. I wanted to install you FAN control software because I only have a heatsink on the board and it gets a bit hot on 4k , and was not working by default with this linux release. I did use a raspberry pi 3 model B before with debian stretch installed and managed to install plex and a web server with the help of "google" ![]() ![]() On raspberry was easy, just apt-get update, upgrade , dist-upgrade and was set ![]() RE: Tool to Control Fan - fanctl - tuxd3v - 11-12-2018 (11-12-2018, 01:57 PM)dreadbv Wrote: Hey Tuxd3v, thank you for your reply, I have no idea what you wrote, I'm a noob at linux Ok No problem, In that situation you should mantain gcc-6.3, and ATS compiles with it already, so no problem.. ![]() You can use the pine64 Nas case fan with ATS, I think there will be no problems, but you should have a heatsink above the CPU(without fan..). But please reinstall it again( I added a new profile less aggressive for the size of the fan ) with: After installation, please:
![]() RE: Tool to Control Fan - fanctl - dreadbv - 11-13-2018 I followed your instructions and everything is ok Service is active and running Thank you RE: Tool to Control Fan - fanctl - Girbur - 11-13-2018 With openmediavault 32 bits works perfect bu I just tried to install on 64 bit and get Error: Could not find header file for LAUXLIB No file lauxlib.h in /usr/local/include No file lauxlib.h in /usr/include You may have to install LAUXLIB in your system and/or pass LAUXLIB_DIR or LAUXLIB_INCDIR to the luarocks command. Example: luarocks install ats LAUXLIB_DIR=/usr/local RE: Tool to Control Fan - fanctl - stFfn - 11-13-2018 Hello, i´ve just gotten my RockPro64 + the Nascase... and i´ve also notived that the fan does not spin up.... im a linux noob and somehow im not able to install your fan controll programm... im connected to the RockPro64 with SSH as Root. and when i try to install ist, i geht these error messages... Code: root@rockpro64Nas:~# luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-master-0.rockspec Greetings Steffen RE: Tool to Control Fan - fanctl - romtorwator - 11-13-2018 (11-13-2018, 03:26 PM)stFfn Wrote: the HDD´s getting to 60°C For a fan on the chassis, install a thermostat eg KSD9700-60-NO, in the fan circuit, when the fan is powered by +12V, on datasheet KSD9700-60-NO, he close the contact at +60°С, will open at a temperature of +35°С, or KSD9700-55-NO - close +55°С, open +30°С in reality (burst tolerance), these thermostats is better to choose, KSD9700-40-NO in reality it close 41.8°С, open 36.1°С they have a hysteresis of about 5 degrees I personally used a programmable thermostat based on DS1821 RE: Tool to Control Fan - fanctl - tuxd3v - 11-13-2018 (11-13-2018, 11:30 AM)Girbur Wrote: With openmediavault 32 bits works perfect bu I just tried to install on 64 bit and get Does you tried first step? Code: luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-master-0.rockspec What is the output of it? (11-13-2018, 09:47 AM)dreadbv Wrote: I followed your instructions and everything is ok You Welcome! ![]() |