How to work with SD card partition?
#41
(11-05-2019, 08:24 AM)Flavor Wrote: If you want to heat the system up (and show the temp and status of GPIO40), you can do this...


Code:
sudo apt-get install stress
while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; gpio read 40; sleep 10; done& stress -c 4 -t 900s

Wow, that was pretty cool. I saw the temperature rising and as soon as it got to 60C, the fan turned on and the 0 changed to a 1 for the gpio 40. So it works! But the temperature just kept going up, I assume it would have kept going for 900 seconds? I just turned it off, is that okay? Do I need to do anything to make it stop putting stress on itself?
Reply
#42
OUT means that its set as an output.

0 is off. 1 is on. (that could be reversed for some things, but that's how it is for our fan control)

The temp will just keep going, because the script that I had you run will just keep maxing out the CPU. But, a couple things will happen. If the fan can't cool it enough, then the CPU will start to throttle itself back. I think the 'vcgencmd measure_clock arm' part will tell you the clock speed.

So, you could leave it run for a while to see what happens, or you can just turn it off like you did.

The fan will definitely help cool it, but the 'stress' test you're running will just continue to stress the CPU as much as possible (for 900seconds total).
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#43
Also, during the test, you could have hit CTRL+C. I think. That will kill the 'stress' part of the command, but it'll still keep the measurements running every 10 seconds.

So, you could let it heat up, watch the fan come on, maybe let it get to 65C or something, hit CTRL+C and then watch it cool down and the fan should eventually turn off. Then reboot, I guess.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#44
(11-05-2019, 08:51 AM)Flavor Wrote: Also, during the test, you could have hit CTRL+C.  I think.  That will kill the 'stress' part of the command, but it'll still keep the measurements running every 10 seconds.

So, you could let it heat up, watch the fan come on, maybe let it get to 65C or something, hit CTRL+C and then watch it cool down and the fan should eventually turn off.  Then reboot, I guess.

Thanks for all the help! Very cool, what this thing can do.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)