I'm posting this information here in the hopes it will be useful to others having the same problem.
I have a Raspberry Pi 4 with the official case fan. I've connected it as suggested in the official documentation. I enabled fan control using `raspi-config` with the default suggestions of pin 14 and 80°.
My problem was that the fan was always running full speed and quite noisy.
After some investigation I found that my `/boot/config.txt` file contained the following:
Code: Select all
dtoverlay=gpio-fan,gpio_pin=14,temp=80000
Code: Select all
dtoverlay=gpio-fan,gpiopin=14,temp=80000
After some investigation, I found that this problem was already fixed in this commit:
https://github.com/RPi-Distro/raspi-con ... df64d53fe0
Upon further investigation, I found that my distribution image (RetroPie 4.7.1) included the buggy script.
I think the proper fix is to make sure your distribution is up-to-date with:
Code: Select all
sudo apt-get update
sudo apt-get upgrade
However, you may also edit the file manually to remove the underscore if you are unable to upgrade.