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

Forum Jump:


Users browsing this thread: 2 Guest(s)