Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New PWM cooling fan overlay for Pi 3/4 #6570

Closed
wants to merge 9 commits into from

Conversation

herbingk
Copy link
Contributor

I recently discovered that there is a new kernel based software PWM solution available since November 2024. A software-based PWM kernel module is available since then, back-ported from the Linux kernel 6.11 to the Raspberry Pi OS Bookworm kernel 6.6.62. This made me write a new pwm-gpio-fan overlay for my own use and after extensive testing on a Pi 3, I have published it for the community.

Moderator 6by9 on the Raspberry Pi forum suggested that I make a pull request, so that it gets merged for all Pi users.

Using the new kernel-based software PWM imposes several advantages over other implementations I have found on the internet and this forum:

  • Compared with the existing gpio-fan overlay, the fan runs much quieter, often not even noticeable, due to the use of real PWM duty cycles.
  • No hardware PWM (PWM0 or PWM1) of the Pi is occupied, so there is no conflict with the Pi's analogue audio output anymore.
  • Reliable on even high CPU loads, as it's part of the kernel.
  • Doesn't consume noticeable CPU power even on a Pi 3.

@herbingk herbingk closed this Dec 31, 2024
@herbingk herbingk reopened this Dec 31, 2024
Updated README for new overlay pwm-gpio-fan
Signed-off-by: Kai-Uwe Herbing <[email protected]>'
Added new device tree overlay pwm-gpio-fan
Signed-off-by: Kai-Uwe Herbing <[email protected]>'
@herbingk herbingk closed this Dec 31, 2024
@herbingk herbingk deleted the pwm-gpio-fan-overlay branch December 31, 2024 14:39
@herbingk herbingk restored the pwm-gpio-fan-overlay branch December 31, 2024 14:40
@herbingk herbingk deleted the pwm-gpio-fan-overlay branch December 31, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant