Sierra Wireless EM7355
Erinn Looney-Triggs
erinn.looneytriggs at gmail.com
Mon Jun 23 07:07:56 PDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 06/21/2014 05:58 AM, Bjørn Mork wrote:
> Aleksander Morgado <aleksander at aleksander.es> writes:
>> On Fri, Jun 20, 2014 at 8:37 PM, Erinn Looney-Triggs
>> <erinn.looneytriggs at gmail.com> wrote:
>>> [20 Jun 2014, 12:36:33] [Debug] [/dev/cdc-wdm0] Sent message
>>> (translated)... <<<<<< Header: <<<<<< length = 16 <<<<<<
>>> type = open (0x00000001) <<<<<< transaction = 3 <<<<<<
>>> Contents: <<<<<< max_control_transfer = 4096
>>>
>>> [20 Jun 2014, 12:36:33] [Debug] [/dev/cdc-wdm0] Received
>>> message...
>>>>>>>>> RAW: length = 16 data =
>>>>>>>>> 01:00:00:80:10:00:00:00:03:00:00:00:02:00:00:00
>>>
>>> error: couldn't open the MbimDevice: Failure
>>
>>
>> Oh well... this is the device returning
>> MBIM_STATUS_ERROR_FAILURE during the Open sequence... No idea.
>> Maybe the device is already open and we shouldn't re-open it?
>
> Hmm, it would not be correct to return failure in that case. The
> spec is quite explicit that the function should try to resyncronize
> state again by silently closing the existing session and opening a
> new one, returning success.
>
> What the spec says and what the firmware does are of course
> different things, but I cannot remember having seen failures in
> such cases either.
>
>> Can you try to run it again, but this time like this?
>>
>> $ sudo mbimcli -d /dev/cdc-wdm0 --query-device-caps --verbose
>> --no-open=10
>
> Yes, that would be useful anyway just to eliminate that cause.
>
> I wonder what else could make the open fail? I note that the
> firmware could have returned MBIM_STATUS_BUSY if that was the
> problem. 'FAILURE' seems so much more permanent...
>
>
> Bjørn
>
Ok y'all here you go:
sudo mbimcli -d /dev/cdc-wdm0 --query-device-caps --verbose --no-open=10
[23 Jun 2014, 08:03:55] [Debug] [/dev/cdc-wdm0] Queried max control
message size: 4096
[23 Jun 2014, 08:03:55] [Debug] MBIM Device at '/dev/cdc-wdm0' ready
[23 Jun 2014, 08:03:55] [Debug] Asynchronously querying device
capabilities...
[23 Jun 2014, 08:03:55] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 48
<<<<<< data =
03:00:00:00:30:00:00:00:0A:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:01:00:00:00:00:00:00:00:00:00:00:00
[23 Jun 2014, 08:03:55] [Debug] [/dev/cdc-wdm0] Sent message
(translated)...
<<<<<< Header:
<<<<<< length = 48
<<<<<< type = command (0x00000003)
<<<<<< transaction = 10
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'device-caps' (0x00000001)
<<<<<< type = 'query' (0x00000000)
[23 Jun 2014, 08:03:55] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW: length = 16 data =
>>>>>> 04:00:00:80:10:00:00:00:0A:00:00:00:05:00:00:00
[23 Jun 2014, 08:03:55] [Debug] [/dev/cdc-wdm0] Received message
(translated)...
>>>>>> Header: length = 16 type = function-error
>>>>>> (0x80000004) transaction = 10 Contents: error =
>>>>>> 'NotOpened' (0x00000005)
error: operation failed: Transaction timed out
[23 Jun 2014, 08:04:05] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 12
<<<<<< data = 02:00:00:00:0C:00:00:00:0B:00:00:00
[23 Jun 2014, 08:04:05] [Debug] [/dev/cdc-wdm0] Sent message
(translated)...
<<<<<< Header:
<<<<<< length = 12
<<<<<< type = close (0x00000002)
<<<<<< transaction = 11
[23 Jun 2014, 08:04:05] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW: length = 16 data =
>>>>>> 02:00:00:80:10:00:00:00:0B:00:00:00:00:00:00:00
[23 Jun 2014, 08:04:05] [Debug] Device closed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJTqDS3AAoJEFg7BmJL2iPO/+gH/3f5xnwQGL4AmQmbw6vctTAb
AgDQQyqPtQwyipnBLlsUehq1zbE5EIuq9TvwKF1dXT2jReaiDaT3axGNDptqsBe6
g1v3nVg10uvJa43VtazBKO/9WEXCwMbs6Ki7xa23SwoJqunEq/fh+ug5+uNpHjRT
PkXBUPWpkWHNogGOlJGk8UgwwJwZuWga3X4OvG2Oy+r/VLuYN7lvrntM0b0gFspF
IF1tnNW83z8d6BMv9UYb2wbBuo8rYqAwNNfxCQmbzzfMNQybabJ2D9bqPKrQLCKw
Lsx+ncSqMWEiRFQekKLVF67iy0wY1/Q8VQii6dF/8rQvAcEHKoPI0W6yT58G2Mo=
=CaGQ
-----END PGP SIGNATURE-----
More information about the ModemManager-devel
mailing list