raspberry pi - How Raspbian can control temperature by setup temp_limit in config.txt -


just got new rpi gen #3, has default /boot/config.txt has

temp_limit=85 

i turn down

temp_limit=70 

after reboot, works. if don't know how stress pi processor, , how read temperature of that, feel free clone simple github code (shell script) , run that.

 https://github.com/fisherworks/raspberry_pi_stress 

i thought it's dynamic lowering frequency can limit temperature of rpi - using following command, shows frequency still 1200000, means it's running on full power.

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 

now question - how raspbian control temperature of bcm processor without reducing freq?

try instead.

vcgencmd measure_clock arm 

and can check if being(has been), throttled, capped, or in under-voltage this.

vcgencmd get_throttled 

https://retropie.org.uk/forum/topic/2295/runcommand-warning-if-voltage-temperature-throttling

return code 0x50005.

bit pattern:

  • 0: under-voltage
  • 1: arm frequency capped
  • 2: throttled
  • 16: under-voltage has occurred
  • 17: arm frequency capped has occurred
  • 18: throttling has occurred

update: know command used;

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 

but seems not used anymore , found new 1 being used;

sudo cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq 

you can use or vcgencmd.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -