LED Status Rock64
#5
As t4_4t commented above, the green led is coupled directly to the 5v input to indicate power is present, so you can't control that!

If you do a ...

Code:
sudo sh -c "echo 'mmc0' > /sys/devices/platform/leds/leds/standby-led/trigger"

... that should make the red led flash when there is activity on the eMMC. Change standby-led to power-led if you want the white one to flash. Replace mmc0 with mmc1 if you are using a SD card. Note that it only flash when there is activity on the specified device, not when there is activity on other devices (i.e. it will only flash when there is activity on the microSD if set to mmc1, and will not flash if it was set to mmc0).

I'll leave it to someone else to explain how to make it stick... as this setting will be lost on reboot. DTS overlay? Or just shove it in rc.local?
  Reply


Messages In This Thread
LED Status Rock64 - by Dayve - 03-13-2018, 03:30 PM
RE: LED Status Rock64 - by pfeerick - 04-18-2018, 09:21 PM
RE: LED Status Rock64 - by thewonderer - 04-19-2018, 12:28 AM
RE: LED Status Rock64 - by t4_4t - 04-19-2018, 03:07 AM
RE: LED Status Rock64 - by pfeerick - 04-19-2018, 05:25 AM
RE: LED Status Rock64 - by mr.travo - 05-09-2018, 08:05 PM
RE: LED Status Rock64 - by pfeerick - 05-10-2018, 04:38 AM
RE: LED Status Rock64 - by mr.travo - 05-10-2018, 01:42 PM
RE: LED Status Rock64 - by pfeerick - 05-10-2018, 07:44 PM
RE: LED Status Rock64 - by psychedup - 05-11-2018, 02:22 PM
RE: LED Status Rock64 - by pfeerick - 05-12-2018, 03:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  1wire DS18b20 on Rock64? mypineme 4 1,791 07-17-2021, 04:20 AM
Last Post: Rocky64
  Rock64 4K60P HDR Media Board Computer 64 bit MarkHaysHarris777 8 8,184 07-14-2021, 11:52 PM
Last Post: jontumontu
  Any way to tell the rock64's hardware revision? kittyland 1 182 07-01-2021, 09:42 PM
Last Post: evilbunny
  Configuring Python GPIO Pin Control Rock64 www139 3 3,467 06-22-2021, 06:57 AM
Last Post: Mrfixit2001
  POE support for the Rock64 v3 h64poe 0 224 05-30-2021, 07:40 AM
Last Post: h64poe
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 1 368 05-21-2021, 05:44 PM
Last Post: tllim
  How to enable ES9023-based DAC hat on Rock64? lowry 2 604 03-18-2021, 03:44 PM
Last Post: zborgerd
  Display options for the Rock64 joey49 1 1,097 11-23-2020, 09:52 AM
Last Post: joey49
  Are HW design files available for ROCK64? irenek 1 1,422 09-29-2020, 05:57 PM
Last Post: tllim
  No sound from Rock64 DAC codebreaker 2 1,433 09-29-2020, 02:14 PM
Last Post: codebreaker

Forum Jump:


Users browsing this thread: 1 Guest(s)