[OpenWrt-Devel] NCM fails to reconnect
malaakso at elisanet.fi
Sun Feb 22 03:27:52 EST 2015
> From: Sami Olmari [mailto:sami at olmari.fi]
> Sent: 22. helmikuuta 2015 1:39
> To: OpenWrt Development List
> Cc: Matti Laakso; John Crispin; Matti Laakso
> Subject: NCM fails to reconnect
> It seems MCN protocol still has some quirks left... it seems that whenever MCN connection gets disconnected for whatever reason, it can't be > brought back up... even yanking the dongle out and back in does not do basically anything... it gets detected etc, but nothing else happends...
> following logread it shows literally nothing. Like NCM-script isn't there doing it's magic anymore... "ifup wan"... nothing.. etc.. Only full reboot makes it to work again, until next ocnnection breakup happends...
> What should we do?
> Sami Olmari
I think that this problem appears when the device is /dev/cdc-wdm* instead of /dev/ttyUSB*. In this case the 3g.usb-script from package comgt doesn't set the interface back to available upon plugging the dongle in (after it has been set unavailable with proto_set_available "$interface" 0). It seems that QMI and MBIM have the same problem. However, the "wwan" package has a suitable wwan.usbmisc-script (but it is missing NCM at the moment). So we should probably just add ncm to wwan.usbmisc and set wwan to be a dependency of comgt-ncm, uqmi and umbim.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel