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)); } Dan > # mmcli -m 5 > > /org/freedesktop/ModemManager1/Modem/5 (device id > '3c942a37f458697974838e1226b26ded4c5644d6') > ------------------------- > Hardware | manufacturer: 'SIMCOM INCORPORATED' > | model: 'SIMCOM_SIM7100E' > | revision: '4534B03SIM7100E' > | supported: 'gsm-umts, lte' > | current: 'gsm-umts, lte' > | equipment id: '866802020078228' > ------------------------- > System | device: > '/sys/devices/platform/44000000.ocp/4a064000.usbhshost/4a064c00.ehci/ > usb1/1-1/1-1.2' > | drivers: 'qmi_wwan, option1' > | plugin: 'SimTech' > | primary port: 'ttyUSB2' > | ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), ttyUSB3 > (at)' > ------------------------- > Numbers | own : '+491781364987' > ------------------------- > Status | lock: 'none' > | unlock retries: 'unknown' > | state: 'disabled' > | power state: 'on' > | access tech: 'unknown' > | signal quality: '0' (cached) > ------------------------- > Modes | supported: 'allowed: 2g; preferred: none > | allowed: 3g; preferred: none > | allowed: 2g, 3g; preferred: none > | allowed: 2g, 3g; preferred: 2g > | allowed: 2g, 3g; preferred: 3g > | allowed: 2g, 3g, 4g; preferred: none' > | current: 'allowed: any; preferred: none' > ------------------------- > Bands | supported: 'unknown' > | current: 'unknown' > ------------------------- > IP | supported: 'ipv4, ipv6, ipv4v6' > ------------------------- > 3GPP | imei: '866802020078228' > | enabled locks: 'none' > | operator id: 'unknown' > | operator name: 'unknown' > | subscription: 'unknown' > | registration: 'unknown' > ------------------------- > SIM | path: '/org/freedesktop/ModemManager1/SIM/2' > > ------------------------- > Bearers | paths: 'none' > > If I unload option driver and restart MM, then it sees wwan0 > interface > and I can connect and get IP via DHCP. > > I've attached MM's debug log. > > This commit added SIM7100E [1] > > [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/c > ommit/drivers/usb/serial/option.c?id=3158a8d416f4e1b79dcc867d67cb5001 > 3140772c > > Yegor > _______________________________________________ > ModemManager-devel mailing list > ModemManager-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel