Skip to content

everdrone/jetson-fan-table

Repository files navigation

Fan Control Daemon

Configurable, fast and lightweight

Requirements

  • A 5V PWM fan
  • Default L4T Linux image for the Jetson Nano
  • Autotools
  • Autoconf Archive (apt install autoconf-archive)

Build & Install

Clone the submodules after cloning

git submodule update --init --recursive

Build with autotools

# set up autotools
./autogen.sh && cd build && ../configure

# installation requires privileges
sudo make install

Usage

Once installed just start the service

sudo systemctl start fantable

# And to have it run at startup
sudo systemctl enable fantable

To check the status of the daemon use the --check and --status options

$ sudo fantable -s
process pid: 3157
temperature: 37 C
current pwm: 86
current rpm: 1370

Configuration

The configuration files are located in /etc/fantable

The config file contains daemon options that can be overridden by command line arguments.

# /etc/fantable/config
interval = 3
average = yes

can be overridden by calling fantable with new arguments

fantable -i 2 -A

The table file must be formatted correctly for the program to work. Each line should be formatted as follows:

<temperature> <speed>

The default configuration is:

# /etc/fantable/table
27 0
38 20
45 50
50 80
59 90
60 100

After a configuration change, the service must to be restarted to see the changes.

sudo systemctl restart fantable

Credits

Similar projects: