Jump to content

Rock 3a stop LED


hyma

Recommended Posts

path to trigger file for leds is different across board families so I don't know exactly about that board. Try something like this:
 

root@pihole:~# find /sys -type f|grep led|grep trigger

/sys/devices/platform/leds/leds/orangepi:red:status/trigger
/sys/devices/platform/leds/leds/orangepi:green:pwr/trigger

 

In this case these are the led trigger files from an Orange Pi One. Use cat on the trigger file to know which values are allowed, then echo one into the file like

echo heartbeat > trigger

Link to comment
Share on other sites

thx for the quick response. i not see in this list any devices by color

 

find /sys -type f|grep led|grep trigger |grep devices     
/sys/devices/platform/leds/leds/wifi-led/trigger
/sys/devices/platform/leds/leds/user-led/trigger
/sys/devices/platform/fe310000.mmc/leds/mmc1::/trigger

 

cat /sys/devices/platform/leds/leds/user-led/trigger
none usb-gadget usb-host kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock usbport mmc0 disk-activity disk-read disk-write ide-disk mtd nand-disk [heartbeat] cpu cpu0 cpu1 cpu2 cpu3 activity default-on panic mmc1 rfkill-any rfkill-none stmmac-1:00:link stmmac-1:00:1Gbps stmmac-1:00:100Mbps stmmac-1:00:10Mbps
cat /sys/devices/platform/fe310000.mmc/leds/mmc1::/trigger
none usb-gadget usb-host kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock usbport mmc0 disk-activity disk-read disk-write ide-disk mtd nand-disk heartbeat cpu cpu0 cpu1 cpu2 cpu3 activity default-on panic [mmc1] rfkill-any rfkill-none stmmac-1:00:link stmmac-1:00:1Gbps stmmac-1:00:100Mbps stmmac-1:00:10Mbps
cat /sys/devices/platform/leds/leds/wifi-led/trigger
[none] usb-gadget usb-host kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock usbport mmc0 disk-activity disk-read disk-write ide-disk mtd nand-disk heartbeat cpu cpu0 cpu1 cpu2 cpu3 activity default-on panic mmc1 rfkill-any rfkill-none stmmac-1:00:link stmmac-1:00:1Gbps stmmac-1:00:100Mbps stmmac-1:00:10Mbps

 

Link to comment
Share on other sites

Then yours probably is not named with a color but with purpose. Simply try adjusting all of them and see what happens. You cannot do any harm doing so.

My best guess would be the user-led ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines