Hi Kelvin, 2017-07-19 14:51 GMT+02:00 Kelvin <kibos...@gmail.com>: > Hi > >> According to logs shared by Kelvin, the modem seems to be properly >> replying > > > Thanks, yes QMI commands seem to be working now but it fails to register on > a network. > > I've tried a SIM card for a different network provider now (EE) and the scan > response is: > > Jul 19 12:42:44 linaro-gnome ModemManager[802]: <debug> Running registration > checks (CS: 'yes', PS: 'yes', EPS: 'no') > Jul 19 12:42:44 linaro-gnome ModemManager[802]: [/dev/cdc-wdm0] Sent > message...#012<<<<<< RAW:#012<<<<<< length = 13#012<<<<<< data = > 01:0C:00:00:03:02:00:36:00:24:00:00:00 > Jul 19 12:42:44 linaro-gnome ModemManager[802]: [/dev/cdc-wdm0] Sent message > (translated)...#012<<<<<< QMUX:#012<<<<<< length = 12#012<<<<<< flags > = 0x00#012<<<<<< service = "nas"#012<<<<<< client = 2#012<<<<<< > QMI:#012<<<<<< flags = "none"#012<<<<<< transaction = 54#012<<<<<< > tlv_length = 0#012<<<<<< message = "Get Serving System" (0x0024) > Jul 19 12:42:44 linaro-gnome ModemManager[802]: [/dev/cdc-wdm0] Received > message...#012>>>>>> RAW:#012>>>>>> length = 76#012>>>>>> data = > 01:4B:00:80:03:02:02:36:00:24:00:3F:00:02:04:00:00:00:00:00:28:01:00:00:27:05:00:EA:00:1E:00:00:26:02:00:89:01:21:05:00:01:01:00:01:00:15:03:00:01:05:01:12:05:00:EA:00:1E:00:00:11:01:00:00:10:01:00:01:01:06:00:02:02:02:02:01:05 > Jul 19 12:42:44 linaro-gnome ModemManager[802]: [/dev/cdc-wdm0] Received > message (translated)...#012>>>>>> QMUX:#012>>>>>> length = 75#012>>>>>> > flags = 0x80#012>>>>>> service = "nas"#012>>>>>> client = 2#012>>>>>> > QMI:#012>>>>>> flags = "response"#012>>>>>> transaction = > 54#012>>>>>> tlv_length = 63#012>>>>>> message = "Get Serving > System" (0x0024)#012>>>>>> TLV:#012>>>>>> type = "Result" > (0x02)#012>>>>>> length = 4#012>>>>>> value = > 00:00:00:00#012>>>>>> translated = SUCCESS#012>>>>>> TLV:#012>>>>>> type > = 0x28#012>>>>>> length = 1#012>>>>>> value = 00#012>>>>>> > TLV:#012>>>>>> type = "MNC PCS Digit Include Status" > (0x27)#012>>>>>> length = 5#012>>>>>> value = > EA:00:1E:00:00#012>>>>>> translated = [ mcc = '234' mnc = '30' > includes_pcs_digit = 'no' ]#012>>>>>> TLV:#012>>>>>> type = "UMTS > Primary Scrambling Code" (0x26)#012>>>>>> length = 2#012>>>>>> value > = 89:01#012>>>>>> translated = 393#012>>>>>> TLV:#012>>>>>> type = > "Detailed Service Status" (0x21)#012>>>>>> length = 5#012>>>>>> > value = 01:01:00:01:00#012>>>>>> translated = [ status = 'limited' > capability = 'cs' hdr_status = 'none' hdr_hybrid = 'yes' forbidden = 'no' > ]#012>>>>>> TLV:#012>>>>>> type = "Roaming Indicator List" > (0x15)#012>>>>>> length = 3#012>>>>>> value = > 01:05:01#012>>>>>> translated = { [0] = '[ radio_interface = 'umts' > roaming_indicator = 'off' ] '}#012>>>>>> TLV:#012>>>>>> type = > "Current PLMN" (0x12)#012>>>>>> length = 5#012>>>>>> value = > EA:00:1E:00:00#012>>>>>> translated = [ mcc = '234' mnc = '30' description > = '' ]#012>>>>>> TLV:#012>>>>>> type = "Data Service Capability" > (0x11)#012>>>>>> length = 1#012>>>>>> value = 00#012>>>>>> > translated = {}#012>>>>>> TLV:#012>>>>>> type = "Roaming Indicator" > (0x10)#012>>>>>> length = 1#012>>>>>> value = 01#012>>>>>> > translated = off#012>>>>>> TLV:#012>>>>>> type = "Serving System" > (0x01)#012>>>>>> length = 6#012>>>>>> value = > 02:02:02:02:01:05#012>>>>>> translated = [ registration_state = > 'not-registered-searching' cs_attach_state = 'detached' ps_attach_state = > 'detached' selected_network = '3gpp' radio_interfaces = '{ [0] = 'umts '}' ] > Jul 19 12:42:44 linaro-gnome ModemManager[802]: <debug> Processing 3GPP > info... > Jul 19 12:42:44 linaro-gnome ModemManager[802]: <debug> Modem not yet > registered in a 3GPP network... will recheck soon > > > The --3gpp-scan is a bit different with this SIM card / network, it shows > 'current' for the correct network (EE) and forbidden for the others: > > linaro@linaro-gnome:~$ sudo mmcli -m 0 --3gpp-scan --timeout=300 > > Found 7 networks: > 23410 - O2 - UK (lte, forbidden) > 23415 - voda UK (lte, forbidden) > 23420 - 3 UK (umts, forbidden) > 23410 - O2 - UK (umts, forbidden) > 23415 - voda UK (gsm, forbidden) > 23415 - voda UK (umts, forbidden) > 23430 - EE (umts, current) > > > The SIM card / network I was using earlier looked like this while scanning: > > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: <debug> [1500458868.901761] > [mm-iface-modem-3gpp.c:761] mm_iface_modem_3gpp_run_registration_checks(): > Running registration checks (CS: 'yes', PS: 'yes', EPS: 'no') > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: [/dev/cdc-wdm0] Sent > message...#012<<<<<< RAW:#012<<<<<< length = 13#012<<<<<< data = > 01:0C:00:00:03:02:00:2F:00:24:00:00:00 > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: [/dev/cdc-wdm0] Sent > message (translated)...#012<<<<<< QMUX:#012<<<<<< length = 12#012<<<<<< > flags = 0x00#012<<<<<< service = "nas"#012<<<<<< client = 2#012<<<<<< > QMI:#012<<<<<< flags = "none"#012<<<<<< transaction = 47#012<<<<<< > tlv_length = 0#012<<<<<< message = "Get Serving System" (0x0024) > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: [/dev/cdc-wdm0] Received > message...#012>>>>>> RAW:#012>>>>>> length = 41#012>>>>>> data = > 01:28:00:80:03:02:02:2F:00:24:00:1C:00:02:04:00:00:00:00:00:21:05:00:00:01:00:01:00:11:01:00:00:01:06:00:02:02:02:00:01:00 > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: [/dev/cdc-wdm0] Received > message (translated)...#012>>>>>> QMUX:#012>>>>>> length = 40#012>>>>>> > flags = 0x80#012>>>>>> service = "nas"#012>>>>>> client = 2#012>>>>>> > QMI:#012>>>>>> flags = "response"#012>>>>>> transaction = > 47#012>>>>>> tlv_length = 28#012>>>>>> message = "Get Serving > System" (0x0024)#012>>>>>> TLV:#012>>>>>> type = "Result" > (0x02)#012>>>>>> length = 4#012>>>>>> value = > 00:00:00:00#012>>>>>> translated = SUCCESS#012>>>>>> TLV:#012>>>>>> type > = "Detailed Service Status" (0x21)#012>>>>>> length = 5#012>>>>>> > value = 00:01:00:01:00#012>>>>>> translated = [ status = 'none' > capability = 'cs' hdr_status = 'none' hdr_hybrid = 'yes' forbidden = 'no' > ]#012>>>>>> TLV:#012>>>>>> type = "Data Service Capability" > (0x11)#012>>>>>> length = 1#012>>>>>> value = 00#012>>>>>> > translated = {}#012>>>>>> TLV:#012>>>>>> type = "Serving System" > (0x01)#012>>>>>> length = 6#012>>>>>> value = > 02:02:02:00:01:00#012>>>>>> translated = [ registration_state = > 'not-registered-searching' cs_attach_state = 'detached' ps_attach_state = > 'detached' selected_network = 'unknown' radio_interfaces = '{ [0] = 'none > '}' ] > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: <debug> [1500458868.926057] > [mm-broadband-modem-qmi.c:4611] common_process_serving_system_3gpp(): No > 3GPP info given... > Jul 19 10:07:48 linaro-gnome ModemManager[3663]: <debug> [1500458868.927312] > [mm-iface-modem-3gpp.c:297] run_registration_checks_ready(): Modem not yet > registered in a 3GPP network... will recheck soon > > And --3gpp-scan on that card showed 'available' for all networks. > > Thanks for any hints,
Sorry, I'm not a qmi protocol expert so maybe I'm missing something, but those seem not to be useful to me for understanding the issue. Could you please send AT#MONI in one of the available serial ports and report the output? Has this modem ever worked properly with a different setup (e.g. SIM, OS...) ? The only real hint I can provide is to contact Telit technical support: they will probably ask you to update the firmware and retry and, if the problem persists, maybe collect a qxdm trace (that will definitely explain why the modem is not registering). Regards, Daniele > Kelvin. _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel