LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 07-25-2024, 12:12 PM   #1
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
Raspberry Pi 5 active cooling management settings - config.txt


Raspberry Pi 5 users FYI only - this info doesn't apply to any other version or model!

Those 'very smart people' over at Raspberry Pi Ltd. (yep, I'm intentionally being sardonic) have finally made it easier for end-users on the Raspberry Pi 5 to manage their active cooling fan settings and parameters... sort of. After a fashion.

Users can now manage these values via dtparam settings in the /boot/config.txt file - for a list of possibilities see the /boot/overlay/README file. Basically there's 3 options and 4 levels to play with:

Quote:
dtparam=fan_temp0 - Temperature threshold (in millicelcius) for level trigger. When the temp reaches this value it becomes active. e.g. 50000 = 50 degrees Celsuis.
dtparam=fan_temp0_hyst - Temperature hysteresis (in millicelcius) for 1st cooling level. Fan will be active while cooling level is active ± this value.
dtparam=fan_temp0_speed - Fan PWM setting for 1st cooling level [0-255] - 0 = 0% | 255 = 100% - Fan will rotate at this value for the set cooling level.
How to implement it? Really easy. Edit the config.txt file by adding something like this:

Code:
## Pi 5 active cooling fan parameters
# Cooling fan on | off
dtparam=cooling_fan=on
# Tepid: 40% fan @ 40'C
dtparam=fan_temp0=40000
dtparam=fan_temp0_hyst=3000
dtparam=fan_temp0_speed=100 
# Warm: 60% fan @ 45'C
dtparam=fan_temp1=45000
dtparam=fan_temp1_hyst=4000
dtparam=fan_temp1_speed=150 
# Hot: 80% fan @ 55'C
dtparam=fan_temp2=55000
dtparam=fan_temp2_hyst=5000
dtparam=fan_temp2_speed=200
# Very Hot: 100% fan @ 65'C
dtparam=fan_temp3=65000
dtparam=fan_temp3_hyst=5000
dtparam=fan_temp3_speed=255
Alternatively, you can do it like this:

Code:
## Pi 5 active cooling fan parameters
# Cooling fan on | off
dtparam=cooling_fan=on
# Tepid: 40% fan @ 40'C
dtparam=fan_temp0=40000,fan_temp0_hyst=3000,fan_temp0_speed=100 
# Warm: 60% fan @ 45'C
dtparam=fan_temp1=45000,fan_temp1_hyst=4000,fan_temp1_speed=150 
# Hot: 80% fan @ 55'C
dtparam=fan_temp2=55000,fan_temp2_hyst=5000,fan_temp2_speed=200
# Very Hot: 100% fan @ 65'C
dtparam=fan_temp3=65000,fan_temp3_hyst=5000,fan_temp3_speed=255
NB: the above settings and values are my own, based on my Pi 5 usage and setup. Yours will most certainly be different so adjustments will need to be considered to factor in your personal preferences and test-case.

Back in December 2023 I fervently appealed to Raspberrry Pi Ltd. (on their forums) with what I thought was common sense and the logical thing to do... and ended up being perm-banned for it! The moderator's excuse was "signature spam" even though I'd been using the same signature for over a decade. It just makes me laugh so goddam hard when they end up doing EXACTLY what I suggested to them in the first place! PMSL

[EDIT] I'll be including the above active cooler management settings in future SARPi5_64 releases.

Last edited by Exaga; 07-25-2024 at 12:34 PM. Reason: Raspberry Pi forum mods suck!
 
Old 07-25-2024, 01:15 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
ended up being perm-banned for it
it's your own fault, we all know, who hang out here, "rpi is our toy, don't tell us how to play with it"
 
2 members found this post helpful.
Old 07-25-2024, 05:55 PM   #3
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64-current, aarch64
Posts: 232

Rep: Reputation: 163Reputation: 163
Cool...
 
1 members found this post helpful.
  


Reply

Tags
active cooling, config, fan, raspberry pi 5, rpi5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dell i530 cooling fan stuck on passive cooling. graeyhat Linux - Hardware 23 10-10-2013 01:30 AM
dell i530 cooling fan stuck on passive cooling. graeyhat Linux - Desktop 1 10-08-2013 01:12 AM
Computer cooling fans, possible water cooling ? H_TeXMeX_H General 31 06-19-2010 01:40 AM
cat onelinefile.txt >> newfile.txt; cat twofile.txt >> newfile.txt keep newline? tmcguinness Programming 4 02-12-2009 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration