Skip to content
MusiKid edited this page May 19, 2020 · 20 revisions

Windows

  1. Run the NBFC installer
  2. Start NoteBook FanControl.exe (by default located in C:\Program Files (x86)\NoteBook FanControl)
  3. Select a config. As soon as you hit the apply button, NBFC should take control over your notebook’s fans.

There is no additional configuration required. The NBFC service will start automatically. If you want to adjust the selected config according to your needs, edit it in the Config Editor. The various settings are explained here: Structure of a NBFC config file

Linux

  1. After you have built NBFC (see How to build NBFC), copy the files from nbfc/Linux/bin/Release/ to /opt/nbfc/
  2. To install the NBFC service, copy nbfc/Linux/nbfc.service and nbfc/Linux/nbfc-sleep.service into /etc/systemd/system/
  3. To enable and start the service, open a terminal and type systemctl enable nbfc --now
  4. (optional) Copy nbfc/Linux/nbfc into /opt/nbfc/bin/ and Add /opt/nbfc/bin to PATH, so you can call nbfc from anywhere. (Please use quotes if your command has more than one word arguments. ex: nbfc 'set -a' )
  5. Select a config: nbfc config --apply "name of a config file without extension"

The NBFC service will start automatically. You can use the NBFC CLI (nbfc.exe) to control it.
If you want to completely disable the service, this article will be a good read: systemd: Using units.

For Secure Boot users

NBFC normally uses /dev/port, which is not available with Secure Boot enabled. The current solutions to workaround this are:

  • Disabling Secure Boot.
    You can do this at boot, by switching a parameter in the BIOS, depending on your computer.

  • Enabling ec_sys. You can enable a kernel module which NBFC can use, by running these commands:

sudo sh -c "echo ec_sys >> /etc/modules-load.d/ec_sys.conf"
sudo sh -c "echo 'options ec_sys write_support=1' >> /etc/modprobe.d/ec_sys-write-support.conf"
sudo systemctl restart systemd-modules-load.service