QNAP 1282 fan control?

I got the fans working. I am not sure the drive fans are working from a relevant temperature, but they are in a range I am comfortable with.

In order to get apt to install packages with apt you have to run the following command. Let me say everywhere said this is a bad idea and you can really screw stuff up by installing the wrong packages or even updating the wrong package.

Install-dev-tools

Then you need to be able to see the fans. I used the GitHub - Stonyx/QNAP-EC. This isn’t specifically written for my model but it worked to add a driver so I can read the fan values and write them.

apt install build-essential git
git clone https://github.com/Stonyx/QNAP-EC
cd QNAP-EC
make install
sudo modprobe qnap-ec check-for-chip=no (Put last command in startup script has to happen every time to read fans)

If you run sensors and it shows your fan’s speed then you can control them.

To do it install fancontrol.
apt install fancontrol

Run
pwmconfig

This will kind of walk you through the config file creation. It kind of worked for me but I had to edit mine a bit to make it work. I wasn’t sure which temp to link to my hard drive fans. I took a guess and they are running in a way I like based on the temp I am seeing. The CPU one is good to go. After this if you run fancontrol it should control the fans by the temperature you have linked them with.

Then you need fancontrol to startup and run in the background. I did a startup command for that. I haven’t rebooted, but it worked when I ran it from the command line.
nohup fancontrol &

All the stuff that you install with apt will probably get wiped out when you update at least that was suggest in some of the things I read. So, you will have to do it all over again when you update.

1 Like