On Tue, Apr 5, 2016 at 7:02 PM, Dan Williams <d...@redhat.com> wrote: > On Tue, 2016-04-05 at 10:56 +0200, Yegor Yefremov wrote: >> I have a problem with SIM7100E. Though kernel creates wwan0 device, >> it >> is not visible in ModemManager. > > Try the following patch if you can; also ensure you are building > ModemManager with QMI support (which is the default). Basically, we've > never seen a QMI SimTech device before, and the SimTech plugin is only > built to work with PPP-style devices. So it may work but just not use > the wwan0 port. This patch will move your device to the generic QMI > plugin: > > diff --git a/plugins/simtech/mm-plugin-simtech.c > b/plugins/simtech/mm-plugin-simtech.c > index a38942d..941e2db 100644 > --- a/plugins/simtech/mm-plugin-simtech.c > +++ b/plugins/simtech/mm-plugin-simtech.c > @@ -113,6 +113,7 @@ mm_plugin_create (void) > static const gchar *subsystems[] = { "tty", NULL }; > static const guint16 vendor_ids[] = { 0x1e0e, /* A-Link (for now) */ > 0 }; > + static const gchar *forbidden_drivers[] = { "qmi_wwan", "cdc_mbim", NULL > }; > > return MM_PLUGIN ( > g_object_new (MM_TYPE_PLUGIN_SIMTECH, > @@ -121,6 +122,7 @@ mm_plugin_create (void) > MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, > MM_PLUGIN_ALLOWED_AT, TRUE, > MM_PLUGIN_ALLOWED_QCDM, TRUE, > + MM_PLUGIN_FORBIDDEN_DRIVERS, forbidden_drivers, > NULL)); > }
Thanks for the fix. Everything is working as expected. Tested with SIM5360E and SIM7100E. Will this change be included into upcoming 1.6.0 release? Tested-by: Yegor Yefremov <yegorsli...@googlemail.com> Yegor _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel