Update: It has been fixed by Ubuntu, you no longer need this script
In case you want to control the fan yourself, read this thread: https://forums.raspberrypi.com/viewto...
In my earlier videos, you were able to hear the fan of the Raspberry Pi 5 with Ubuntu. They are working on a patch to adjust the speed of the fan by the temperature.
Someone posted on Reddit that he created a script to control the speed of the fan with Ubuntu 23.10.
/ i_made_a_script_to_enable_the_new_raspberr...
https://github.com/NikPiermafrost/rpi...
Cron can execute a script per minute, but I prefer 5 seconds.
As a workaround I wrapped the script in a loop with a 5 second sleep.
https://askubuntu.com/questions/800/h...
#!/bin/bash
while true; do
Do something
sleep 5;
done
And you can use Cron to start the script when you reboot or start the system.
https://www.tutorialspoint.com/run-a-...
sudo su
crontab -e
@reboot /path/to/script arg1 arg2
If it doesn't work immediately, just restart.
00:00 Intro
00:25 Post on Reddit
00:55 Script on Github
02:05 Workaround for 5 second check
03:18 Start script at startup
05:05 Test with Stable Diffusion XL
If this video was helpful, please like, comment and subscribe!
Bluesky: https://bsky.app/profile/livinglinux....
Twitter: / livinglinux
#raspberrypi #ubuntu