Control Gateway GPIOs & LEDs
Last modified by Xiaoling on 2023/06/01 17:01
Table of Contents:
1. Products LEDs Mapping
Model | OS | Global LED | PWR LED | LAN LED | WAN LED | WIFI LED | SENSOR LED | 4G control (Second +3.3v) | USB POWER (+5v) Control |
---|---|---|---|---|---|---|---|---|---|
LPS8 | Openwrt | GPIO28(BLUE), GPIO21(RED), GPIO22(GREEN) |
+3.3v | GPIO17(RED) | |||||
LPS8N | Openwrt | GPIO28(BLUE), GPIO21(RED), GPIO22(GREEN) |
+3.3v | GPIO17(RED) | GPIO16(BLUE), GPIO26(RED), GPIO27(GREEN) |
GPIO15 | |||
LG308 | Openwrt | GPIO28(RED) | +3.3v | GPIO13(RED) | GPIO17(RED) | GPIO0(RED) | GPIO15 | GPIO1 | |
DLOS8 | Openwrt | GPIO28(GREEN) | +3.3v | GPIO17(GREEN) | GPIO0(GREEN) | GPIO15 | GPIO1 | ||
HP0C LPS8V2 | Armbian | PA8(GREEN), PA9(RED) | +3.3v | EPHY-LINK-LED(GREEN), PA17(BLUE) |
PA7(RED) | ||||
HP0A | Armbian | PA8(GREEN) | +3.3v | EPHY-LINK-LED | PA9(RED) | PA7(RED) | PA17 | ||
IBB | Openwrt | GPIO28(GREEN) | +3.3v | GPIO13(GREEN) | GPIO17(GREEN) | GPIO0(GREEN) | SENSOR_LED | GPIO1 | |
LIG16 | Openwrt | GPIO28(RED) | +3.3v | GPIO22(GREEN) | GPIO17(GREEN) | GPIO0(GREEN) | GPIO21(GREEN) | ||
MS14N | Openwrt | GPIO28(GREEN) | +3.3v | GPIO13(GREEN) | GPIO17(GREEN) | GPIO0(GREEN) | SENSOR_LED | GPIO1 |
2. Control LEDs & GPIOs
2.1 OpenWrt Base OS
Reference: http://www.avrfreaks.net/wiki/index.php/Documentation:Linux/GPIO#gpio-sysfs
2.2 Armbian Base OS