I just received my omnia and mounted it in the nas perk with 2 disks right away.
I also installed a fan using the cable that was par of the NAS perk.
Now the fan runns full speed from the moment i turn on the router.
This is far too loud.
So first thing I like to do is to reduce the fan speed.
Unfortunately I have no idea how and my my google skills dont seem to be good enough
Can anyone please give me a hint or better a link to a how to?
Thanks!
What I did till now: just googling g
So I found something about a package fancontrol but its not available and maybe is just for pcs anywayâŚ
searching for âfanâ in the packagesearch of luci gives me the two packages
"kmod-hwmon-pwmfan" which is discribed as âKernel module for PWM controlled FANs"
and
â kmod-hwmon-gpiofan" which is described as "Kernel module for PWM controlled FANs"
I guess we have a pwm-fan here?
well. this is where I am right now.
Thanks in advance!
Guess I will dig deeper in the divice the comming weekend. But first i need it to be more quiete XD.
Edit: found /sbin/fan_ctrl.sh (mentioned in https://plus.google.com/+ChristopherGaul/posts/bBmivGyJSW8 )
but ther is no â/sys/devices/platform/pwm_fanâ nor â/sys/devices/platform/pwm_fanâ mentioned in the script. even thogh i installed kmod-hwmon-pwmfan in the meantime.
Based on the following picture I doubt you can control the fan speed on NAS perk without building custom solution. The power cable is connected to pins that are normal voltage sources or grounds.
The connector for the fan located at the end of the power cable included in the NAS perk only comes with 2 pins. I assume, based on what youâre saying, that it wonât be possible to control the speed? Am I correct?
I just looked at the power cable again and it looks like the fan has its own 2 cables coming from the board.
Hello,
Because I donât have the customized cable I canât tell you more, sorry and I donât even know, where can I buy itâŚ
As you said, if theyâre only 2 pins, then it is impossible to control the speed by HW. Itâs same also for motherboards, when theyâre 2/3 pins, you canât use automatic PWM by HW. You need control it by SW for example is SpeedFan for Windows (or you can use other programs).
So I assume thatâs why there is written script, which you can control fan, but if it works. I donât know. I just wrote what I saw.
Script for fan control is in Turris Omnia (fan_ctrl.sh), but in my opinion it is impossible in this case to use power cable that comes with the NAS perk.
Look at Fan_ctrl.sh - using for cooler control
Did you read what I wrote? I wrote that this script is located in Turris Omnia in my previous posts and even it is in this thread. And when you use translate Google you will find there that there someone said that script is useless? Canât confirm ir or help you, because I canât test/use it, because I donât have customized sata cable which was provided in NAS perk.
If you donât want to have fan running non-stop you can edit that script, which is provided. I donât know why you donât do it.
There wasnt any reason to create another thread for fan or fan speed.
Also you could point us for their gitlab/github where there should be this script also.
Discourse is already confusing.
The problem is neither the script nor the cable, but where the cables connect.
NAS perk cable is primarily used to power an external disc (and also to power the fan) is connected to the supply voltage 12V, 5V and 3.3V (https://www.turris.cz/doc/_media/omnia-pinout.png - right, top corner), which can not be controlled through any script.
Why then do I see this in LuCI > System > Scheduled Tasks
*/5 * * * * /sbin/fan_ctrl.sh
Even if I didnât install anything related to fan controlâŚ! [confused]
Could someone from NIC.CZ please confirm or infirm that we can control through SW the speed of a fan in the NAs box? And possibly indicate a way we could do just that? Thanks
BTW I installed Noctua NF-A8 ULN 80 mm (http://noctua.at/en/nf-a8-uln) to the NAS box. I enabled the 1100rpm mode and installed it with vibration-compensators. It has a low noise level 6,5 dB(A) according to the spec so it can be a good alternative for active fan speed control.
As Turris Omnia does not support hardware PWM, and software, I was looking for other options to control the 4-pin fan.
And I found - the DS1050 this integrated circuit generates a PWM of congested frequencies 1, 5, 10, 25kHz on the I2C interface.
In my case I applied 25kHz, because in this range the PWM fan works.
The chip is best purchased with an adapter on SOIC8 and soldered on a universal board and output the PWM signal to the 4 pin connector.
DS1050 is 5 bit, meaning it has 32 levels of fill expressed in percent, where 1 level is 3,125%.
The service is trivial enough to read in the datasheet. In the OpenWRT we can use the i2cset i2cget as a simple control.
For example:
i2cset -y 7 0x28 0x50 0x10
where: -y 7 is the bus number i2c 0x28 is the adress DS1050 ( in this case A0, A1 and A2 is connect to GND) - to find what address DS1050 has to use command i2cdetect -y 7 0x50 is the control byte - in this case is write mode 0x10 is the PWM databyte example: 0x10 is 50% of duty, 0x1F is 96,88%
Later, I will post some photos and videos from the action.
Hello, i did not understood DarioX7´s solution, (sorry i am civil engineer )
my solution I found here on forum,
it consits from the fan Arctic Fan F 8 TC with temperature sensor and its own RPM control, which i plugged on the NAS perk cable for fan energy supply.
Are you still using the DS1050 solution? Could you share whether and if so what kind of resistors youâve used on the chip? Itâs not clear to me whether I need a pull-up on the PWM output.
Apart from that, could you share somehow how you found that IC? Iâve been looking around if there may be something better that I could use instead. There are two features in particular which might be nice to have: second PWM output and sense input(s). Iâve found ADM1031 but that got me wondering if thereâs something simpler than that.