« Previous | Next»

Controlling Thecus's fan

Posted by coldtobi | 7 Mar, 2009, 15:58

Some time ago, I wrote a C-program for controlling the Fan inside the Thecus N2100.
The reason for this is, that the current solutions found on the web are not suitable for me. As an example, it keeps the hard-drives awake.

As this program might be interested for other Thecus users too, I decided to release it to the public.

Where to get the sources:

The project is hosted at sourceforge.
Currently, as there is no release, you have to get the files using git. The URL is:


(Check out the "README" for instructions how to build and run fanctrl. )

I'll still have to figure out how all the features at sourceforge work...

SF Project URL: http://sourceforge.net/projects/fanctrl

Feedback is appreciated!

(Update: URL fixed to the new sourceforge's git scheme. Thanks to Ender7 and Hans

Thecus N2100, fanctrl | Comments (5) | Trackbacks (0)

Related Articles:

5 Comments | "Controlling Thecus's fan" »

  1. Kauli : Great idea but...

    21/04/2009, at 19:16 [ Reply ]

    Hi Tobias

    I tried out your fanctrl on my n2100 but it seems that it doesn't work.
    My System is "uname -a Linux kauli.xxx.xxx 2.6.26-1-iop32x #1 Sun Jan 11 10:42:50 UTC 2009 armv5tel GNU/Linux"

    When i start fanctrl it returns:
    kauli:~/fanctrl/src# ./fanctrl
    Trying to open HDD /dev/sda ...success
    Trying to open HDD /dev/sdb ...success
    Trying to open Chip /sys/bus/i2c/devices/0-002e/temp1_input ...success
    Trying to open Chip /sys/bus/i2c/devices/0-002e/temp2_input ...success
    Trying to open PWM Device /sys/bus/i2c/devices/0-002e/pwm1 ...success
    Trying to open PWM Device /sys/bus/i2c/devices/0-002e/pwm2 ...success
    /dev/sda: changed to state 1 (active) prev: -2
    /dev/sda: WARNING: Did not get values Initializing to 60C!
    /dev/sdb: changed to state 1 (active) prev: -2
    /dev/sdb: WARNING: Did not get values Initializing to 60C!
    Hottest Drive is 0 with 0

    What means "...with 0"?! Degrees? Is this normal?


  2. Kauli : Solved

    21/04/2009, at 19:35 [ Reply ]

    Sorry about my post before.
    I found the Problem. Smartmontools wasn't enabled.
    Now i think it works.

    by the way. To Compile i had to apt-get install libc6-dev and
    before the first run, mkdir /tmp/fanctrl.
    Maybe you will write this in the README.


  3. Ender7 :

    22/08/2009, at 00:51 [ Reply ]

    i'm trying to download but the server says to me
    FATAL ERROR: The remote end hung up unexpectedly.
    i'm a newbye so..

  4. coldtobi : Re: Ender7

    23/08/2009, at 09:48 [ Reply ]

    Hi Ender7,

    Thanks for the report. It seems that sourceforge has changed the way repositories are handled. Stay tuned, I'l try to fix that.

  5. Hans :

    30/08/2009, at 12:22 [ Reply ]

    The git repository is located at:

    checkout with git clone