MC7455 and MC7430--query-subscriber-ready-status timeout

Chris Lockwood Chris.Lockwood at avi.com.au
Thu Sep 7 03:51:49 UTC 2017


Hi,

I have MC7455 and MC7430 cards. Both are loaded with SWI9X30C_02.24.03.00.

I'm using the latest git commit 5bb673fe87... but the same behaviour is observed with 5c3935b75fc4dd46...

To get these cards to connect, I first need to run --query-subscriber-ready-status, then --attach-packet-service command and then the --connect commands.

>From a clean start, first command run is:
root at avios:~# mbimcli -p -d /dev/cdc-wdm0 --query-subscriber-ready-status --no-close
error: operation failed: Transaction timed out
[/dev/cdc-wdm0] Session not closed:
                    TRID: '4'

The command takes a bit more than 10 seconds before it times out (I can see the 10 second timeout in the libmbim source).

But I can then --attach-packet-service and -connect and its all working fine. Without the --query-subscriber-ready-status command I cannot connect.

Any ideas why it might time out? It's not a huge problem but it does add another 10 seconds to the start time.


With verbose logging:
root at avios:~# mbimcli -v -p -d /dev/cdc-wdm0 --query-subscriber-ready-status --no-close
[07 Sep 2017, 01:08:14] [Debug] opening device...
[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 88
<<<<<<   data   = 03:00:00:00:58:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:01:00:00:00:28:00:00:00:0C:00:00:00:1A:00:00:00:1E:00:00:00:2F:00:64:00:65:00:76:00:2F:00:63:00:64:00:63:00:2D:00:77:00:64:00:6D:00:30:00:00:00

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 88
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 1
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b)
<<<<<<   cid     = 'configuration' (0x00000001)
<<<<<<   type    = 'set' (0x00000001)

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 48
>>>>>>   data   = 03:00:00:80:30:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:00:00:00:00:00:00:00:00

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 48
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 1
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b)
>>>>>>   cid          = 'configuration' (0x00000001)

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:00:00:00:10:00:00:00:02:00:00:00:00:10:00:00

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 16
<<<<<<   type        = open (0x00000001)
<<<<<<   transaction = 2
<<<<<< Contents:
<<<<<<   max_control_transfer = 4096

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 16
>>>>>>   data   = 01:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00

[07 Sep 2017, 01:08:14] [Debug] MBIM Device at '/dev/cdc-wdm0' ready
[07 Sep 2017, 01:08:14] [Debug] Asynchronously querying subscriber ready status...
[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:03: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:02:00:00:00:00:00:00:00:00:00:00:00

[07 Sep 2017, 01:08:14] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 3
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'subscriber-ready-status' (0x00000002)
<<<<<<   type    = 'query' (0x00000000)

error: operation failed: Transaction timed out
[07 Sep 2017, 01:08:24] [Debug] [/dev/cdc-wdm0] channel destroyed
[07 Sep 2017, 01:08:24] [Debug] Device closed
[/dev/cdc-wdm0] Session not closed:
                    TRID: '4'

cheers,

Chris


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libmbim-devel/attachments/20170907/4448dd60/attachment.html>


More information about the libmbim-devel mailing list