Dell 5570 (Sierra) supported?

Bjørn Mork bjorn at mork.no
Tue Nov 25 04:41:56 PST 2014


Manuel Lauss <manuel.lauss at gmail.com> writes:

> [   11.932400] cdc_mbim 1-10:2.12: cdc-wdm0: USB WDM device
> [   11.932535] cdc_mbim 1-10:2.12 wwan0: register 'cdc_mbim' at usb-0000:00:14.0-10, CDC MBIM, 36:52:d9:a0:b8:97

Looks good, and the interface numbering does indeed indicate that this
is a Sierra device (they use interfaces 12 and 13 for MBIM on their
Qualcomm based modems).

> <debug> [000000.007862] [mm-plugin-manager.c:640] build_plugins_list(): (Plugin Manager) [cdc-wdm0] Found '2' plugins to try...
> <debug> [000000.007863] [mm-plugin-manager.c:644] build_plugins_list(): (Plugin Manager) [cdc-wdm0]   Will try with plugin 'Novatel'
> <debug> [000000.007864] [mm-plugin-manager.c:644] build_plugins_list(): (Plugin Manager) [cdc-wdm0]   Will try with plugin 'Generic'
> <debug> [000000.007871] [mm-plugin.c:767] mm_plugin_supports_port(): (Novatel) [cdc-wdm0] probe required: 'at'
> <debug> [000000.007873] [mm-port-probe.c:1353] mm_port_probe_run(): (usbmisc/cdc-wdm0) launching port probing: 'at'


This doesn't look so good, though...  Why do we end up probing this as
an 'at' port? No cdc-wdm0 device owned by the cdc_mbim driver should
ever be probed as anything but MBIM.  I don't know how this device
reacts, but there is a fair chance that some MBIM firmwares will barf at
random AT commands bveing thrown at them.

> <debug> [000020.323568] [mm-port-probe.c:162] mm_port_probe_set_result_at(): (usbmisc/cdc-wdm0) port is not AT-capable
> <debug> [000020.323588] [mm-port-serial.c:1296] mm_port_serial_close(): (cdc-wdm0) device open count is 0 (close)
> <debug> [000020.323592] [mm-port-serial.c:1312] mm_port_serial_close(): (cdc-wdm0) closing serial port...
> <debug> [000020.323627] [mm-port-serial.c:1361] mm_port_serial_close(): (cdc-wdm0) serial port closed
> <debug> [000020.323634] [mm-port-serial.c:1415] port_serial_close_force(): (cdc-wdm0) forced to close port
> <debug> [000020.323658] [mm-plugin-manager.c:462] plugin_supports_port_ready(): (Plugin Manager) (Novatel) [cdc-wdm0] found best plugin for port
> <debug> [000020.323662] [mm-plugin-manager.c:232] port_probe_context_finished(): (Plugin Manager) (Novatel) [cdc-wdm0]: found best plugin for device (/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10)
> <debug> [000020.323673] [mm-plugin-manager.c:361] suggest_single_port_probe_result(): (Plugin Manager) (Novatel) [wwan0] deferred task completed, got suggested plugin
> <debug> [000020.323678] [mm-plugin-manager.c:305] port_probe_context_finished(): (Plugin Manager) 'cdc-wdm0' port probe finished, still 1 running probes in this device (wwan0)
> <debug> [000020.323689] [mm-plugin.c:689] mm_plugin_supports_port(): (Novatel) [wwan0] probing deferred until result suggested
> <debug> [000020.323696] [mm-plugin-manager.c:549] plugin_supports_port_ready(): (Plugin Manager) (Novatel) [wwan0] task completed, got suggested plugin
> <debug> [000020.323699] [mm-plugin-manager.c:316] port_probe_context_finished(): (Plugin Manager) 'wwan0' port probe finished, last one in device
> <debug> [000020.323701] [mm-plugin-manager.c:138] find_device_support_context_complete_and_free(): (Plugin Manager) [/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10] device support check finished in '20.316538' seconds
> <info>  [000020.323708] [mm-device.c:509] mm_device_create_modem(): Creating modem with plugin 'Novatel' and '2' ports
> <warn>  [000020.323881] [mm-plugin.c:905] mm_plugin_create_modem(): Could not grab port (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported'

Now it looks like this never even tries MBIM at all.  Why is that?
Shouldn't the 'Generic' plugin end up probing it as MBIM?  At least
that's what happens with my EM7345:

ModemManager[27720]: <debug> [1416843975.186664] [mm-plugin-manager.c:640] build_plugins_list(): (Plugin Manager) [cdc-wdm0] Found '1' plugins to try...
ModemManager[27720]: <debug> [1416843975.187233] [mm-plugin-manager.c:644] build_plugins_list(): (Plugin Manager) [cdc-wdm0]   Will try with plugin 'Generic'
ModemManager[27720]: <debug> [1416843975.187860] [mm-plugin.c:767] mm_plugin_supports_port(): (Generic) [cdc-wdm0] probe required: 'mbim'
ModemManager[27720]: <debug> [1416843975.188331] [mm-port-probe.c:1353] mm_port_probe_run(): (usbmisc/cdc-wdm0) launching port probing: 'mbim'


Is this the 'Novatel' plugin messing up here?  Why is it matched at all?
Tha doesn't seem right.  Dell modems can be anything really.  You cannot
tell much from the vendor ID.


Bjørn


More information about the ModemManager-devel mailing list