Replies: 2 comments 1 reply
-
|
You have to add the class CCPUThrottle (from <circle/cputhrottle.h>) as a
member of CKernel and to add the following options to cmdline.txt to control
the fan of the RPi 5:
gpiofanpin=45 socmaxtemp=60
socmaxtemp= gives the SoC temperature, at which the fan starts to rotate.
Please note, that this is not using PWM, the fan is fully on or off.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I didn't manage to silence the fan this way. Maybe I did something wrong. I am still a novice in C++, going from Lazarus/Freepascal/Ultibo I managed to silence the fan writing directly to the pin: #include <circle/gpiopin.h> CGPIOPin fan (45,GPIOModeOutput); There is a comment in cputhrottle.h that says /// \note If the cmdline.txt option "gpiofanpin=" is used, this class controls a GPIO fan\n Does it mean I can control the fan OR the CPU speed but not both? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I started to play/learn the environment using a rpi5 with original cooler. The cooler is running at full speed and makes unnecessary noise.
Is there a function/config/cmdline setting to control it?
Beta Was this translation helpful? Give feedback.
All reactions