LED Status Rock64
#6
(04-19-2018, 05:25 AM)pfeerick Wrote: 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?

Thank you for this! I have been playing around with this trying to figure a way out to getting the sda1 drive to trigger the red stand-by light. I went ahead and put sda and sda1 in the trigger file but the save won't hold. I go through the motions of savings and then when I am done, I pull another cat on trigger and it shows it as unchanged. Any idea what I am doing wrong? Is it pulling that data from somewhere else?

Thanks!

~T
  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,795 07-17-2021, 04:20 AM
Last Post: Rocky64
  Rock64 4K60P HDR Media Board Computer 64 bit MarkHaysHarris777 8 8,199 07-14-2021, 11:52 PM
Last Post: jontumontu
  Any way to tell the rock64's hardware revision? kittyland 1 189 07-01-2021, 09:42 PM
Last Post: evilbunny
  Configuring Python GPIO Pin Control Rock64 www139 3 3,478 06-22-2021, 06:57 AM
Last Post: Mrfixit2001
  POE support for the Rock64 v3 h64poe 0 226 05-30-2021, 07:40 AM
Last Post: h64poe
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 1 378 05-21-2021, 05:44 PM
Last Post: tllim
  How to enable ES9023-based DAC hat on Rock64? lowry 2 607 03-18-2021, 03:44 PM
Last Post: zborgerd
  Display options for the Rock64 joey49 1 1,103 11-23-2020, 09:52 AM
Last Post: joey49
  Are HW design files available for ROCK64? irenek 1 1,427 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)