Sven Leuschner
Members
-
Joined
-
Last visited
Solutions
-
Sven Leuschner's post in Armbian 26.08.0 on Turing-rk1 based on resolute_edge 7.1.9 - can't control the fans? was marked as the answermaybe because I'm dumb .. I read the available downloads .. and many had "vendor"kernals which reminded me of the aweful stone-age 5.10 rockchip kernel from the official ubuntu server 22,04 images .. so I looked at self compiling .. which seemed to yield what I want . A recent kernel 7.19 and it ran stable .. until I ran into the fan issue .. my first google-fu lead to the above mentioned first echo 255 - line .. the second try lead to echo user_space .. but kept the necessary second line hidden ...
I was able to fix that after reinstalling everything overnight.
I created a service that sent the user_space and following that a 127 to the appropriate path and my fans finally ran the way I want.
So I'll mark this one fixed
here's actual lines and script code to fix it
$ sudo nano /etc/systemd/fan-setspeed.service [Unit] Description=Set Fan to Half Speed on Boot After=multi-user.target [Service] Type=oneshot ExecStart=/bin/sh -c 'echo user_space | sudo tee /sys/class/thermal/thermal_zone0/policy' ExecStart=/bin/sh -c 'echo 127 | sudo tee /sys/devices/platform/pwm-fan/hwmon/*/pwm1' RemainAfterExit=yes [Install] WantedBy=multi-user.target $ sudo systemctl daemon-reload $ sudo systemctl enable fan-setspeed.service $ sudo systemctl start fan-setspeed.service