Fibocom FM150-NA / GLib-CRITICAL

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Tue Jan 21 03:37:19 UTC 2020


Hi,

Noted an "GLib-CRITICAL" when printing "nas-get-system-info" with verbose
as below, that might be of interest. I am using libqmi 1.22.4 (maybe this
is something that is already fixed?)

Just let me know if I should upgrade libqmi and try again.

Regards,
Sebastian

root at FM150NA:~/scripts# qmicli -d /dev/cdc-wdm0 --nas-get-system-info
[/dev/cdc-wdm0] Successfully got system info:
WCDMA service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
LTE service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
SIM reject info: 'available'
root at FM150NA:~/scripts# qmicli -d /dev/cdc-wdm0 --dms-get-capabilities

(qmicli:14861): GLib-CRITICAL **: 04:41:02.424: g_string_insert_len:
assertion 'len == 0 || val != NULL' failed
[/dev/cdc-wdm0] Device capabilities retrieved:
Max TX channel rate: '50000000'
Max RX channel rate: '100000000'
      Data Service: 'non-simultaneous-cs-ps'
               SIM: 'supported'
          Networks: 'umts, lte, '
root at FM150NA:~/scripts# qmicli -d /dev/cdc-wdm0 --dms-get-capabilities
--verbose
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Opening device with flags
'auto'...
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm
port: qmi_wwan
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] automatically selecting QMI
mode
[21 Jan 2020, 04:41:26] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is
supported...
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[21 Jan 2020, 04:41:26] [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

[21 Jan 2020, 04:41:26] [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

[21 Jan 2020, 04:41:26] [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:03

[21 Jan 2020, 04:41:26] [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:03
<<<<<<   translated = [ service = 'dms' cid = '3' ]

[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Registered 'dms' (version
unknown) client with ID '3'
[21 Jan 2020, 04:41:26] [Debug] Asynchronously getting capabilities...
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:03:00:01:00:20:00:00:00

[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 3
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Capabilities" (0x0020)

[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 306
<<<<<<   data   =
01:31:01:80:02:03:02:01:00:20:00:25:01:02:04:00:00:00:00:00:01:0E:00:80:F0:FA:02:00:E1:F5:05:04:02:03:05:08:0A:10:04:00:04:00:00:00:11:08:00:03:00:00:00:00:00:00:00:12:08:00:00:00:00:00:00:00:00:00:13:26:00:02:02:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:14:02:00:02:01:15:11:00:02:B0:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:16:0B:00:02:01:00:00:00:00:01:00:00:00:00:17:09:00:02:00:00:00:00:00:00:00:00:18:01:00:02:19:11:00:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:1A:26:00:02:02:02:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:00:1B:02:00:FF:FF:1C:0B:00:02:01:00:00:00:01:02:00:00:00:00:1D:01:00:02:1E:39:00:02:01:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received generic response
(translated)...
<<<<<< QMUX:
<<<<<<   length  = 305
<<<<<<   flags   = 0x80
<<<<<<   service = "dms"
<<<<<<   client  = 3
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 293
<<<<<<   message     = "Get Capabilities" (0x0020)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS
<<<<<< TLV:
<<<<<<   type       = "Info" (0x01)
<<<<<<   length     = 14
<<<<<<   value      = 80:F0:FA:02:00:E1:F5:05:04:02:03:05:08:0A
<<<<<<   translated = [ max_tx_channel_rate = '50000000'
max_rx_channel_rate = '100000000' data_service_capability =
'non-simultaneous-cs-ps' sim_capability = 'supported' radio_interface_list
= '{ [0] = 'umts ' [1] = 'lte ' [2] = '(null) '}' ]
<<<<<< TLV:
<<<<<<   type   = 0x10
<<<<<<   length = 4
<<<<<<   value  = 04:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x11
<<<<<<   length = 8
<<<<<<   value  = 03:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x12
<<<<<<   length = 8
<<<<<<   value  = 00:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x13
<<<<<<   length = 38
<<<<<<   value  =
02:02:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x14
<<<<<<   length = 2
<<<<<<   value  = 02:01
<<<<<< TLV:
<<<<<<   type   = 0x15
<<<<<<   length = 17
<<<<<<   value  = 02:B0:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x16
<<<<<<   length = 11
<<<<<<   value  = 02:01:00:00:00:00:01:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x17
<<<<<<   length = 9
<<<<<<   value  = 02:00:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x18
<<<<<<   length = 1
<<<<<<   value  = 02
<<<<<< TLV:
<<<<<<   type   = 0x19
<<<<<<   length = 17
<<<<<<   value  = 02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x1a
<<<<<<   length = 38
<<<<<<   value  =
02:02:02:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x1b
<<<<<<   length = 2
<<<<<<   value  = FF:FF
<<<<<< TLV:
<<<<<<   type   = 0x1c
<<<<<<   length = 11
<<<<<<   value  = 02:01:00:00:00:01:02:00:00:00:00
<<<<<< TLV:
<<<<<<   type   = 0x1d
<<<<<<   length = 1
<<<<<<   value  = 02
<<<<<< TLV:
<<<<<<   type   = 0x1e
<<<<<<   length = 57
<<<<<<   value  =
02:01:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00


(qmicli:14864): GLib-CRITICAL **: 04:41:26.236: g_string_insert_len:
assertion 'len == 0 || val != NULL' failed
[/dev/cdc-wdm0] Device capabilities retrieved:
Max TX channel rate: '50000000'
Max RX channel rate: '100000000'
      Data Service: 'non-simultaneous-cs-ps'
               SIM: 'supported'
          Networks: 'umts, lte, '
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Releasing 'dms' client with
flags 'release-cid'...
[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Unregistered 'dms' client
with ID '3'
[21 Jan 2020, 04:41:26] [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:03

[21 Jan 2020, 04:41:26] [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:03
<<<<<<   translated = [ service = 'dms' cid = '3' ]

[21 Jan 2020, 04:41:26] [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:03

[21 Jan 2020, 04:41:26] [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:03
<<<<<<   translated = [ service = 'dms' cid = '3' ]

[21 Jan 2020, 04:41:26] [Debug] Client released
[21 Jan 2020, 04:41:26] [Debug] Closed
root at FM150NA:~/scripts#

root at FM150NA:~/scripts# qmicli --version

qmicli 1.22.4
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.

root at FM150NA:~/scripts#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20200121/c9c697a4/attachment.htm>


More information about the libqmi-devel mailing list