![]() |
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 - g_t_j - 08-02-2019 (08-02-2019, 09:51 AM)tuxd3v Wrote:(08-02-2019, 09:16 AM)g_t_j Wrote: It would be very nice for Pine64 to gather all this info and make a clear step-by-step guide that wouldHello g_t_j, Your contribution to this is very evident and thank you so much for making this community friendly and helpful. I'm sure TLlim wants members like you here ![]() Are you the developer of ATS? It's great to know that in a future version there will be a choice of triggering the fan by the HDDs temperature! That's the most important part of this utility in my opinion. RE: Tool to Control Fan - fanctl - tuxd3v - 08-02-2019 (08-02-2019, 02:09 PM)g_t_j Wrote: Your contribution to this is very evident and thank you so much for making this community friendly and helpful. I'm sure TLlim wants members like you here Hello g_t_j, Well, thanks A community is so strong has how its members are friendly, educated, respectable, and share something with others. ![]() Yes, I am, It passed for several phases.. To be honest, it started has a Script, because I wanted to check stability of the Board on this Soc, also its performance, and were it could be optimised, and for that I needed Active cooling.. Like many other projects.. It evolved to something more optimised, giving the opportunity to people to do their changes.. The disk temps readings, is not a so easy thing, each time you read disk temps you wake disk up( if they are in StandBy.. ).. and waist a Load/Unload cycle of life of that disk.. Now imagine doing it at each 10 minutes, lets say...in a Year, yeah crazy right?! So I will try via SCSI, to prevent the wakeup, but I don't know if it will work on all disks( maybe there are disks out there that even via scsi will wake up.. ).. Any way, Will be there on '/etc/ats.conf' options to enable, disable, and time between temp readings.. The thread about 'ats', will also be updated when done.. I understand that for people that don't use too much CPU, the disk part is more important.. My RockPro64 is for ~12 -13 Months under full load, stable, no problems, for me the CPU/GPU temps were more important at the time, I don't wanted temps to go above 50's C.. ![]() I tested several options, heatsinks/fans hehe, I even have have a WaterCooling System, for a Compute Cluster of 8 Boards.. but needs some love to go ahead.. One Option is to get readings via i2c or something, from the 8 Boards, plus a small Board( to control/Distribute work to the 8 board, 48 cores..).. But I have not decided yet, what to use.. Right now, 3 options exist.. Use my own 8 bit processor implementation( but it still lacks i2c or uart.. ), a 32bit ARM low power, or, the last idea..going RISC-V, with a 32 bit implementation for the controller.. For one side it would be nice to use my own cpu implementation, that would force me to develop its peripherals..for other side, that could turn it in a year plus work( I still need to implement Interrupts in it too.. ), and I still have 9 intructions using 2 clock cycles... but I have already found the answer for that.. ![]() So probably I will go with a arm micro-controller, or risc-v.. I hope to add a amoled display, which will show temps, frequency, cpu load on the 54 cores, and power Consumption of all cluster.. I still am undecided on how to distribute work, on the cluster, I am trying to figure out a interconnect, so that CPUs could speak to each other, avoiding Ethernet latency costs.. Any way, a community task force, would be great.. But the project it is still is a 'dream phase', you know.., the good things in life...take time!! ![]() RE: Tool to Control Fan - fanctl - tuxd3v - 10-05-2019 Hello all, Was fixed a bug in ATS, When, 'ALWAYS_ON = true' Initially, sometimes, ATS had problems to acquire the actual PWM state( when service starts..it was a random situation.. ), and so ats now ships with the initial pwm value set to 190 be default( its the initial value before it start to compute the trip trigger points.. ).. I have done some tests yesterday during the night, and it seems ok, its now in the master branch, if someone wants it. next release will be a point fix release to eliminate older profile code, to solve Luke's reported bug, and to install to Luarocks place, so that you can remove it easily( if you want to ), with 'luarocks remove ats'.. After that, I will start to add more features like, disk temp monitoring( I need yet to think in a good priority mechanism, so that ats can choose what temps are dangerous, and what don't, between disks, cpu, gpu.. ).. RE: Tool to Control Fan - fanctl - Neo2018 - 02-24-2021 (10-05-2019, 08:04 AM)tuxd3v Wrote: Hello all, Hallo tuxd3v I have problem with the fan, it keeps spinning 24/7. how do i fix this? Code: :~$ uname -a Code: ~$ sudo ats -t Code: :~$ systemctl status ats.service Code: :~$ sudo ats -v Code: :~$ armbianmonitor -m RE: Tool to Control Fan - fanctl - kuleszdl - 03-07-2021 @tuxd3v I didn't make the experience that you have to wake up disks each time you read their temperature. It probably depends on the disk and how you read the temps. In my setup, I have two large Toshiba 3.5" disks. When I try to read their temperature via "hddtemp" I get the message that the disks are spun down and their temperature can't be read. If I try to read their temperature via smartctl (from smartmontools package) I get the temperature and the disks seem to be still spun down. RE: Tool to Control Fan - fanctl - Neo2018 - 03-14-2021 (03-07-2021, 07:19 AM)kuleszdl Wrote: If I try to read their temperature via smartctl (from smartmontools package) I get the temperature and the disks seem to be still spun down.What is the command in the console / terminal for SMART Tool to read the temperature? RE: Tool to Control Fan - fanctl - kuleszdl - 03-14-2021 @Neo2018 One way to accomplish this is: Code: smartctl --all /dev/sda|grep -i temp Not sure if there is a "smarter" way to extract just the single value. RE: Tool to Control Fan - fanctl - Neo2018 - 03-15-2021 (03-14-2021, 05:38 PM)kuleszdl Wrote: @Neo2018 One way to accomplish this is: I don't know if that's what you're looking for or what is meant, but that's what I found out: at hddtemp the standard output is: Code: /dev/sda: ST1********08-***03: drive is sleeping The temperature is only displayed when the hard disk/hdd is in use: Code: /dev/sda: ST1********08-***03: 40°C Therefore you can ignore the output of hddtemp! There is still hdparm, but here too the output is confusing.
The good thing is that if the HDD is in standby/sleeps, they are not activated, because, for example, when you query with smartctl --all /dev/sda | grep -i temp, the HDD is brought out of standby/sleepy. Code: $ 'date' && sudo hddtemp /dev/sda && sudo hddtemp /dev/sdc && sudo hddtemp /dev/sdb && sudo hdparm -C /dev/sda && sudo hdparm -C /dev/sdc && sudo hdparm -C /dev/sdb Code: $ sudo smartctl --all /dev/sda|grep -i temp maybe help to understand that RE: Tool to Control Fan - fanctl - Neo2018 - 04-05-2021 (02-24-2021, 01:42 PM)Neo2018 Wrote: I have problem with the fan, it keeps spinning 24/7. Solution to my problem was: In '/etc/ats.conf' use for PWM_CTL, the '/sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1' Works! Thanks a lot! @tuxd3v |