LED Status Rock64
#8
(05-10-2018, 04:38 AM)pfeerick Wrote:
(05-09-2018, 08:05 PM)mr.travo Wrote:
(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


SDA? Is that in the list of valid triggers? It certainly wasn't on my system, as shown further up this thread. If it's not in that list, you can push it all you like, it'll probably be ignored as an invalid option.

Code:
cat /sys/devices/platform/leds/leds/{standby-led,power-led}/trigger

No- you're right, it's not on the list. My question is which program determines what goes on that list? I am just wondering what all is "uphill" of triggers. Thanks for your help and input!

~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
  Are HW design files available for ROCK64? irenek 3 4,539 12-11-2023, 09:31 PM
Last Post: tllim
  Rock64 is unreliable after 3 years of service - power problem? ReleaseTheGeese 0 279 11-23-2023, 05:05 AM
Last Post: ReleaseTheGeese
  Rock64 PoE compatbility with Pi4 Hatt recent Single Board Computer offering from PINE kharak 1 975 04-26-2023, 11:38 PM
Last Post: tllim
  Case for the rock64 that supports the POE hat. o1CRiMSON1o 0 576 03-21-2023, 03:48 PM
Last Post: o1CRiMSON1o
Brick Rock64 usb2.0 Power Control Floating GPIO Tutorial Files & Notes MarkHaysHarris777 6 13,045 01-15-2023, 10:36 AM
Last Post: ds00
  rock64 totally brick dakobg 2 1,650 11-07-2022, 05:45 PM
Last Post: olivercfc
  3D-Printable Button Pegs for the ROCK64 Aluminium Case CounterPillow 2 3,413 08-04-2022, 01:31 AM
Last Post: Vicky Weimann PhD
  Where can I find the ROCK64 POE HAT Zoz 2 2,498 06-08-2022, 12:44 AM
Last Post: Zoz
Smile wooden case for ROCK64 killor 13 16,187 03-04-2022, 06:56 AM
Last Post: killor
  1wire DS18b20 on Rock64? mypineme 6 6,827 09-28-2021, 03:07 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 1 Guest(s)