novatel: improve probing for Dell branded modems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Libmbim |
Fix Released
|
Medium
|
|||
ModemManager |
Fix Released
|
High
|
|||
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
libmbim (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
modemmanager (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
network-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* The users can not use the WWAN of Sierra DW5809e (EM7305) or Sierra DW5811e (EM7455) to connect to Internet.
[Test Case]
* Insert the WWAN of Sierra DW5809e (EM7305) or Sierra DW5811e (EM7455).
* Insert the SIM, boot the Ubuntu system, and connect to Internet by NetworkManager.
[Regression Potential]
* No trivial regression so far.
[Other Info]
* There is no gateway information in Network Manager. (See the picture in comment #74)
* Some ISPs like TW Mobile in Taiwan don't need the gateway to connect to Internet.
* Some ISPs like Chunghwa Telecom in Taiwan do need the gateway to connect to Internet.
* We need to see the gateway information in Network Manager to cover all ISPs.
Dell rebrands modems from different vendors, including Novatel, Sierra and Ericsson. Until now we defaulted to the Novatel plugin when a Dell device was found, but then we're breaking newer MBIM Sierra Dell-branded modems, as we don't have MBIM support in the Novatel plugin.
So, we should try to improve the probing in the Novatel, Sierra and MBM plugins, so that they probe also Dell devices, and we'll then try to match via AT-probing which plugin should be handling the Dell device.
https:/
Could we backport this patch into trusty? Thanks!
Related branches
- Ubuntu branches: Pending requested
- Bin Li: Pending requested
-
Diff: 7408 lines (+6673/-382)33 files modified.pc/applied-patches (+7/-0)
.pc/dell-mbim-plugin.patch/plugins/Makefile.am (+419/-0)
.pc/dell-mbim-plugin.patch/plugins/novatel/mm-plugin-novatel.c (+127/-0)
.pc/mbm-common-library.patch/plugins/Makefile.am (+400/-0)
.pc/new-sierra-legacy-plugin.patch/plugins/Makefile.am (+411/-0)
.pc/new-sierra-legacy-plugin.patch/plugins/sierra/mm-plugin-sierra.c (+129/-0)
.pc/novatel-common-library.patch/plugins/Makefile.am (+381/-0)
.pc/novatel-custom-init.patch/plugins/Makefile.am (+379/-0)
.pc/novatel-custom-init.patch/plugins/novatel/mm-plugin-novatel.c (+259/-0)
.pc/sierra-common-library.patch/plugins/Makefile.am (+391/-0)
.pc/sierra-custom-init.patch/plugins/sierra/mm-common-sierra.c (+312/-0)
.pc/sierra-custom-init.patch/plugins/sierra/mm-common-sierra.h (+49/-0)
.pc/sierra-custom-init.patch/plugins/sierra/mm-plugin-sierra.c (+332/-0)
debian/changelog (+6/-0)
debian/patches/dell-mbim-plugin.patch (+566/-0)
debian/patches/mbm-common-library.patch (+49/-0)
debian/patches/new-sierra-legacy-plugin.patch (+295/-0)
debian/patches/novatel-common-library.patch (+51/-0)
debian/patches/novatel-custom-init.patch (+392/-0)
debian/patches/series (+7/-0)
debian/patches/sierra-common-library.patch (+54/-0)
debian/patches/sierra-custom-init.patch (+531/-0)
plugins/Makefile.am (+66/-17)
plugins/dell/mm-plugin-dell.c (+440/-0)
plugins/dell/mm-plugin-dell.h (+46/-0)
plugins/novatel/mm-common-novatel.c (+165/-0)
plugins/novatel/mm-common-novatel.h (+31/-0)
plugins/novatel/mm-plugin-novatel.c (+4/-138)
plugins/sierra/mm-common-sierra.c (+208/-0)
plugins/sierra/mm-common-sierra.h (+17/-0)
plugins/sierra/mm-plugin-sierra-legacy.c (+99/-0)
plugins/sierra/mm-plugin-sierra-legacy.h (+40/-0)
plugins/sierra/mm-plugin-sierra.c (+10/-227)
- Bin Li (community): Needs Fixing
- Mathieu Trudel-Lapierre: Approve
- Sebastien Bacher: Pending requested
-
Diff: 2001 lines (+1953/-0)9 files modifieddebian/changelog (+6/-0)
debian/patches/dell-mbim-plugin.patch (+569/-0)
debian/patches/mbm-common-library.patch (+46/-0)
debian/patches/new-sierra-legacy-plugin.patch (+291/-0)
debian/patches/novatel-common-library.patch (+47/-0)
debian/patches/novatel-custom-init.patch (+389/-0)
debian/patches/series (+7/-0)
debian/patches/sierra-common-library.patch (+50/-0)
debian/patches/sierra-custom-init.patch (+548/-0)
- Mathieu Trudel-Lapierre: Pending requested
- Shih-Yuan Lee: Pending requested
- Sebastien Bacher: Pending requested
-
Diff: 8349 lines (+7593/-401)33 files modified.pc/applied-patches (+7/-0)
.pc/dell-mbim-plugin.patch/plugins/Makefile.am (+561/-0)
.pc/dell-mbim-plugin.patch/plugins/novatel/mm-plugin-novatel.c (+127/-0)
.pc/mbm-common-library.patch/plugins/Makefile.am (+542/-0)
.pc/new-sierra-legacy-plugin.patch/plugins/Makefile.am (+553/-0)
.pc/new-sierra-legacy-plugin.patch/plugins/sierra/mm-plugin-sierra.c (+129/-0)
.pc/novatel-common-library.patch/plugins/Makefile.am (+523/-0)
.pc/novatel-custom-init.patch/plugins/Makefile.am (+521/-0)
.pc/novatel-custom-init.patch/plugins/novatel/mm-plugin-novatel.c (+267/-0)
.pc/sierra-common-library.patch/plugins/Makefile.am (+533/-0)
.pc/sierra-custom-init.patch/plugins/sierra/mm-common-sierra.c (+308/-0)
.pc/sierra-custom-init.patch/plugins/sierra/mm-common-sierra.h (+50/-0)
.pc/sierra-custom-init.patch/plugins/sierra/mm-plugin-sierra.c (+343/-0)
debian/changelog (+7/-0)
debian/patches/dell-mbim-plugin.patch (+576/-0)
debian/patches/mbm-common-library.patch (+50/-0)
debian/patches/new-sierra-legacy-plugin.patch (+298/-0)
debian/patches/novatel-common-library.patch (+51/-0)
debian/patches/novatel-custom-init.patch (+396/-0)
debian/patches/series (+7/-0)
debian/patches/sierra-common-library.patch (+54/-0)
debian/patches/sierra-custom-init.patch (+554/-0)
plugins/Makefile.am (+66/-17)
plugins/dell/mm-plugin-dell.c (+448/-0)
plugins/dell/mm-plugin-dell.h (+46/-0)
plugins/novatel/mm-common-novatel.c (+158/-0)
plugins/novatel/mm-common-novatel.h (+31/-0)
plugins/novatel/mm-plugin-novatel.c (+4/-146)
plugins/sierra/mm-common-sierra.c (+217/-0)
plugins/sierra/mm-common-sierra.h (+17/-0)
plugins/sierra/mm-plugin-sierra-legacy.c (+99/-0)
plugins/sierra/mm-plugin-sierra-legacy.h (+40/-0)
plugins/sierra/mm-plugin-sierra.c (+10/-238)
Changed in oem-priority: | |
status: | New → Incomplete |
Changed in modemmanager: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in modemmanager: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in modemmanager (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in oem-priority: | |
status: | Incomplete → In Progress |
tags: | added: trusty wily |
Changed in modemmanager: | |
status: | Confirmed → Fix Released |
Changed in oem-priority: | |
status: | In Progress → Confirmed |
Changed in libmbim (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
Changed in network-manager (Ubuntu Trusty): | |
status: | Confirmed → Fix Released |
Changed in modemmanager (Ubuntu Trusty): | |
status: | Confirmed → Fix Released |
Changed in network-manager (Ubuntu): | |
assignee: | Shih-Yuan Lee (fourdollars) → nobody |
Changed in network-manager (Ubuntu Trusty): | |
assignee: | Shih-Yuan Lee (fourdollars) → nobody |
Changed in libmbim (Ubuntu): | |
importance: | Undecided → High |
Changed in libmbim (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in modemmanager (Ubuntu): | |
importance: | Undecided → High |
Changed in modemmanager (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu Trusty): | |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
Changed in oem-priority: | |
status: | Confirmed → In Progress |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
Changed in network-manager (Ubuntu Trusty): | |
status: | Fix Released → In Progress |
Changed in modemmanager (Ubuntu Trusty): | |
status: | Fix Released → In Progress |
Changed in libmbim (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in network-manager (Ubuntu Trusty): | |
assignee: | Shih-Yuan Lee (fourdollars) → nobody |
assignee: | nobody → Shih-Yuan Lee (fourdollars) |
tags: |
added: verification-needed removed: verification-failed |
affects: | modemmanager → libmbim |
Changed in modemmanager: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
Dell rebrands modems from different vendors, including Novatel, Sierra and Ericsson. Until now we defaulted to the Novatel plugin when a Dell device was found, but then we're breaking newer MBIM Sierra Dell-branded modems, as we don't have MBIM support in the Novatel plugin.
So, we should try to improve the probing in the Novatel, Sierra and MBM plugins, so that they probe also Dell devices, and we'll then try to match via AT-probing which plugin should be handling the Dell device.
Quoting Dan:
"The case we care about for Novatel is AT-only devices. For those, here
is a list of commands we can use to identify them and some sample
replies. Built from the XU870 (Dell Wireless 5510), EX725, S720, E362.
We should only do this probing if the following are true:
1) The device only has AT ports; eg it does *not* have any QMI, MBIM, or
"net" ports
2) The device does *not* report LTE capabilities via ATI or GCAP
Early Novatel QMI-capable devices (like the E362) support these commands
(at$nw*) but of course we don't want to treat them as AT-only Novatel.
=======
ati1
Manufacturer: Novatel Wireless Incorporated
Manufacturer: NOVATEL WIRELESS INCORPORATED
AT+GMI
Novatel Wireless Incorporated
NOVATEL WIRELESS INCORPORATED
at$nwdegc (GSM/UMTS only)
(non-error response sufficient)
=======
If for some reason those don't work, here are some more esoteric ones
that we could potentially use:
AT$NWHFP? (gsm only)
AT$NWCSQ (gsm only)
AT$NWWDIS? (gsm only)
AT$NWERR? (gsm only)
AT$NWCFT? (gsm only)
AT$NWRAT? (gsm only)
AT$NWLTIME (cdma only)
at$nwrssi (cdma only)"
More context in the ML: lists.freedeskt op.org/ archives/ modemmanager- devel/2014- November/ 001636. html
http://