dms-uim-get-pin-status on Sierra MC7455

Peter Fässberg pf at leissner.se
Sun Jul 14 22:37:00 UTC 2019


Hi,

I'm trying to get PIN status from my MC7455 to no avail. I get "error: couldn't get PIN status: QMI protocol error (71): 'InvalidQmiCommand'"

I've tried 1.22.0 but after compiling 1.22.4 I get the same problem.

Anyone else that have seen this problem?

The modems firmware seems a bit old so maybe I should have tried to upgrade before sending this email...




// Peter


ati
Manufacturer: Sierra Wireless, Incorporated
Model: MC7455
Revision: SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
MEID: 359072064xxxxx
IMEI: 359072064xxxxxx
IMEI SV: 12
FSN: LQ851701xxxxxx
+GCAP: +CGSM

pf at apu3:~$ sudo qmicli --device=/dev/cdc-wdm0 --dms-uim-get-pin-status
error: couldn't get PIN status: QMI protocol error (71): 'InvalidQmiCommand'
pf at apu3:~$

pf at apu3:~$ sudo qmicli --device=/dev/cdc-wdm0 --dms-get-software-version
[/dev/cdc-wdm0] Software version: 1-00121-M9635TAAAANAZM-1.96273.1

pf at apu3:~$ qmicli -V

qmicli 1.22.0
Copyright (C) 2012-2019 Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

pf at apu3:~$ sudo qmicli -v --device=/dev/cdc-wdm0 --dms-uim-get-pin-status
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] Opening device with flags 'auto'...
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm port: qmi_wwan
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] automatically selecting QMI mode
[15 Jul 2019, 00:22:37] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is supported...
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02

[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] sent generic request (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

[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] 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:02

[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] received generic response (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:02
<<<<<<   translated = [ service = 'dms' cid = '2' ]

[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] Registered 'dms' (version unknown) client with ID '2'
[15 Jul 2019, 00:22:37] [Debug] Asynchronously getting PIN status...
[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:02:00:01:00:2B:00:00:00

[15 Jul 2019, 00:22:37] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 0
<<<<<<   message     = "UIM Get PIN Status" (0x002B)

[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 20
<<<<<<   data   = 01:13:00:80:02:02:02:01:00:2B:00:07:00:02:04:00:01:00:47:00

[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 19
<<<<<<   flags   = 0x80
<<<<<<   service = "dms"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 7
<<<<<<   message     = "UIM Get PIN Status" (0x002B)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 01:00:47:00
<<<<<<   translated = FAILURE: InvalidQmiCommand

error: couldn't get PIN status: QMI protocol error (71): 'InvalidQmiCommand'
[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] Releasing 'dms' client with flags 'release-cid'...
[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] Unregistered 'dms' client with ID '2'
[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 17
<<<<<<   data   = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02

[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] sent generic request (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:02
<<<<<<   translated = [ service = 'dms' cid = '2' ]

[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] 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:02

[15 Jul 2019, 00:22:38] [Debug] [/dev/cdc-wdm0] received generic response (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:02
<<<<<<   translated = [ service = 'dms' cid = '2' ]

[15 Jul 2019, 00:22:38] [Debug] Client released
[15 Jul 2019, 00:22:38] [Debug] Closed
pf at apu3:~$


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20190714/cfbfed52/attachment-0001.html>


More information about the libqmi-devel mailing list