RGB/GPIO Fans not working. Pironman5 on Ubuntu Server 25.04

If someone have problems with not working RGB Fans / GPIO Fans, i found a decision

If you have these logs in fan_control

25/06/21 22:12:38.318 [ERROR] GPIO Fan init error: 'GPIO busy'
25/06/21 22:12:38.319 [WARNING] GPIO Fan init failed, disable gpio_fan control

You can create a service that will reserve the necessary fan pins before launching the pironman5 service, so they will work for you, but you will not be able to control them. But at least the cooling will work.

sudo apt install python3-lgpio
sudo nano /usr/local/bin/hold_gpio6.py
  1. Then write this script inside file
#!/usr/bin/python3
import lgpio, time

h = lgpio.gpiochip_open(0)
lgpio.gpio_claim_output(h, 6)
lgpio.gpio_write(h, 6, 1)
try:
    while True:
        time.sleep(3600)
except KeyboardInterrupt:
    pass
  1. Press
ctrl+x, Y, enter
sudo chmod +x /usr/local/bin/hold_gpio6.py
sudo nano /etc/systemd/system/hold-gpio6.service
  1. Write this in file
[Unit]
Description=Hold GPIO6 high via lgpio
Before=pironman5.service
After=multi-user.target

[Service]
ExecStart=/usr/local/bin/hold_gpio6.py
Restart=always

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now hold-gpio6.service

Then you need reboot your Raspberry Pi 5

I hope this helps you.))

it took me 5 hours to figure out how to do this…

We conducted verification tests using the Ubuntu Server 25.04 system you provided, and the installation of the Pironman5 software was successful. All functions of the case are working as expected.

  1. Please confirm if there were any error messages during the installation of the Pironman5 software. If so, kindly provide screenshots of the errors for our analysis.
  2. Once you successfully install the Pironman5 software and start the system, the software will automatically launch without needing to manually start the service.
  3. We accessed the dashboard using Google Chrome.
  4. Is your RGB fan correctly connected to the FAN pins on the IO expansion board? The red wire should connect to the “+” terminal, and the black wire should connect to the “-” terminal.
  5. We recommend reinstalling the system and then installing the Pironman5 software to see if it resolves the issue. You may also choose another compatible system to verify the results.

If other users encounter this problem, they can follow MafiaCoconut’s solution to see if it resolves the issue. We have not been able to reproduce this problem; following the correct installation process for the Pironman5 software, all functions are working as expected.







I don’t understand, I’ve the same problem. Does it work with Ubuntu 25.04?

Thanks

It was not working for me, so i downgraded my os to ubuntu server 24 and fans works fine, but now dashboard not working after first restart …

Have you followed the correct tutorial link to install the Pironman5 software?
[Setting Up on Raspberry Pi OS/Ubuntu/Kali Linux/Homebridge — SunFounder Pironman 5 documentation]
Ubuntu 25.04 is also compatible with the Pironman5 software installation and should work properly.
If you encounter any issues, please provide us with complete screenshots of the installation process and log information, so we can help you analyze and resolve the problem.