feat: add all-off led action

This commit is contained in:
2026-05-15 15:57:10 +08:00
parent ac75a5f9b7
commit 4ff64b31d9
3 changed files with 46 additions and 4 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ blue:wan green:wlan mmc0:: red:power sim:en sim:en2 sim:sel sim:sel2
- 列出 `/sys/class/leds/` 下所有 LED
- 查看 brightness / max_brightness / 当前 trigger
- 打开 / 关闭 LED
- 打开 / 关闭单个 LED
- 页面顶部一键关闭全部 LED
- 调整亮度
- 切换 trigger,例如 `none``timer``netdev``mmc0` 等,具体取决于内核暴露的能力
- 设置 `timer` trigger 的 `delay_on` / `delay_off`