Re: Initial integration of the new MM iface in NM



Den 01. nov. 2012 08:50, skrev Marius Kotsbak:

Next, I'm going to test with QMI.

That unfortunately didn't work well:

NetworkManager[28143]: <warn> (modem0) failed to connect modem: GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkTimeout: Network timeout NetworkManager[28143]: <info> (modem0): device state change: prepare -> failed (reason 'gsm-registration-timeout') [40 120 32]


ModemManager[27974]: <info> [1351757506.457724] [mm-iface-modem-simple.c:778] connect_auth_ready(): Simple connect started... ModemManager[27974]: <info> [1351757506.457900] [mm-iface-modem-simple.c:551] connection_step(): Simple connect state (4/10): Wait to get fully enabled ModemManager[27974]: <info> [1351757506.458108] [mm-iface-modem-simple.c:563] connection_step(): Simple connect state (5/10): Allowed mode ModemManager[27974]: <debug> [1351757506.458313] [mm-iface-modem-simple.c:311] set_allowed_modes_ready(): Will wait to settle down after updating allowed modes ModemManager[27974]: <info> [1351757509.029222] [mm-iface-modem-simple.c:586] connection_step(): Simple connect state (6/10): Bands ModemManager[27974]: <info> [1351757509.029391] [mm-iface-modem-simple.c:615] connection_step(): Simple connect state (7/10): Register ModemManager[27974]: <debug> [1351757509.029598] [mm-iface-modem-3gpp.c:381] mm_iface_modem_3gpp_register_in_network(): Launching automatic network registration...
ModemManager[27974]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 16
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 12
<<<<<<   tlv_length  = 4
<<<<<<   message     = "Initiate Network Register" (0x0022)
<<<<<< TLV:
<<<<<<   type       = "Action" (0x01)
<<<<<<   length     = 1
<<<<<<   value      = 01
<<<<<<   translated = 1
ModemManager[27974]: [/dev/cdc-wdm0] Received message...
>>>>>> QMUX:
>>>>>>   length  = 19
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 1
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 12
>>>>>>   tlv_length  = 7
>>>>>>   message     = "Initiate Network Register" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 01:00:25:00
>>>>>>   translated = FAILURE: UimUninitialized

But it seems to also fail with MM:

$ mmcli -m 1 --simple-connect="apn=www.internet.mtelia.dk"
error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkTimeout: Network timeout'

so I'm not sure if the error is in NM or MM. The command above finishes in no time, and I am at the same location that connected fine with 80% signal with the sierra modem in AT mode.

--
Marius



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