Problems with HP lt4112 Gobi 4G Module
Harald Jung
harald.jung at ecos.de
Thu Feb 18 18:31:59 UTC 2016
Hi,
so i tried it with keeping the CID
qmicli -d /dev/cdc-wdm0 --wds-start-network=web.vodafone.de
--client-no-release-cid
[/dev/cdc-wdm0] Network started
Packet data handle: '1138176384'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '3'
qmicli -d /dev/cdc-wdm0 --wds-get-current-settings
--client-no-release-cid --client-cid=3
error: couldn't get current settings: QMI protocol error (15): 'OutOfCall'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '3'
qmicli -d /dev/cdc-wdm0 --wds-get-current-settings
--client-no-release-cid --client-cid=3 --verbose
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Opening device with
flags 'none'...
[18 Feb 2016, 19:35:12] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[18 Feb 2016, 19:35:12] [Debug] Reusing CID '3'
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Assuming service 'wds'
is supported...
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Reusing client CID '3'...
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Registered 'wds'
(version unknown) client with ID '3'
[18 Feb 2016, 19:35:12] [Debug] Asynchronously getting current settings...
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 20
<<<<<< data =
01:13:00:00:01:03:00:01:00:2D:00:07:00:10:04:00:30:E3:00:00
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 19
<<<<<< flags = 0x00
<<<<<< service = "wds"
<<<<<< client = 3
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 7
<<<<<< message = "Get Current Settings" (0x002D)
<<<<<< TLV:
<<<<<< type = "Requested Settings" (0x10)
<<<<<< length = 4
<<<<<< value = 30:E3:00:00
<<<<<< translated = dns-address, granted-qos, ip-address,
gateway-info, mtu, domain-name-list, ip-family
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 34
>>>>>> data =
01:21:00:80:01:FF:04:00:00:22:00:15:00:01:02:00:01:00:10:02:00:02:00:11:04:00:03:00:D0:07:12:01:00:04
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>> length = 33
>>>>>> flags = 0x80
>>>>>> service = "wds"
>>>>>> client = 255
>>>>>> QMI:
>>>>>> flags = "indication"
>>>>>> transaction = 0
>>>>>> tlv_length = 21
>>>>>> message = "Packet Service Status" (0x0022)
>>>>>> TLV:
>>>>>> type = "Connection Status" (0x01)
>>>>>> length = 2
>>>>>> value = 01:00
>>>>>> translated = [ status = 'disconnected'
reconfiguration_required = 'no' ]
>>>>>> TLV:
>>>>>> type = "Call End Reason" (0x10)
>>>>>> length = 2
>>>>>> value = 02:00
>>>>>> translated = generic-client-end
>>>>>> TLV:
>>>>>> type = "Verbose Call End Reason" (0x11)
>>>>>> length = 4
>>>>>> value = 03:00:D0:07
>>>>>> translated = [ type = 'cm' reason = '2000' ]
>>>>>> TLV:
>>>>>> type = "IP Family" (0x12)
>>>>>> length = 1
>>>>>> value = 04
>>>>>> translated = ipv4
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 41
>>>>>> data =
01:28:00:80:03:01:04:00:00:24:00:1C:00:28:02:00:1B:00:1E:04:00:FF:FF:FF:FF:11:04:00:03:03:04:05:01:06:00:01:01:01:02:01:05
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>> length = 40
>>>>>> flags = 0x80
>>>>>> service = "nas"
>>>>>> client = 1
>>>>>> QMI:
>>>>>> flags = "indication"
>>>>>> transaction = 0
>>>>>> tlv_length = 28
>>>>>> message = "Serving System" (0x0024)
>>>>>> TLV:
>>>>>> type = "UMTS Primary Scrambling Code" (0x28)
>>>>>> length = 2
>>>>>> value = 1B:00
>>>>>> translated = 27
>>>>>> TLV:
>>>>>> type = "CID 3GPP" (0x1e)
>>>>>> length = 4
>>>>>> value = FF:FF:FF:FF
>>>>>> translated = 4294967295
>>>>>> TLV:
>>>>>> type = "Data Service Capability" (0x11)
>>>>>> length = 4
>>>>>> value = 03:03:04:05
>>>>>> translated = { [0] = 'hsdpa ' [1] = 'hsupa ' [2] = 'wcdma '}
>>>>>> TLV:
>>>>>> type = "Serving System" (0x01)
>>>>>> length = 6
>>>>>> value = 01:01:01:02:01:05
>>>>>> translated = [ registration_state = 'registered'
cs_attach_state = 'attached' ps_attach_state = 'attached'
selected_network = '3gpp' radio_interfaces = '{ [0] = 'umts '}' ]
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 41
>>>>>> data =
01:28:00:80:03:01:04:00:00:24:00:1C:00:28:02:00:1B:00:1E:04:00:CD:0B:D2:09:11:04:00:03:03:04:05:01:06:00:01:01:01:02:01:05
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>> length = 40
>>>>>> flags = 0x80
>>>>>> service = "nas"
>>>>>> client = 1
>>>>>> QMI:
>>>>>> flags = "indication"
>>>>>> transaction = 0
>>>>>> tlv_length = 28
>>>>>> message = "Serving System" (0x0024)
>>>>>> TLV:
>>>>>> type = "UMTS Primary Scrambling Code" (0x28)
>>>>>> length = 2
>>>>>> value = 1B:00
>>>>>> translated = 27
>>>>>> TLV:
>>>>>> type = "CID 3GPP" (0x1e)
>>>>>> length = 4
>>>>>> value = CD:0B:D2:09
>>>>>> translated = 164760525
>>>>>> TLV:
>>>>>> type = "Data Service Capability" (0x11)
>>>>>> length = 4
>>>>>> value = 03:03:04:05
>>>>>> translated = { [0] = 'hsdpa ' [1] = 'hsupa ' [2] = 'wcdma '}
>>>>>> TLV:
>>>>>> type = "Serving System" (0x01)
>>>>>> length = 6
>>>>>> value = 01:01:01:02:01:05
>>>>>> translated = [ registration_state = 'registered'
cs_attach_state = 'attached' ps_attach_state = 'attached'
selected_network = '3gpp' radio_interfaces = '{ [0] = 'umts '}' ]
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data =
01:13:00:80:01:03:02:01:00:2D:00:07:00:02:04:00:01:00:0F:00
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "wds"
>>>>>> client = 3
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 1
>>>>>> tlv_length = 7
>>>>>> message = "Get Current Settings" (0x002D)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:0F:00
>>>>>> translated = FAILURE: OutOfCall
error: couldn't get current settings: QMI protocol error (15): 'OutOfCall'
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '3'
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Releasing 'wds' client
with flags 'none'...
[18 Feb 2016, 19:35:12] [Debug] [/dev/cdc-wdm0] Unregistered 'wds'
client with ID '3'
[18 Feb 2016, 19:35:12] [Debug] Client released
Am 18.02.2016 um 18:37 schrieb Bjørn Mork:
> Harald Jung - ECOS Technology <Harald.Jung at ecos.de> writes:
>
>> I've sent a request to the Modemmanager/Networkmanager list because
>> Modemnager wasn't able to establish a network connection.
>>
>> We did some tests and it seems that the problem is somewhere inside
>> the qmi communication.
>>
>> ModemManager fails when it tries to get the current ip settings, i can
>> simulate the same with the qmicli
>>
>>
>>
>> qmicli -d /dev/cdc-wdm0 --wds-get-current-settings
>>
>> error: couldn't get current settings: QMI protocol error (15): 'OutOfCall'
> This will only work if you provide the CID associated with the
> connection. And then you should use --client-no-release-cid as well,
> to avoid closing the connection by releasing the CID.
>
> This is by design. "current" implies context, and the CID is the key to
> that context.
>
>
> Bjørn
More information about the libqmi-devel
mailing list