Comments (9)
yeah same here... people seem to ask about it, so thought at least some basic instructions would help.
also my real dream is that it's an armbian-config feature
https://armbian.atlassian.net/browse/AR-449
from documentation.
Yes and no. It is another confirmation that there is no standardization between SoCs...
from documentation.
I mostly do this the noob way:
du -a /sys|grep led|grep trigger
echo heartbeat > /sys/whatever/led/i/need/trigger
🤦
from documentation.
I usually only use on, off or heartbeat on red/green led. I don't know on which familiy more stuff is possible and don't even know what stuff this might be like using led to monitor disk/net activity, cpu usage or whatever...
from documentation.
Is this standardised enough across different hardware? This could be added rather to armbian-config, but well if there are few lines in the docs, it can't hurt.
from documentation.
From my guts feel no. At least OPis have orangepi
as string somewhere in the path to the led trigger files. Did not have a chance yet to compare. I'll get to it this weekend hopefully. Have an H3, H6 and RK3399 up to check
from documentation.
Nanopi R4S:
0 ./devices/platform/gpio-leds/leds/status_led/trigger
0 ./devices/platform/gpio-leds/leds/lan_led/trigger
0 ./devices/platform/gpio-leds/leds/wan_led/trigger
Orange Pi One Plus:
0 ./devices/platform/leds/leds/orangepi:red:power/trigger
0 ./devices/platform/leds/leds/orangepi:green:status/trigger
Orange Pi One:
0 ./devices/platform/leds/leds/orangepi:red:status/trigger
0 ./devices/platform/leds/leds/orangepi:green:pwr/trigger
from documentation.
Setting the led at startup is a feature I miss a lot, so I propose myself to make the necessary configuration section to armbian-config and other changes/scripts to make it work.
Names are not standardized at all. So my idea would be to propose, as a list, all the content of /sys/class/leds
to the user (maybe filter out the input devices leds), and let the user choose the led she wants to configure.
There are also extended options for some specific triggers that can be dealt with. For example, the timer trigger spawns two other filesystem objects that control the on time and the off time. I would ignore these extended configurations options for now.
from documentation.
is this helpful?
https://armbian.lane-fu.com/linx/0ql9mql4.txt
from documentation.
Related Issues (20)
- [ReadMe.md]:Build parameters... is a blink link HOT 3
- Provide a nmcli alternative to create AP HOT 3
- device support search results vs 404 HOT 4
- test
- Logo not shown in certain page HOT 1
- Outdated documentation MAC address pine64 HOT 1
- Setting MAC address extra possibility HOT 1
- OLIMEX Teres-A64: No known limitations -> Update product page HOT 1
- Improved link for PINE64 to documentation HOT 2
- Board specifications filtering website doesn't work HOT 3
- LIB_TAG is not supported anymore HOT 1
- CREATE_PATCHES no longer supported
- KERNEL_CONFIGURE build option deprecated
- lib.config doesn't work but lib.conf does
- IRC FAQ indentions broken HOT 11
- Incorrect references to A1/A2 cards only being from sandisk HOT 1
- Documentation is out of date HOT 9
- How to use custom scripts to build Armbain HOT 1
- Fix latest release info on Wikipedia HOT 16
- Changelog typo v25.5.1 vs correct v24.5.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documentation.