Fibocom MA510-GL in QMI mode

Sven Schwermer sven at svenschwermer.de
Tue Mar 29 11:09:55 UTC 2022


Hi,

I'm currently experimenting to see whether I can bring up the Fibocom 
MA510-GL modem in QMI mode (+GTUSBMODE=30) with ModemManager/libqmi. The 
modem enumerates with VID:PID 05c6:90b2 and after slightly modifying the 
fibocom plugin and udev rules, the modem is talked to by ModemManager. 
However, after a while ModemManager crashes:

Bail out! 
ERROR:../../../../../../workspace/sources/modemmanager/src/mm-shared-qmi.c:1696:mm_shared_qmi_load_supported_modes: 
assertion failed: (priv->current_capabilities)

I guess, this can be traced back to the response to the capabilities query:

Mar 29 10:50:19 ModemManager[978]: [/dev/cdc-wdm0] Received generic 
response (translated)...
                                    <<<<<< QMUX:
                                    <<<<<<   length  = 123
                                    <<<<<<   flags   = 0x80
                                    <<<<<<   service = "dms"
                                    <<<<<<   client  = 1
                                    <<<<<< QMI:
                                    <<<<<<   flags       = "response"
                                    <<<<<<   transaction = 1
                                    <<<<<<   tlv_length  = 111
                                    <<<<<<   message     = "Get 
Capabilities" (0x0020)
                                    <<<<<< TLV:
                                    <<<<<<   type       = "Result" (0x02)
                                    <<<<<<   length     = 4
                                    <<<<<<   value      = 00:00:00:00
                                    <<<<<<   translated = SUCCESS
                                    <<<<<< TLV:
                                    <<<<<<   type       = "Info" (0x01)
                                    <<<<<<   length     = 11
                                    <<<<<<   value      = 
00:00:00:00:00:00:00:00:04:02:00
                                    <<<<<<   translated = [ 
max_tx_channel_rate = '0' max_rx_channel_rate = '0' 
data_service_capability = 'non-simultaneous-cs-ps' sim_capability = 
'supported' radio_interface_list = '{}' ]
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x10
                                    <<<<<<   length = 4
                                    <<<<<<   value  = 04:00:00:00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x12
                                    <<<<<<   length = 8
                                    <<<<<<   value  = 
00:00:00:00:00:00:00:00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x13
                                    <<<<<<   length = 12
                                    <<<<<<   value  = 
01:01:01:01:36:00:00:00:00:00:00:00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x14
                                    <<<<<<   length = 2
                                    <<<<<<   value  = 01:01
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x15
                                    <<<<<<   length = 9
                                    <<<<<<   value  = 
01:36:00:00:00:00:00:00:00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x16
                                    <<<<<<   length = 1
                                    <<<<<<   value  = 00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x17
                                    <<<<<<   length = 5
                                    <<<<<<   value  = 01:00:00:00:00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x19
                                    <<<<<<   length = 9
                                    <<<<<<   value  = 
01:36:00:00:00:00:00:00:00
                                    <<<<<< TLV:
                                    <<<<<<   type   = 0x1a
                                    <<<<<<   length = 13
                                    <<<<<<   value  = 
01:01:01:01:36:00:00:00:00:00:00:00:00
Mar 29 10:50:19 ModemManager[978]: <debug> [1648551019.828818] [modem0] 
Current capabilities built: 'none'
                                      SSP mode preference: 'gsm, lte'
                                      TP: 'auto'
                                      DMS Capabilities: 'none'

I'm wondering if the modem returns non-standard capability definitions. 
Does anybody know what's going on here?

I'm using ModemManager 1.18.6 / libqmi 1.30.4. This is the complete log: 
https://pastebin.com/raw/wu5WEP9k

Best regards,
Sven


More information about the libqmi-devel mailing list