Skip to content

A simple program to control the status LEDs of your Raspberry Pi!

License

Notifications You must be signed in to change notification settings

Strawberry-Foundations/recontrolled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recontrolled - By Strawberry Foundations

What is recontrolled?

recontrolled is a rewrite of the old version of recontrolled, called ledcontrol. With recontrolled you can control the on-board LEDs of your Raspberry Pi. It is currently compatible with the Raspberry Pi 4 (Kernel 6.1+) You can turn on or off the Activity or Power LED. Or even let them blink in different rythm!

How does it work?

recontrolled was originally written in C, now it has been rewritten in Rust. It directly writes to the device files using std::fs::File and std::io::Write.

How can I install recontrolled?

We offer pre-built binaries. Go to our release page (Click here) and download the latest build.

However, you can also compile recontrolled yourself on your Raspberry Pi. You need rust and cargo for this. You can compile recontrolled with the following command:

cargo build --release

Supported Platforms

To start recontrolled, all you need to do is download the executable. Just execute it and you will get a help menu.
The important thing is that you need a Linux distribution that has /sys/class/leds/ACT and /sys/class/leds/PWR Otherwise recontrolled will not work

Model State Process
Pi 4
Pi 5
Pi 3B+
Pi 3B
Pi 3A+
Pi 1B+
Pi 1A+
Pi Zero
Pi Zero W
Pi Zero 2W
Pi 1B
Pi 2B

Fixes

You can try following fixes (/boot/config.txt) if recontrolled doesn't work on your Raspberry Pi (Check tested/supported platforms first!)

dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
dtparam=pwr_led_trigger=default-on
dtparam=pwr_led_activelow=off