can't read SIM IMSI information via qmi interface

dailijin dailijin126 at 126.com
Thu Mar 23 02:35:29 UTC 2017


Hi All,


My MC7455 sometimes can't detect SIM and and can't read IMSI information via below command. but I can confirm I plugin SIM and can read the information via AT command "AT+CIMI".


Is there someone encountered this issue before?


[root at tvupack]# qmicli  -d /dev/cdc-wdm13 --dms-uim-get-imsi  
error: operation failed: Transaction timed out
error: couldn't release client: Transaction timed out[/opt/tvu/TVUTransporter root at tvupack]
[root at tvupack]# qmicli  -d /dev/cdc-wdm13 --dms-uim-get-imsi  -v
[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Opening device with flags 'none'...
[23 Mar 2017, 02:27:36] [Debug] QMI Device at '/dev/cdc-wdm13' ready
[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Assuming service 'dms' is supported...
[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Allocating new client ID...
[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02


[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 15
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 4
<<<<<<   message     = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<<   type       = "Service" (0x01)
<<<<<<   length     = 1
<<<<<<   value      = 02
<<<<<<   translated = dms


[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Received message...
>>>>>> RAW:
>>>>>>   length = 24
>>>>>>   data   = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:12


[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 23
>>>>>>   flags   = 0x80
>>>>>>   service = "ctl"
>>>>>>   client  = 0
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Allocate CID" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Allocation Info" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = 02:12
>>>>>>   translated = [ service = 'dms' cid = '18' ]


[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Registered 'dms' (version unknown) client with ID '18'
[23 Mar 2017, 02:27:36] [Debug] Asynchronously getting UIM IMSI...
[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:12:00:01:00:43:00:00:00


[23 Mar 2017, 02:27:36] [Debug] [/dev/cdc-wdm13] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 18
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 0
<<<<<<   message     = "UIM Get IMSI" (0x0043)


[23 Mar 2017, 02:27:37] [Debug] [/dev/cdc-wdm13] Received message...
>>>>>> RAW:
>>>>>>   length = 29
>>>>>>   data   = 01:1C:00:80:02:0B:02:01:00:22:00:10:00:02:04:00:00:00:00:00:01:06:00:4D:43:37:34:35:35


[23 Mar 2017, 02:27:37] [Debug] [/dev/cdc-wdm13] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 28
>>>>>>   flags   = 0x80
>>>>>>   service = "dms"
>>>>>>   client  = 11
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 16
>>>>>>   message     = "Get Model" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Model" (0x01)
>>>>>>   length     = 6
>>>>>>   value      = 4D:43:37:34:35:35
>>>>>>   translated = MC7455


[23 Mar 2017, 02:27:37] [Debug] [/dev/cdc-wdm13] No transaction matched in received message
[23 Mar 2017, 02:27:40] [Debug] [/dev/cdc-wdm13] Received message...
>>>>>> RAW:
>>>>>>   length = 24
>>>>>>   data   = 01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:0B


[23 Mar 2017, 02:27:40] [Debug] [/dev/cdc-wdm13] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 23
>>>>>>   flags   = 0x80
>>>>>>   service = "ctl"
>>>>>>   client  = 0
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 2
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Release CID" (0x0023)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Release Info" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = 02:0B
>>>>>>   translated = [ service = 'dms' cid = '11' ]


[23 Mar 2017, 02:27:40] [Debug] [/dev/cdc-wdm13] No transaction matched in received message
error: operation failed: Transaction timed out
[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] Releasing 'dms' client with flags 'release-cid'...
[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] Unregistered 'dms' client with ID '18'
[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] Sent message...
<<<<<< RAW:
<<<<<<   length = 17
<<<<<<   data   = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:12


[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 16
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 5
<<<<<<   message     = "Release CID" (0x0023)
<<<<<< TLV:
<<<<<<   type       = "Release Info" (0x01)
<<<<<<   length     = 2
<<<<<<   value      = 02:12
<<<<<<   translated = [ service = 'dms' cid = '18' ]


[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] Received message...
>>>>>> RAW:
>>>>>>   length = 19
>>>>>>   data   = 01:12:00:80:00:00:01:01:22:00:07:00:02:04:00:01:00:05:00


[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 18
>>>>>>   flags   = 0x80
>>>>>>   service = "ctl"
>>>>>>   client  = 0
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 7
>>>>>>   message     = "Allocate CID" (0x0022)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 01:00:05:00
>>>>>>   translated = FAILURE: ClientIdsExhausted


[23 Mar 2017, 02:27:46] [Debug] [/dev/cdc-wdm13] No transaction matched in received message
[23 Mar 2017, 02:27:50] -Warning ** Error reading from istream: Resource temporarily unavailable
error: couldn't release client: Transaction timed out[



[root at tvupack]# ./com_at /dev/ttyUSB21 AT+CIMI
AT+CIMI
460067072049890


OK


--

Best Regards,
Dai,Lijin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170323/c3e1aa4a/attachment.html>


More information about the libqmi-devel mailing list