ModemManager using QMI doesnt always work in the first attemp.

Aleksander Morgado aleksander at aleksander.es
Wed Nov 18 01:48:57 PST 2015


On Wed, Nov 18, 2015 at 9:14 AM, José <Joseddg92 at gmail.com> wrote:
> Seems like the log I gave was not complete. Here is a better one:
>
> http://pastebin.com/Y24a9Y8W
>
> At line 1849 seems like ModemManager decides to abort the connection, I am
> not sure why.

During the connection attempt the modem gets unregistered from the
network and ends up in "limited service" state; ModemManager detects
that and cancels the connection request with an Abort QMI message. Are
you in a place with low coverage? You're only getting GSM/EDGE
registrations, no 3G or 4G.

>>>>>> QMI:
>>>>>>   flags       = "indication"
>>>>>>   transaction = 0
>>>>>>   tlv_length  = 21
>>>>>>   message     = "Serving System" (0x0024)
>>>>>> TLV:
>>>>>>   type       = "Detailed Service Status" (0x22)
>>>>>>   length     = 5
>>>>>>   value      = 01:01:04:01:00
>>>>>>   translated = [ status = 'limited' capability = 'cs' hdr_status = 'power-save' hdr_hybrid = 'yes' forbidden = 'no' ]
>>>>>> TLV:
>>>>>>   type       = "Data Service Capability" (0x11)
>>>>>>   length     = 1
>>>>>>   value      = 00
>>>>>>   translated = {}
>>>>>> TLV:
>>>>>>   type       = "Serving System" (0x01)
>>>>>>   length     = 6
>>>>>>   value      = 02:02:02:02:01:04
>>>>>>   translated = [ registration_state = 'not-registered-searching' cs_attach_state = 'detached' ps_attach_state = 'detached' selected_network = '3gpp' radio_interfaces = '{ [0] = 'gsm '}' ]
<debug> Processing 3GPP info...
<info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP
Registration state changed (home -> idle)
<debug> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location
updated (MCC: '0', MNC: '0', Location area code: '1072', Cell ID:
'39CC')
<debug> Bearer not allowed to connect, not registered in 3GPP network
<debug> Forcing disconnection of bearer
'/org/freedesktop/ModemManager1/Bearer/0'
<debug> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location
updated (MCC: '0', MNC: '0', Location area code: '0', Cell ID: '0')
[/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 18
<<<<<<   data   = 01:11:00:00:01:0A:00:02:00:02:00:05:00:01:02:00:01:00
[/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 17
<<<<<<   flags   = 0x00
<<<<<<   service = "wds"
<<<<<<   client  = 10
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 5
<<<<<<   message     = "Abort" (0x0002)


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list