I think using Coolero which is a fan control app is easier for controlling fan speed on Linux.
Just type on your prompt
flatpak install flathub com.github.gabmus.coolero.
Run it and it would show you graphically the curent speeds of your fan and also buttons for adjusting them.