Router SNR CPE-ME2-Lite https://openwrt.org/toh/hwdata/snr/snr_cpe-me2-lite
I try last stable and trunk firmware. Led indicator does't light on 5GHz. 2.4GHz working good.
Factory image is a fork of OpenWRT and 5GHz on factory image working.
Some useful data from factory firmware:
cat /sys/kernel/debug/gpio
GPIOs 0-31, platform/1e000600.gpio, 1e000600.gpio:
gpio-14 ( |? ) out hi
gpio-15 ( |? ) out lo
gpio-18 ( |reset ) in hi
gpio-19 ( |�� ) out hi
GPIOs 32-63, platform/1e000600.gpio, 1e000600.gpio:
GPIOs 64-95, platform/1e000600.gpio, 1e000600.gpio:
cat /etc/config/system
config system
option hostname 'SNR-CPE-ME2-Lite'
option zonename 'Asia/Yekaterinburg'
option timezone '<+05>-5'
option ttylogin '0'
option log_size '64'
option urandom_seed '0'
option snr_defaults_set '1'
option snr_mode_last 'router'
config timeserver 'ntp'
option enabled '1'
option enable_server '0'
list server '0.ru.pool.ntp.org'
config led 'led_sys'
option name 'sys'
option sysfs 'snr-cpe-me2-lite:green:sys'
option default '1'
config led 'led_vpn'
option name 'vpn'
option sysfs 'snr-cpe-me2-lite:green:vpn'
option trigger 'netdev'
option mode 'link tx rx'
option dev 'vpn'
I think LED connected to WiFi chip MT7613BEN to his gpio pin. Maybe need to change something in mt76 driver for this chip in OpenWRT?
I find in old factory firmware following command:
if [ "$CONFIG_RT_SECOND_IF_MT7613E" = "y" ] && [ "$CONFIG_MT7613_AP_LED_CONTROL_SUPPORT" = "y" ]; then
EN5G=`nvram_get 2860 RadioOnINIC`
if [ "$EN5G" = "0" ]; then
iwpriv rai0 set led_setting=01-00-00-00-00-00-00-01
else
iwpriv rai0 set led_setting=01-00-00-00-02-00-00-02
fi
fi
I try manual set LED status in current OpenWRT firmware: