I am sure this is a simple thing that you would think has been covered plenty, but I swear I have read over countless posts and I cant get this to work. I found this SD card activity external LED - #9 by JackOrms which seems to be exactly what I want, but I cant for the life of me figure out how to get these commands to “import” the dts file ive written. I have put the file in the dt folder under the correct folder for my aml-s905x-cc and run “make” in the dir for the wiring tool, but it doesnt seem to do anything with my file. ive tried putting the dts file in the wiring tool folder and calling it directly with make or ldto, it just says
You need to put ledactivity in the libre-computer/aml-s905x-cc/dt/ directory and then run make. Afterwards, you can enable by running sudo ./ldto enable ledactivity
ive installed both of those, now I get this
root@MAINRIG:/opt/libretech-wiring-tool/libre-computer/aml-s905x-cc/dt# cat ledactivity.dts
/dts-v1/;
/plugin/;
I dont see how gpio-leds is wrong? its in this dts you linked. I changed the compatible statement to the one at the begining of your link, with and without gpio-leds it says “nothing to be done”
the problem earlier in my post was the " was the wrong character somehow, it looked like a " but slightly different. the script I posted just now does not give any indication of whats wrong, it just says “theres nothing to be done”. im sure its obvious to you because you are accustomed to looking at this stuff. I am not a programmer and my scripting abilities on linux are green.
edit:
I had been working in the folder install.sh installed it to in /opt. I ran make from the local git clone and it worked… I dont fully understand how make works I think.
and my script still doesnt work. I reverted to the script found in the link I posted initially and it also doesnt work