Last Update: 2024-03-13

The following guide or recipe requires shell access to your FydeOS installation, therefore is assumed to be enabled. If altering system file is required, you will also need to .

This tutorial provides a step-by-step guide on how to enable the Pulse Width Modulation (PWM) fan for the Radxa Rock 5B.


Before proceeding, ensure you have:

  • A basic understanding of Linux command-line operations.
  • Reviewed the document.


#Step 1: Acquiring Administrator Privileges

  1. Log into your FydeOS account and navigate to the desktop.

  2. Access the bash shell environment via crosh (Control + Alt + T) or tty.

  3. Enter sudo su to acquire administrator privileges.

    Note: from FydeOS v17 and openFyde r114 onwards, sudo su will no longer work. Older versions will not be impacted.

#Step 2: Remounting the Root Directory

Enter the command mount -o remount,rw / to remount the root directory with read and write permissions. This step is crucial for enabling PWM fan control by modifying files.

#Step 3: Modifying the Env.txt File

Refer to the document and add pwm-fan to the overlays variable in the Env.txt file.

#Step 4: Copying the Configuration File

Enter the command cp /usr/share/rock5b/rock5-fan-control.conf /etc/init to copy the configuration file.

#Step 5: Restarting the System

After completing the above steps, restart the system to apply the changes.

Congratulations! You have successfully enabled the PWM fan for the Radxa Rock 5B.