what does error DeviceUnsupported mean?
Christophe Ronco
c.ronco-externe at kerlink.fr
Wed Jan 18 14:27:23 UTC 2017
Nothing to do with the main today's subject (firmware upgrade).
I have started to implement a new command (nas-get-dual-standby-preference).
Here is what my modem answers to this command:
root at klk-lpbs_040070:~ # qmicli -d /dev/cdc-wdm0
--nas-get-dual-standby-preference -v
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Opening device with
flags 'none'...
[18 Jan 2017, 13:37:17] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Assuming service 'nas'
is supported...
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[18 Jan 2017, 13:37:17] [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:03
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] 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 = 03
<<<<<< translated = nas
[18 Jan 2017, 13:37:17] [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:03:06
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] 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 = 03:06
>>>>>> translated = [ service = 'nas' cid = '6' ]
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Registered 'nas'
(version unknown) client with ID '6'
[18 Jan 2017, 13:37:17] [Debug] Asynchronously getting dual standby
preference ...
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 13
<<<<<< data = 01:0C:00:00:03:06:00:01:00:5C:00:00:00
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 12
<<<<<< flags = 0x00
<<<<<< service = "nas"
<<<<<< client = 6
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 0
<<<<<< message = "Get Dual Standby Preference" (0x005C)
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data =
01:13:00:80:03:06:02:01:00:5C:00:07:00:02:04:00:01:00:19:00
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "nas"
>>>>>> client = 6
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 1
>>>>>> tlv_length = 7
>>>>>> message = "Get Dual Standby Preference" (0x005C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:19:00
>>>>>> translated = FAILURE: DeviceUnsupported
error: couldn't get dual standby preference: QMI protocol error (25):
'DeviceUnsupported'
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Releasing 'nas' client
with flags 'release-cid'...
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] Unregistered 'nas'
client with ID '6'
[18 Jan 2017, 13:37:17] [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:03:06
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] 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 = 03:06
<<<<<< translated = [ service = 'nas' cid = '6' ]
[18 Jan 2017, 13:37:17] [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:03:06
[18 Jan 2017, 13:37:17] [Debug] [/dev/cdc-wdm0] 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 = 03:06
>>>>>> translated = [ service = 'nas' cid = '6' ]
[18 Jan 2017, 13:37:17] [Debug] Client released
root at klk-lpbs_040070:~ #
Do you know what error DeviceUnsupported mean?
I use a MC7430 modem.
It has a Snapdragon X7 LTE inside
(https://www.sierrawireless.com/company/newsroom/pressreleases/2016/01/01-06-2016-sierra_wireless_lte-advanced_module_selected_by_lenovo/).
And Qualcomm claims that Snapdragon X7LTE supports Dual SIM Dual Standby
feature
(https://www.qualcomm.com/products/catalog?product_filters=JTdCJTIyZmllbGRfcHJvZHVjdF9tb2RlbV9uYW1lXzIzNTkyOm5hbWUlMjI6JTdCJTIydHlwZSUyMjolMjJhbmQlMjIsJTIydmFsdWVzJTIyOiU1QiU1RCU3RCwlMjJmaWVsZF9wcm9kdWN0X3R5cGU6bmFtZSUyMjolNUIlMjJNb2RlbSUyMiU1RCwlMjJmaWVsZF9wcm9kdWN0X211bHRpX3NpbV8yMzIzOTpuYW1lJTIyOiU3QiUyMnR5cGUlMjI6JTIyYW5kJTIyLCUyMnZhbHVlcyUyMjolNUIlMjJMVEUlMjBEdWFsJTIwU0lNJTIwRHVhbCUyMFN0YW5kYnklMjIlNUQlN0QlN0Q%3D).
So I don't understand how this command could be unsupported by device.
Christophe
More information about the libqmi-devel
mailing list