<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>>Note that NetworkManager is not really the one setting up all the
communication with the modem, ModemManager is doing that, and
ModemManager itself is using libqmi internally.
<br>>You say it takes a couple of minutes to re-establish connection when
signal is lost after is received again. <br>>I'm assuming you have the
settings configured as auto-connect in NetworkManager, right?
<br><br>Right. Just "default" configuration.<br><br>>Also, it's not that libqmi "goes faster"; it likely is that
ModemManager does more steps than your single qmicli commands. <br>>And of
course, if using libqmi, you'll need to detect the disconnection and
re-connect yourself (i.e. a single --wda-start-network won't
reconnect).
<br><br>Yes...ModemManager handles it all with that funny DBUS thing....<br>I´ve added --debug info for it here.<br>I´ll check your --wda-set-data-format=802-3 suggestion.<br><br><div>> > Also, wen using NetworkManager I see lots of CDMA trial an error probes. I´m<br>> > not going to use CDMA. How can I disable it with libqmi?<br>> > Could you help me?<br>> <br>> Could you provide the messages you're talking about?<br><br>This are the messages. I´ve filtered some MM debug messages, excuse me if this is still too dense...<br><br>========================================<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: <debug> [1443708298.767330] [mm-iface-modem-cdma.c:936] mm_iface_modem_cdma_run_registration_checks(): Running registration checks (CDMA1x: 'yes', EV-DO: 'yes')<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: [/dev/cdc-wdm0] Sent message...#012<<<<<< RAW:#012<<<<<< length = 13#012<<<<<< data = 01:0C:00:00:03:01:00:C1:00:24:00:00:00<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: [/dev/cdc-wdm0] Sent message (translated)...<br>#012<<<<<< QMUX:#012<<<<<< length = 12#012<<<<<< flags = 0x00#012<<<<<< service = "nas"#012<<<<<< client = 1#012<<<<<< QMI:#012<<<<<< flags = "none"#012<<<<<< transaction = 193#012<br><<<<<< tlv_length = 0#012<<<<<< message = "Get Serving System" (0x0024)<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: [/dev/cdc-wdm0] Received message...#012>>>>>> RAW:#012>>>>>> length = 41#012<br>>>>>>> data = 01:28:00:80:03:01:02:C1:00:24:00:1C:00:02:04:00:00:00:00:00:21:05:00:00:03:04:01:00:11:01:00:00:01:06:00:02:02:02:00:01:00<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: [/dev/cdc-wdm0] Received message (translated)...#012>>>>>> QMUX:#012>>>>>> length = 40#012<br>>>>>>> flags = 0x80#012>>>>>> service = "nas"#012>>>>>> client = 1#012>>>>>> QMI:#012>>>>>> flags = "response"#012>>>>>> transaction = 193#012>>>>>> tlv_length = 28#012<br>>>>>>> message = "Get Serving System" (0x0024)#012>>>>>> TLV:#012>>>>>> type = "Result" (0x02)#012>>>>>> length = 4#012>>>>>> value = 00:00:00:00#012>>>>>> translated = SUCCESS#012<br>>>>>>> TLV:#012>>>>>> type = "Detailed Service Status" (0x21)#012>>>>>> length = 5#012>>>>>> value = 00:03:04:01:00#012<br>>>>>>> translated = [ status = 'none' capability = 'cs-ps' hdr_status = 'power-save' hdr_hybrid = 'yes' forbidden = 'no' ]#012>>>>>> TLV:#012>>>>>> type = "Data Service Capability" (0x11)#012<br>>>>>>> length = 1#012>>>>>> value = 00#012>>>>>> translated = {}#012>>>>>> TLV:#012>>>>>> type = "Serving System" (0x01)#012>>>>>> length = 6#012<br>>>>>>> value = 02:02:02:00:01:00#012<br>>>>>>> translated = [ registration_state = 'not-registered-searching' cs_attach_state = 'detached' ps_attach_state = 'detached' selected_network = 'unknown' radio_interfaces = '{ [0] = 'none '}' ]<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: <debug> [1443708298.801906] [mm-broadband-modem-qmi.c:4830] common_process_serving_system_cdma(): No CDMA info given...<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: <debug> [1443708298.802747] [mm-bearer.c:340] modem_cdma_registration_state_changed(): Bearer not allowed to connect, not registered in CDMA network<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: <debug> [1443708298.803601] [mm-bearer.c:340] modem_cdma_registration_state_changed(): Bearer not allowed to connect, not registered in CDMA network<br>Oct 1 16:04:58 MVC600 ModemManager.orig[1787]: <debug> [1443708298.804339] [mm-broadband-modem.c:7280] run_cdma_registration_checks_ready(): Modem not yet registered in a CDMA network... will recheck soon<br>Oct 1 16:05:01 MVC600 ModemManager.orig[1787]: <debug> [1443708301.730083] [mm-iface-modem-cdma.c:936] mm_iface_modem_cdma_run_registration_checks(): Running registration checks (CDMA1x: 'yes', EV-DO: 'yes')<br>Oct 1 16:05:01 MVC600 ModemManager.orig[1787]: [/dev/cdc-wdm0] Sent message...#012<<<<<< RAW:#012<<<<<< length = 13#012<<<<<< data = 01:0C:00:00:03:01:00:C2:00:24:00:00:00<br>...Same debug PDUs deleted for clarity<br>...<br>Oct 1 16:05:01 MVC600 ModemManager.orig[1787]: <debug> [1443708301.741037] [mm-broadband-modem-qmi.c:4830] common_process_serving_system_cdma(): No CDMA info given...<br>Oct 1 16:05:01 MVC600 ModemManager.orig[1787]: <debug> [1443708301.741284] [mm-bearer.c:340] modem_cdma_registration_state_changed(): Bearer not allowed to connect, not registered in CDMA network<br>Oct 1 16:05:01 MVC600 ModemManager.orig[1787]: <debug> [1443708301.741486] [mm-bearer.c:340] modem_cdma_registration_state_changed(): Bearer not allowed to connect, not registered in CDMA network<br>Oct 1 16:05:01 MVC600 ModemManager.orig[1787]: <debug> [1443708301.741601] [mm-broadband-modem.c:7280] run_cdma_registration_checks_ready(): Modem not yet registered in a CDMA network... will recheck soon<br>Oct 1 16:05:04 MVC600 ModemManager.orig[1787]: <debug> [1443708304.729812] [mm-iface-modem-cdma.c:936] mm_iface_modem_cdma_run_registration_checks(): Running registration checks (CDMA1x: 'yes', EV-DO: 'yes')<br>Oct 1 16:05:04 MVC600 ModemManager.orig[1787]: <debug> [1443708304.749012] [mm-broadband-modem-qmi.c:4830] common_process_serving_system_cdma(): No CDMA info given...<br><br>And this repeats forever.<br>==============================================<br><br>Also, this is what ModemManager tells me at boot. <br>Shouldn't it peek Sierra driver instead of Gobi?.(A bad udev rule? )<br><br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.889463] [main.c:61] bus_acquired_cb(): Bus acquired, creating manager...<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.891028] [mm-plugin-manager.c:788] load_plugins(): Looking for plugins in '/usr/lib/x86_64-linux-gnu/ModemManager'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.909078] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'Gobi'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.910197] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'AnyDATA'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.911262] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'Sierra'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.912316] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'Ericsson MBM'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.913311] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'Generic'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.914997] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'Option High-Speed'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.916440] [mm-plugin-manager.c:813] load_plugins(): Loaded plugin 'Option'<br>Oct 2 09:05:26 MVC600 NetworkManager[8845]: <info> NetworkManager (version 0.9.8.8) is starting...<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.916987] [mm-plugin-manager.c:838] load_plugins(): Successfully loaded 7 plugins<br>Oct 2 09:05:26 MVC600 NetworkManager[8845]: <info> Read config file /etc/NetworkManager/NetworkManager.conf<br>Oct 2 09:05:26 MVC600 NetworkManager[8845]: <info> WEXT support is enabled<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.920552] [main.c:79] name_acquired_cb(): Service name 'org.freedesktop.ModemManager1' was acquired<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.920890] [mm-manager.c:456] mm_manager_start(): Starting automatic device scan...<br>Oct 2 09:05:26 MVC600 NetworkManager[8845]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.937781] [mm-manager.c:495] mm_manager_start(): Finished device scan...<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.940106] [mm-plugin-manager.c:675] mm_plugin_manager_find_device_support(): (Plugin Manager) [/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1] Checking device support...<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.940837] [mm-plugin-manager.c:576] build_plugins_list(): (Plugin Manager) [ttyUSB0] Found '2' plugins to try...<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.941130] [mm-plugin-manager.c:580] build_plugins_list(): (Plugin Manager) [ttyUSB0] Will try with plugin 'Gobi'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.941427] [mm-plugin-manager.c:580] build_plugins_list(): (Plugin Manager) [ttyUSB0] Will try with plugin 'Generic'<br>Oct 2 09:05:26 MVC600 ModemManager.orig[8837]: <debug> [1443769526.942420] [mm-plugin.c:772] mm_plugin_supports_port(): (Gobi) [ttyUSB0] probe required: 'at, qcdm'<br>...<br>...<br></div> </div></body>
</html>