LED use, customization ?
#5
(12-16-2020, 10:33 PM)lat Wrote: BTW, I wasn't able to make any LED work at all Sad

OK, open a terminal and first check what you are running, e.g.:
Code:
$ uname -a
Linux dukla 5.10.0-1-danctnix #1 SMP Tue Dec 15 09:44:29 +07 2020 aarch64 GNU/Linux

Then grab superuser permissions:
Code:
$ sudo su
[root@dukla alarm]#

Then, to e.g. set blue LED to flash when eMMC is used:
Code:
# echo mmc2 > '/sys/class/leds/blue:indicator/trigger'
[root@dukla alarm]#

and exit, first from superuser then from terminal:
Code:
# exit
exit
alarm@dukla:~$ exit
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC


Messages In This Thread
LED use, customization ? - by lat - 12-12-2020, 08:05 AM
RE: LED use, customization ? - by dukla2000 - 12-12-2020, 12:13 PM
RE: LED use, customization ? - by Lousy Fisherman - 12-13-2020, 10:16 AM
RE: LED use, customization ? - by lat - 12-16-2020, 10:33 PM
RE: LED use, customization ? - by dukla2000 - 12-17-2020, 05:56 AM
RE: LED use, customization ? - by lat - 12-17-2020, 08:54 AM
RE: LED use, customization ? - by kqlnut - 12-17-2020, 12:55 PM
RE: LED use, customization ? - by moodroid - 12-23-2020, 05:32 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)