Fail to load SIM information during modem initialization when modem in CFUN 4 state

Ben Chan benchan at chromium.org
Wed Oct 9 21:01:13 PDT 2013


Hi Aleksander and Dan,

I've observed an issue on some modems. If the modem is initially in the
CFUN 4 state, the SIM interface isn't fully functional (e.g. +CIMI and
+CRSM would fail). When ModemManager initializes the modem in such state,
it fails to read ICCID, IMSI, etc, and would never load the information
again. Have you observed similar issues on your modems? I wonder if
ModemManager should reload SIM information after the modem is enabled
(after setting CFUN=1)?

Thanks,
Ben

2013-10-09T18:04:24.860375-07:00 localhost ModemManager[2033]: <debug>
loading power state...
2013-10-09T18:04:24.860451-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CFUN?<CR><LF>'
2013-10-09T18:04:24.976094-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CFUN: 4<CR><LF><CR><LF>OK<CR><LF>'
2013-10-09T18:04:24.976169-07:00 localhost ModemManager[2033]: <debug>
checking if unlock required...
2013-10-09T18:04:24.976219-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CPIN?<CR><LF>'
2013-10-09T18:04:24.984225-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
2013-10-09T18:04:24.992881-07:00 localhost ModemManager[2033]: <debug> SIM
is ready, and no need for the after SIM unlock step...
2013-10-09T18:04:24.992963-07:00 localhost ModemManager[2033]: <debug>
loading SIM identifier...
2013-10-09T18:04:24.993000-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CRSM=176,12258,0,0,10<CR><LF>'
2013-10-09T18:04:25.000186-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CRSM: 144,0<CR><LF><CR><LF>OK<CR><LF>'
2013-10-09T18:04:25.000228-07:00 localhost ModemManager[2033]: <debug>
loading SIM identifier...
2013-10-09T18:04:25.000276-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CRSM=176,12258,0,0,10<CR><LF>'
2013-10-09T18:04:25.008353-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CRSM: 144,0<CR><LF><CR><LF>OK<CR><LF>'
2013-10-09T18:04:25.008436-07:00 localhost ModemManager[2033]: <warn>
 couldn't load SIM identifier: 'Could not parse the CRSM response'
2013-10-09T18:04:25.008459-07:00 localhost ModemManager[2033]: <debug>
loading IMSI...
2013-10-09T18:04:25.008516-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CIMI<CR><LF>'
2013-10-09T18:04:25.016233-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CME ERROR: 13<CR><LF>'
2013-10-09T18:04:25.016317-07:00 localhost ModemManager[2033]: <debug> Got
failure code 13: SIM failure
2013-10-09T18:04:25.016338-07:00 localhost ModemManager[2033]: <warn>
 couldn't load IMSI: 'SIM failure'
2013-10-09T18:04:25.016355-07:00 localhost ModemManager[2033]: <debug>
loading Operator ID...
2013-10-09T18:04:25.016407-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CRSM=176,28589,0,0,4<CR><LF>'
2013-10-09T18:04:25.024497-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CRSM: 144,0<CR><LF><CR><LF>OK<CR><LF>'
2013-10-09T18:04:25.024547-07:00 localhost ModemManager[2033]: <warn>
 couldn't load Operator identifier: 'Cannot load Operator ID without IMSI'
2013-10-09T18:04:25.024568-07:00 localhost ModemManager[2033]: <debug>
loading Operator Name...
2013-10-09T18:04:25.024622-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CRSM=176,28486,0,0,17<CR><LF>'
2013-10-09T18:04:25.032573-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>+CRSM: 144,0<CR><LF><CR><LF>OK<CR><LF>'
2013-10-09T18:04:25.032620-07:00 localhost ModemManager[2033]: <warn>
 couldn't load Operator name: 'Could not parse the CRSM response'
2013-10-09T18:04:25.032658-07:00 localhost ModemManager[2033]: <debug>
loading own numbers...
2013-10-09T18:04:25.032693-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): --> 'AT+CNUM<CR><LF>'
2013-10-09T18:04:25.040195-07:00 localhost ModemManager[2033]: <debug>
(ttyACM0): <-- '<CR><LF>OK<CR><LF>'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20131009/9ecc528a/attachment.html>


More information about the ModemManager-devel mailing list