X735-script: Difference between revisions

Line 326: Line 326:
A:  
A:  


**Issue:**
'''Issue:'''
 
When using FreedomBox OS (or some minimal Debian installations), even after following the installation guide, the fan does not spin. Running `dmesg | grep pwm` returns nothing, and the `/boot/firmware/overlays/` directory is missing the required `pwm-2chan.dtbo` file.
When using FreedomBox OS (or some minimal Debian installations), even after following the installation guide, the fan does not spin. Running `dmesg | grep pwm` returns nothing, and the `/boot/firmware/overlays/` directory is missing the required `pwm-2chan.dtbo` file.


**Cause:**
'''Cause:'''
 
FreedomBox and some minimal Linux distributions do not include the Raspberry Pi specific Device Tree Overlays by default. The line `dtoverlay=pwm-2chan` in `config.txt` fails to load because the underlying driver file is missing from the system.
FreedomBox and some minimal Linux distributions do not include the Raspberry Pi specific Device Tree Overlays by default. The line `dtoverlay=pwm-2chan` in `config.txt` fails to load because the underlying driver file is missing from the system.


**Solution:**
'''Solution:'''
 
You need to manually download the missing overlay files from the Raspberry Pi firmware repository.
You need to manually download the missing overlay files from the Raspberry Pi firmware repository.


Line 338: Line 341:
     First, verify that the files are missing:
     First, verify that the files are missing:
     ```bash
     ```bash
     ls /boot/firmware/overlays/ | grep pwm
     <code>ls /boot/firmware/overlays/ | grep pwm</code>
     ```
     ```
     *(If no results are shown, the files are missing)*
     *(If no results are shown, the files are missing)*