![]() |
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 - stFfn - 11-21-2018 (11-21-2018, 05:18 PM)tuxd3v Wrote:(11-21-2018, 01:32 PM)stFfn Wrote: p.s. i think i found it my selfe after i wrote this post ahm.. ok ![]() so what would you change? please give me the numbers.. im not as good with these calculations ![]() RE: Tool to Control Fan - fanctl - tuxd3v - 11-21-2018 (11-21-2018, 05:28 PM)stFfn Wrote: ahm.. ok heheh, You changed the 'MAX_FAN_PWM' to 150, so it will max out at 150, its the beginning.. ![]() For the fan to run continuously, without stop, Maybe the best would be to just comment the stop code( with "--" before it like you see below ), at almost the end of file: Code: -- Sleeping with Fan OFF, until next cicle The fan will not stop in this way.. and you can lower the 'MAX_FAN_PWM' even more..it you want.. But in my opinion you should not touch 'MIN_FAN_PWM', because its the minimum..bellow that, the fan can stop depending of fan type.. It varies a lot.. For example: in a fan 10mm, this value would be around 30-35 has minimum.. in a 20 mm fan, it would be at least between 35-40 I don't know the value for the NAS Fan case..., but 40 seems nice to me has minimum... Because of that I used 40 for all, which is not so above 30, and more fans could be running with it.. Right now you are with a Function like this: ![]() So with a max temp of 60C, you will get 150 PWM. RE: Tool to Control Fan - fanctl - Drago - 11-21-2018 (11-21-2018, 10:39 AM)tuxd3v Wrote:(11-20-2018, 09:19 PM)Drago Wrote: The fan is kind of loud actually, any advice on damping the sound? Thanks, switching to "profile3" made a significant improvement. As far as my fan, I'm using the 80mm fan from the pine64 website. I believe its rated 12V, 0.1 A. RE: Tool to Control Fan - fanctl - tuxd3v - 11-22-2018 Well the master branch, its now v0.1.8. In this process, I forgot to update, the string version that will show as v0.1.7, when you do: Code: ats -v ![]() I am sorry for that.. Hope you enjoy it.. RE: Tool to Control Fan - fanctl - tuxd3v - 12-06-2018 Hello, The next release will have lua as frontend, and the functionality is in the C backend. Is is not yet optimised, but I noticed some speed gains, from ~17us per CPU second Time( or 0.0017% CPU ), to now ~12.28us per CPU second Time( or 0.001228% CPU ). Also there are a '/etc/ats.conf' config file were you can adjust things easier,for your fan, Without scroll lots of code, and understand it.. Its in master branch now, and its in tests, But it seems to be stable... It would be nice to have some feed back from you, so that any bug cold be sorted out. ![]() Regards, RE: Tool to Control Fan - fanctl - tuxd3v - 12-12-2018 I promised a Tutorial about ATS, The Tutorial is about the version in master branch that will become in time 0.2.0. It's here Regards, RE: Tool to Control Fan - fanctl - stFfn - 12-21-2018 Hey i had to Reinstall the whole system and now im getting this message when i try to install the tool. Error: Could not satisfy dependency lua >= 5.3: No results matching query were found. plz help ![]() RE: Tool to Control Fan - fanctl - tuxd3v - 12-22-2018 (12-21-2018, 06:16 PM)stFfn Wrote: Hey i had to Reinstall the whole system and now im getting this message when i try to install the tool. Hello, Does you installed the dependencies and create the symbolic link? What OS are you using? Regards RE: Tool to Control Fan - fanctl - stFfn - 12-22-2018 (12-22-2018, 06:36 AM)tuxd3v Wrote:(12-21-2018, 06:16 PM)stFfn Wrote: Hey i had to Reinstall the whole system and now im getting this message when i try to install the tool. I Use stretch-openmediavault-rockpro64-0.7.9-1067-armhf last time i used the arm64 version and not the HF version and i didnt have this issue... ![]() RE: Tool to Control Fan - fanctl - tuxd3v - 12-22-2018 (12-22-2018, 01:58 PM)stFfn Wrote: I Use stretch-openmediavault-rockpro64-0.7.9-1067-armhf It seems that you are in a 32 bits OS...maybe that is the problem.. Because ATS is compiled for armv8 64bits. What I don't understand is the complai about Lua Version, it should give another error, with a 32 bits lua VM.. What is the output of this command: Code: apt-cache policy lua5.3 lua5.3-dev You are installing from Master Right? Code: luarocks build https://raw.githubusercontent.com/tuxd3v/ats/master/ats-master-0.rockspec |