PWM Fan on RebornOS/Majaro/Arch

Is there a way to turn on the pwm fan (official radxa, from Allnet) in RebornOS?

All of the existing methods fail, usually some version of “No such file or directory” or “file exists but is not executable”. Is this because the RebornOS image is missing these files? I got this working on Debian, but haven’t been able to find anything that works for Reborn from github or forums yet.

Anyone else tried this or had any luck yet?

I used this to setup my fan on rebornos


Seems to work for me.

Non-GPIO 4012 Fan Fix (Archlinux)

git clone https://github.com/XZhouQD/Rock5B_Naive_Pwm_Fan
cd Rock5B_Naive_Pwm_Fan/
cp fan_pwm /usr/local/bin/. 
chmod +x /usr/local/bin/fan_pwm
cp fan_pwm.service /etc/systemd/system/.
systemctl daemon-reload 
systemctl start fan_pwm
systemctl enable fan_pwm
1 Like

Awesome, thank you both! Dalekrebs for such a fast response, and DarkevilPT for providing the raw commands in a clear and organized fashion. (I am still new to Linux and GitHub pages often make a lot of assumptions that confuse beginners.) I will give this a try when I get home from work tonight.

All you needed to do was a forum search… its all over the place… :face_with_hand_over_mouth::smirk:

Except that it’s not. I searched for about half an hour last night and all of the results were for Debian, Ubuntu, random GitHubs without any documentation or instructions, and after I tried three different suggestions and kept running into errors and problems that were beyond my ability to troubleshoot, I decided to ask for help specifically with my situation. So even if it’s “all over the place”, it’s obviously not readily apparent or intuitive enough for even a moderately experienced user like myself.

Please keep in mind that sometimes beginners don’t know what we’re looking at so when nobody connects the dots, and we can’t do it ourselves, we have to ask for help. Sometimes that means discovering that a “common” solution is the one we’re looking for. Maybe this particular solution works on multiple distributions, but I have no way of knowing that unless someone says it explicitly.

Thanks again for the solution, but the snickering probably isn’t necessary.

1 Like

Its all guud bro. No problem in asking if anything pop up on Radxa Discord or RebornOS legends are there they will help (if they want to :face_with_hand_over_mouth: ).