|
Actually M3NI I had fixed that already, if you run your program at that boot level if you pay attention, actually works... But! After it continues booting (I don't know why or when honestly) the system itself changes it function for it default (Default-ON), so the solution is to start the green LED just when your start your GUI, any of them, so my solution is (if you are using xserver ofcourse).
- Test you have all x servers dependencies (you must try a "startx" command into a terminal and it should open your GUI.
- At your home direction (usually in armbian is /home/pi/) check your .xinitrc file and if you don't have it create it
- Edit that text starting your graphical interface and sending the GREEN LED FUNCTION together.
FOR EXAMPLE if you are starting XFCE4
- exec echo heartbeat >/sys/class/leds/green_led/trigger &
- exec startxfce4
Copy code
if your xserver goes to that file for your personal configuration, and you are using Orange Pi's defauilt GUI, xfce4, it should start your graphical interface AND start beating your led, obviously you should use any function you want there.
Cheers! |
|