# \[QUESTION\] Support for official Raspberry Pi 4 CPU fan?

**URL:** https://dietpi.com/forum/t/question-support-for-official-raspberry-pi-4-cpu-fan/6156
**Category:** General Discussion
**Created:** [8 January 2022 09:20 UTC](https://dietpi.com/forum/t/question-support-for-official-raspberry-pi-4-cpu-fan/6156 "2022-01-08T09:20:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![8\_Bit\_Kid](https://dietpi.com/forum/user_avatar/dietpi.com/8_bit_kid/32/104_2.png) [@8\_Bit\_Kid](https://dietpi.com/forum/u/8_Bit_Kid)
#### Post date: [8 January 2022 09:20 UTC](https://dietpi.com/forum/t/question-support-for-official-raspberry-pi-4-cpu-fan/6156/1 "2022-01-08T09:20:33Z")

</div>

Hi everyone.

Despite having googled for it, I’m still not sure whether or not DietPi supports [the official Raspberry Pi 4 CPU fan](https://www.raspberrypi.com/products/raspberry-pi-4-case-fan/) or not? As far as I understand it, Raspberry OS/Raspbian ship with CPU fan controller software built straight into the CLI GUI. However, it seems like that feature has been left out in dietpi-config?

Unless there is official support for controlling the fan, I’d very much appreciate any help that’ll let me explore my options. For the record, [this GitHub thread](https://github.com/MichaIng/DietPi/issues/4003) discusses how to let DietPi control the fan. In one of the posts, this command is suggested:

```nohighlight
echo 'dtoverlay=gpio-fan,gpiopin=14,temp=60000' >> /boot/config.txt

```

Does it make sense to “manually” add an entry to /boot/config.txt using the echo command or a text editor, or are there any fancier ways of doing it that is preferred?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [8 January 2022 09:32 UTC](https://dietpi.com/forum/t/question-support-for-official-raspberry-pi-4-cpu-fan/6156/2 "2022-01-08T09:32:25Z")

</div>

yes DietPi did not offer any GUI to control fans in general. Because if we implement a feature like that, we would need to do it for more platforms. And not just RPi. There are more solutions out there how to run a fan on a SBC 🕶

Especially for RPI devices it’s quite easy as you just need to run the echo command once, to initially add support.

```nohighlight
echo 'dtoverlay=gpio-fan,gpiopin=14,temp=60000' >> /boot/config.txt

```

After a reboot, this should be working ootb. At least I was testing it on all available RPi modesl. Later on you could simply use a text editor to manage temp value on your need.

Personally I don’t like the official fan as mine is quite noisy one.
