[Telit LE910-EU1] mbimcli -disconnect error
Matthias Mielke
Mielke at efr.de
Fri Aug 4 11:40:41 UTC 2017
Dear list of libmbim-devel,
I'm currently trying to implement the Telit LE910-EU1 4G modem into an
embedded Linux environment.
I use mbimcli/mbim-network (v.1.14.0) and get very good results. The
connection to the 4G network is working fine for me.
When trying to disconnect the modem from the network, using
mbimcli -d /dev/cdc-wdm0 -disconnect or
mbim-network /dev/cdc-wdm0 stop
results sporadically in following error:
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] unexpected port hangup!
error: operation failed: Transaction timed out
[05 Jan 1970, 03:07:00] [Debug] Device closed
$mbimcli -d /dev/cdc-wdm0 --disconnect --verbose
05 Jan 1970, 03:06:50] [Debug] opening device...
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] Queried max control message
size: 512
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:00:00:00:10:00:00:00:01:00:00:00:00:02:00:00
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 16
<<<<<< type = open (0x00000001)
<<<<<< transaction = 1
<<<<<< Contents:
<<<<<< max_control_transfer = 512
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 16
>>>>>> data = 01:00:00:80:10:00:00:00:01:00:00:00:00:00:00:00
[05 Jan 1970, 03:06:50] [Debug] MBIM Device at '/dev/cdc-wdm0' ready
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 108
<<<<<< data =
03:00:00:00:6C:00:00:00:02:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:B
B:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0C:00:00:00:01:00:00:00:3C:00:00:00:00:00:00
:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:7E:5E:2A:7E:4E:6F:72:72:73:6
B:65:6E:7E:5E:2A:7E
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<< length = 108
<<<<<< type = command (0x00000003)
<<<<<< transaction = 2
<<<<<< Fragment header:
<<<<<< total = 1
<<<<<< current = 0
<<<<<< Contents:
<<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<< cid = 'connect' (0x0000000c)
<<<<<< type = 'set' (0x00000001)
[05 Jan 1970, 03:06:50] [Debug] [/dev/cdc-wdm0] unexpected port hangup!
error: operation failed: Transaction timed out
[05 Jan 1970, 03:07:00] [Debug] Device closed
After sending the disconnect command, I get following output from $dmesg :
usb 1-2: USB disconnect, device number 31
cdc_mbim 1-2:1.12: Unexpected error -71
cdc_mbim 1-2:1.12 wwan0: unregister 'cdc_mbim' usb-700000.ehci-2, CDC MBIM
usb 1-2: new high-speed USB device number 32 using atmel-ehci
usb 1-2: USB disconnect, device number 32
usb 1-2: new high-speed USB device number 33 using atmel-ehci
cdc_mbim 1-2:1.12: setting rx_max = 16384
cdc_mbim 1-2:1.12: cdc-wdm0: USB WDM device
cdc_mbim 1-2:1.12 wwan0: register 'cdc_mbim' at usb-700000.ehci-2, CDC MBIM,
72:a6:7a:22:88:b7
The errors above seem to occur in around 50% of the cases I use the
--disconnect command, the other 50% are working fine and the modem gets
disconnected from the network successfully.
Still, after successful disconnect, the modem is also disconnecting from the
USB.
Can someone of you kind people assist me with my problem?
Best regards,
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libmbim-devel/attachments/20170804/e3497e25/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4821 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libmbim-devel/attachments/20170804/e3497e25/attachment.bin>
More information about the libmbim-devel
mailing list