[MM 07] Huawei plugin: "Failed to find primary port"



Hello,

just got a new Huawei device here with 2 AT ports, 1 QCDM port and 1
QMI/wwan port.  They seem to be discovered OK, but for some reason the
modem creation fails with the message "Failed to find primary port":

ModemManager[13706]: <debug> [1346679918.952680] [mm-port-probe.c:245] mm_port_probe_set_result_qmi(): (usbmisc/cdc-wdm0) port is QMI-capable
ModemManager[13706]: <debug> [1346679918.956729] [mm-plugin-manager.c:302] plugin_supports_port_ready(): (Huawei): (usbmisc/cdc-wdm0) found best plugin for port
ModemManager[13706]: <debug> [1346679918.956846] [mm-plugin-manager.c:171] port_probe_context_finished(): (usbmisc/cdc-wdm0): found best plugin (Huawei) for device (/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2)
ModemManager[13706]: <debug> [1346679918.956957] [mm-plugin-manager.c:235] suggest_port_probe_result(): (Huawei): (net/wwan0) suggested plugin for port
ModemManager[13706]: <debug> [1346679918.957053] [mm-plugin-manager.c:246] suggest_port_probe_result(): (Huawei): (net/wwan0) deferred task completed, got suggested plugin
ModemManager[13706]: <debug> [1346679918.957097] [mm-plugin-manager.c:235] suggest_port_probe_result(): (Huawei): (tty/ttyUSB5) suggested plugin for port
ModemManager[13706]: <debug> [1346679918.957172] [mm-plugin-manager.c:235] suggest_port_probe_result(): (Huawei): (tty/ttyUSB4) suggested plugin for port
ModemManager[13706]: <debug> [1346679918.957272] [mm-plugin-manager.c:235] suggest_port_probe_result(): (Huawei): (tty/ttyUSB3) suggested plugin for port
ModemManager[13706]: <debug> [1346679918.957432] [mm-plugin.c:596] mm_plugin_supports_port(): (Huawei) checking port support (net,wwan0)
ModemManager[13706]: <debug> [1346679918.957531] [mm-plugin-manager.c:373] plugin_supports_port_ready(): (Huawei): (net/wwan0) task completed, got suggested plugin
ModemManager[13706]: <debug> [1346679919.018287] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): --> 'AT^CURC=0<CR>'
ModemManager[13706]: <debug> [1346679919.020021] [mm-serial-port.c:969] mm_serial_port_close(): (ttyUSB4) device open count is 0 (close)
ModemManager[13706]: <info>  [1346679919.020139] [mm-serial-port.c:984] mm_serial_port_close(): (ttyUSB4) closing serial port...
ModemManager[13706]: <info>  [1346679919.021297] [mm-serial-port.c:1005] mm_serial_port_close(): (ttyUSB4) serial port closed
ModemManager[13706]: <info>  [1346679919.021408] [mm-serial-port.c:1074] mm_serial_port_close_force(): (ttyUSB4) forced to close port
ModemManager[13706]: <warn>  [1346679919.021922] [mm-plugin-manager.c:283] plugin_supports_port_ready(): (Huawei): (tty/ttyUSB4) error when checking support: 'Defer needed'
ModemManager[13706]: <debug> [1346679919.022013] [mm-plugin-manager.c:320] plugin_supports_port_ready(): (tty/ttyUSB4): ignoring port unsupported by physical modem's plugin
ModemManager[13706]: <debug> [1346679919.022067] [mm-plugin-manager.c:140] port_probe_context_finished(): (tty/ttyUSB4): not supported by any plugin
ModemManager[13706]: <debug> [1346679919.022122] [mm-device.c:318] mm_device_ignore_port(): Fully ignoring port 'tty/ttyUSB4' from now on
ModemManager[13706]: <debug> [1346679919.022207] [mm-serial-port.c:969] mm_serial_port_close(): (ttyUSB5) device open count is 0 (close)
ModemManager[13706]: <info>  [1346679919.022262] [mm-serial-port.c:984] mm_serial_port_close(): (ttyUSB5) closing serial port...
ModemManager[13706]: <info>  [1346679919.023276] [mm-serial-port.c:1005] mm_serial_port_close(): (ttyUSB5) serial port closed
ModemManager[13706]: <info>  [1346679919.023404] [mm-serial-port.c:1074] mm_serial_port_close_force(): (ttyUSB5) forced to close port
ModemManager[13706]: <warn>  [1346679919.023535] [mm-plugin-manager.c:283] plugin_supports_port_ready(): (Huawei): (tty/ttyUSB5) error when checking support: 'Defer needed'
ModemManager[13706]: <debug> [1346679919.023633] [mm-plugin-manager.c:320] plugin_supports_port_ready(): (tty/ttyUSB5): ignoring port unsupported by physical modem's plugin
ModemManager[13706]: <debug> [1346679919.023671] [mm-plugin-manager.c:140] port_probe_context_finished(): (tty/ttyUSB5): not supported by any plugin
ModemManager[13706]: <debug> [1346679919.023726] [mm-device.c:318] mm_device_ignore_port(): Fully ignoring port 'tty/ttyUSB5' from now on
ModemManager[13706]: <debug> [1346679919.918737] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- 'AT^CURC=0'
ModemManager[13706]: <debug> [1346679919.922834] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- '<CR>'
ModemManager[13706]: <debug> [1346679919.923218] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- '<CR><LF>OK<CR><LF>'
ModemManager[13706]: <debug> [1346679919.923362] [huawei/mm-plugin-huawei.c:179] curc_ready(): (Huawei) unsolicited messages in secondary ports turned off
ModemManager[13706]: <debug> [1346679919.923447] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): --> 'AT^GETPORTMODE<CR>'
ModemManager[13706]: <debug> [1346679921.323856] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- 'AT^GETPORTMODE'
ModemManager[13706]: <debug> [1346679921.330707] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- '<CR>'
ModemManager[13706]: <debug> [1346679921.332966] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- '<CR><LF>^getportmode:type:WCDMA:Qualcomm,MDM:0,NDIS:1,DIAG:2,PCUI:3,CDROM:4<CR><LF><CR><LF>OK<CR><LF>'
ModemManager[13706]: <debug> [1346679921.333300] [huawei/mm-plugin-huawei.c:145] getportmode_ready(): (Huawei) port mode layout retrieved
ModemManager[13706]: <debug> [1346679921.333465] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): --> 'AT<CR>'
ModemManager[13706]: <debug> [1346679921.533602] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- 'AT'
ModemManager[13706]: <debug> [1346679921.534459] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- '<CR>'
ModemManager[13706]: <debug> [1346679921.534898] [mm-at-serial-port.c:392] debug_log(): (ttyUSB3): <-- '<CR><LF>OK<CR><LF>'
ModemManager[13706]: <debug> [1346679921.535112] [mm-port-probe.c:129] mm_port_probe_set_result_at(): (tty/ttyUSB3) port is AT-capable
ModemManager[13706]: <debug> [1346679921.535186] [mm-serial-port.c:969] mm_serial_port_close(): (ttyUSB3) device open count is 0 (close)
ModemManager[13706]: <info>  [1346679921.535251] [mm-serial-port.c:984] mm_serial_port_close(): (ttyUSB3) closing serial port...
ModemManager[13706]: <info>  [1346679921.536310] [mm-serial-port.c:1005] mm_serial_port_close(): (ttyUSB3) serial port closed
ModemManager[13706]: <info>  [1346679921.536351] [mm-serial-port.c:1074] mm_serial_port_close_force(): (ttyUSB3) forced to close port
ModemManager[13706]: <debug> [1346679921.536426] [mm-plugin-manager.c:302] plugin_supports_port_ready(): (Huawei): (tty/ttyUSB3) found best plugin for port
ModemManager[13706]: <info>  [1346679921.615606] [mm-device.c:459] mm_device_create_modem(): Creating modem with plugin 'Huawei' and '3' ports
ModemManager[13706]: <debug> [1346679921.615696] [huawei/mm-plugin-huawei.c:428] create_modem(): QMI-powered Huawei modem found...
ModemManager[13706]: <debug> [1346679921.616879] [huawei/mm-plugin-huawei.c:457] grab_port(): (usbmisc/cdc-wdm0) Port will have AT flags 'ppp'
ModemManager[13706]: <debug> [1346679921.616958] [mm-base-modem.c:248] mm_base_modem_grab_port(): (cdc-wdm0) type 'qmi' claimed by /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
ModemManager[13706]: <debug> [1346679921.616990] [huawei/mm-plugin-huawei.c:457] grab_port(): (net/wwan0) Port will have AT flags 'none'
ModemManager[13706]: <debug> [1346679921.617037] [mm-base-modem.c:248] mm_base_modem_grab_port(): (wwan0) type 'net' claimed by /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
ModemManager[13706]: <debug> [1346679921.617065] [huawei/mm-plugin-huawei.c:457] grab_port(): (tty/ttyUSB3) Port will have AT flags 'ppp'
ModemManager[13706]: <debug> [1346679921.617180] [mm-base-modem.c:248] mm_base_modem_grab_port(): (ttyUSB3) type 'at' claimed by /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
ModemManager[13706]: <info>  [1346679921.617238] [mm-serial-port.c:1074] mm_serial_port_close_force(): (ttyUSB3) forced to close port
ModemManager[13706]: <debug> [1346679921.617295] [mm-base-modem.c:1195] finalize(): Modem (Huawei) '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2' completely disposed
ModemManager[13706]: <warn>  [1346679921.617330] [mm-manager.c:145] find_device_support_ready(): Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2': Failed to find primary port



Bjørn


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]