What is the correct way to write into the 4 LEDs on Linux? I tried the following command but I get ‘permission denied’ error.
$ cd /sys/class/leds/ap8016-sbc:green:user1
$ sudo echo 1 > brightness.
This command worked on the same device while running ‘Android’.
Build tried: boot-linaro-vivid-qcom-snapdragon-arm64-20150710-61.