Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide LED control on rpi 3B+ and 4B (moOde 6.4.2+)
#21
(05-28-2023, 02:24 PM)Nutul Wrote:
(05-28-2023, 12:36 PM)zazouboy Wrote: Hello Romain,
Hope this message will find you well. 
I used you little utility with the previous moOde versions successfully until I recently updated to the latest 8 version.
Maybe I am wrong or I made mistake, but it seems not to work anymore with the latest version. 
Anyone got it to work with moOde 8?

In recent Raspbian OS versions the names of the leds have changed from "led0" and "led1" to "ACT" and "PWR" respectively, so I believe the checksources.sh file needs to be modified, at the lines 10 and 11, replacing the LED=0 with LED="ACT" and LED=1- with LED="PWR" respectively.

In line 13, also, the "led" text just before "${LED}" should be removed for this change to work.

You got it Al Wink
Reply
#22
Thanks a lot again, I tried the suggested modifications and it works properly!
It really would be a cool option to add to the leds management in moOde. ;-)
Reply


Forum Jump: