FS#1424 - usbmode sits in loop after install #6377
OpenWrt Snapshot r6397-7cc9914
Huawei ME909s-120 LTE Card (12d1:15c1) on a PC Engines APU2 (amd64) in MBIM Mode.
usbmode sits in a loop right after installation, doesn't switch the Modem in MBMI mode and thus no /dev/cdc-wdm0 device is created and prints constantly:
[ 59.838090] usb 1-1.3: usbfs: process 6946 (usbmode) did not claim interface 1 before use
Install usb-modeswitch on OpenWrt Snapshot r6397-7cc9914
Tried LEDE 17.01.4 r3560-79f57e422d without success, but messages are only printed once after "usbmode -s" is called, also there isn't a cdc-wdm0 device created.
This HW config is working fine with cdc_mbim on Debian with a 4.9 Kernel and their usb-modeswitch implementation.
The text was updated successfully, but these errors were encountered:
I am having the same issue. Did you find a solution?
After the change, device is recognized as wwan0 and everything is good
Sydney, have a look at this
Thanks. I'm sorry for replying this late.
No, not really.
IIRC, i "solved" it by having an rc.local script, something like echoing 0, sleeping for a few seconds, echo 3 the bConfigurationValue, like you already mentioned.
Also, my etc/config/network contained:
config interface 'wwan0'
config interface 'LTE'
Yes, so if they fix
I am right now using 18.06.2 the default bConfigurationValue which is 2. It loads cdc_ether and creates wwan0. I just setup dhclient on wwan0 and that seems to be enough.
I use the /etc/init.d/ncm-network script I have which use NDISDUP to tell the device to make connection. The script is in this guide:
I am not exactly sure what mbim may have over what I am using right now. Perhaps it detects if connection goes offline? I also have a script which checks internet connectivity (which is the last script on that guide actually).
I think for now I will not do changes to my system as I need access to AT commands, although my solution is also not ideal. Just out of curiosity, you do not have /dev/ttyUSB0 etc. when you switch to bConfigurationValue 3 right? Because I see no serial parts when I switch to 3.
The problem for me is that I am sending an AT command
to the modem to force it to use packet switched (PS) mode only. Because the SIM I use is a operator made clone of my normal SIM and when I receive a phone call, both SIMs receive it. If I allow circuit switched (CS) mode, then the router drops to 3G for ringing, freezing the connection for few seconds and in some cases do not go back to 4G.
About MBIM, I just didn't know how to configure it as there is literally no documentation about it and luci does not support it yet. But also I need to force modem to data only mode so I need the tty port so... tough luck for me :)