Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2472 - netdev led trigger on wwan0 actived even the qmi has not been started #7276

Open
openwrt-bot opened this issue Aug 29, 2019 · 0 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

srdgame:

Supply the following if possible:

  • Device problem occurs on Orange PI One based board
  • Software versions of OpenWrt/LEDE release, packages, etc.
  • Steps to reproduce

This happens with Quectel EC25 LTE modem (USB interface, 2c7c:0125). The board is based on Allwinner H3, using openwrt-19.07-snapshot (kernel 4.14.140).

Following is the configuration, that 4g_wan will not be enabled when booted. But the LED binded with wwan0 been actived even the 4g_wan does not be enabled.

config interface '4g_wan' option proto 'qmi' option device '/dev/cdc-wdm0' option auto '0' config led 'led_modem' option name 'modem' option sysfs 'kooiot:green:modem' option trigger 'netdev' option mode 'link tx rx' option default '0' option dev 'wwan0'

Once we enabled the 4g_wan, and then disabled the 4g_wan, the LED will be turned off.

When system booted, ifconfig -a shows:

wwan0 Link encap:Ethernet HWaddr AA:C8:51:F9:2A:67 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

when 4g_wan enabled and disabled, ifconfig -a shows:

wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 POINTOPOINT NOARP MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:636 (636.0 B) TX bytes:1192 (1.1 KiB)
@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

2 participants