# Pironman5 & Kali: Configuring Shutdown to Deactivate GPIO Power

**URL:** <https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154>\
**Category:** Accessories for Raspberry Pi and Arduino\
**Created:** [May 3, 2025, 7:30pm UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154 "2025-05-03T19:30:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antar3s](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Antar3s](https://forum.sunfounder.com/u/Antar3s)\
**Post date:** [May 3, 2025, 7:30pm UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/1 "2025-05-03T19:30:37Z")

</div>

Hello,

I’m using Pironman 5 with Kali Linux now (the latest version/update). The only thing I got not configured was the the switchoff of the LEDs, at least the red one at the fromt is on when the system has been powered off.

The point [Configuring Shutdown to Deactivate GPIO Power](https://docs.sunfounder.com/projects/pironman5/en/latest/set_up/set_up_rpi_os.html#configuring-shutdown-to-deactivate-gpio-power) does not work, as there is no `rpi-eeprom-config`on Kali. Does anyone know, which config file I might need to modify with `POWER_OFF_ON_HALT=1`?

_Config:_ Pironman5 + Raspi5 4GB + Kali 2025.1c + Updates from 2025-05-01 + [Pironman5 Software](https://github.com/sunfounder/pironman5) 1.2.7

Thanks, Mathias

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [May 6, 2025, 8:56am UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/2 "2025-05-06T08:56:00Z")

</div>

By default, the Kali system is pre-configured to disable GPIO power upon shutdown, so no manual configuration is required.

To verify, please try shutting down the system by pressing the power button and check whether the RGB fans, OLED screen, and onboard RGB lights turn off properly.

After shutdown, a **red LED** on the Pi5 indicates a **normal and safe power-off state** —this is expected behavior.

**Note:** After upgrading the official Kali system, the command `sudo rpi-eeprom-config -e` is no longer functional.

---

<div class="post-metadata">

**Author:** ![Antar3s](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Antar3s](https://forum.sunfounder.com/u/Antar3s)\
**Post date:** [May 8, 2025, 7:32pm UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/3 "2025-05-08T19:32:36Z")

</div>

Hmm, I’m not sure what I did wrong, but now it is - in addition to the red front led - also illuminating the fan leds and spinning fan 2 after the “powering off” message.

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [May 9, 2025, 7:01am UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/4 "2025-05-09T07:01:43Z")

</div>

We’ve performed thorough testing on our end with the following steps:

1. Installed Kali Linux system
2. Installed Pironman5 software
3. Executed shutdown commands:

- `sudo shutdown -h now`
- `sudo poweroff`

**Results:**  
All outputs shut down normally, including:  
✓ RGB fan power off  
✓ IO expansion board output disabled  
✓ Onboard RGB lights deactivated

The same successful shutdown behavior occurred when using the physical power button.

**Recommendation:**  
Since we couldn’t replicate the issue you encountered, we suggest:

1. Installing the official Raspberry Pi OS
2. Reinstalling Pironman5 software
3. Performing a safe shutdown to verify if the RGB fan persists

This will help determine if the issue is system-specific. Please let us know your test results - we’re happy to provide further assistance.

---

<div class="post-metadata">

**Author:** ![Antar3s](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Antar3s](https://forum.sunfounder.com/u/Antar3s)\
**Post date:** [May 9, 2025, 7:53pm UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/5 "2025-05-09T19:53:54Z")

</div>

Hi,

**Test 1:** Raspbian latest + Pironman5 install  
Fan, RGB and internal lights off, front led glowing red on

- `shutdown -h`
- `poweroff`
- Shutdown via graphical menu (no clue what this triggers in the background)

**Test 2:** Kali latest + Pironman install  
Fan, RGB and internal lights off, front led glowing red on

- `shutdown -h`
- `poweroff`
- Shutdown via graphical menu

So, I understand this is the expected behaviour now. Would it be nonetheless possible to have the front led off when the system has shut down? Maybe there’s a setting for that.

Cheers, Mathias

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [May 13, 2025, 2:42pm UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/6 "2025-05-13T14:42:05Z")

</div>

After researching and testing various online solutions, we’re unable to make the red power LED turn off after safe shutdown on the Raspberry Pi 5.

Since this appears to be the default behavior set by the Raspberry Pi firmware, we recommend contacting:

- Official Raspberry Pi support ([https://www.raspberrypi.com/support/](https://www.raspberrypi.com/support/))
- Their community forums

They may have more insights about potential configuration changes for this hardware-level setting.

Apologies we couldn’t resolve this - please let us know if you need help with other matters.

---

<div class="post-metadata">

**Author:** ![Antar3s](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Antar3s](https://forum.sunfounder.com/u/Antar3s)\
**Post date:** [May 14, 2025, 8:04am UTC](https://forum.sunfounder.com/t/pironman5-kali-configuring-shutdown-to-deactivate-gpio-power/3154/7 "2025-05-14T08:04:47Z")

</div>

Hello,

I seem to have missed, that this LED is from the Raspi itself, not one of the Pironman’s boards.

Thank you for your help!
