I'm doing several builds and testing different devices and this issue is 
persistent on the x86_64 build for the PC Engine APU hardware.
(I did not encounter it on the Espressobin v7 hardware.)

I have several modems but I am testing with a Sierra Wireless MC7455 which 
seems to be a popular one that is also raw-ip only.
As a quick-fix bringing the interface down and back up where the 
/lib/netifd/proto/qmi.sh script attempts to change-over to raw-ip seems to work 
but I'm not certain if its "the right way" to fix this issue. It seems to take 
a while so I think it's retrying later and working the second time.


                echo "Device does not support 802.3 mode. Informing driver of 
raw-ip only for $ifname .."
                ifconfig $ifname down
                echo "Y" > /sys/class/net/$ifname/qmi/raw_ip
                ifconfig $ifname up


Some snippets from the kernel log:

[    8.744638] qmi_wwan 1-1.3:1.8: cdc-wdm0: USB WDM device
[    8.751778] qmi_wwan 1-1.3:1.8 wwan0: register 'qmi_wwan' at 
usb-0000:00:13.0-1.3, WWAN/QMI device, fa:8c:eb:d2:d5:df
[    8.765196] qmi_wwan 1-1.3:1.10: cdc-wdm1: USB WDM device
[    8.772501] qmi_wwan 1-1.3:1.10 wwan1: register 'qmi_wwan' at 
usb-0000:00:13.0-1.3, WWAN/QMI device, fa:8c:eb:d2:d5:df
[    8.784460] usbcore: registered new interface driver qmi_wwan
[    8.793076] usbcore: registered new interface driver rndis_host
[    8.800987] usbcore: registered new interface driver sierra
[    8.806989] usbserial: USB Serial support registered for Sierra USB modem
...
[   13.569617] qmi_wwan 1-1.3:1.8 wwan0: Cannot change a running device


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to