TL-MR6400 V5 QMI is working but no LED light for LTE

Hi,

I have successfully installed/configured OpenWrt (v23.05.0), uqmi and luci-proto-qmi packages but the LTE (4G) LED light does not light up.

I have read somewhere that some people have managed to fix this but could not find those links :frowning:

Any help is appreciated :slight_smile:

Please show how it is configured now - post a fragment of your /etc/config/system

Here it is:

config system
        option hostname 'OpenWrt'
        option timezone 'UTC'
        option ttylogin '0'
        option log_size '64'
        option urandom_seed '0'

config timeserver 'ntp'
        option enabled '1'
        option enable_server '0'
        list server '0.openwrt.pool.ntp.org'
        list server '1.openwrt.pool.ntp.org'
        list server '2.openwrt.pool.ntp.org'
        list server '3.openwrt.pool.ntp.org'

config led 'led_lan'
        option name 'lan'
        option sysfs 'white:lan'
        option trigger 'switch0'
        option port_mask '0x07'

config led 'led_wan'
        option name 'wan'
        option sysfs 'white:wan'
        option trigger 'switch0'
        option port_mask '0x08'

It looks like you never configured what you need. Please refer to https://openwrt.org/docs/guide-user/base-system/led_configuration

I have read the link you sent and configured /etc/config/system as follows:

config led 'led_lan'
        option name 'lan'
        option sysfs 'white:lan'
        option trigger 'switch0'
        option port_mask '0x07'

config led 'led_wan'
        option name 'wan'
        option sysfs 'white:wan'
        option trigger 'switch0'
        option port_mask '0x08'

config led 'led_wifi'
        option name 'wifi'
        option sysfs 'white:wlan'
        option trigger 'phy0tpt'

config led 'led_4g'
        option name '4g'
        option sysfs 'white:wan'
        option trigger 'netdev'
        option dev 'wwan0'
        list mode 'link'
        list mode 'tx'
        list mode 'rx'

config led 'led_signal_1'
        option name 'signal_1'
        option sysfs 'white:signal1'
        option trigger 'netdev'
        option dev 'wwan0'
        list mode 'link'

The LED (4g) lights up now but I would also like to make the signal strength meter work (I'm just toying with white.signal1 above).

I read somewhere that I'll have to write a script for this but I'm really new to OpenWrt and I don't know how to do that :frowning: .