Modem will not reset.
Aleksander Morgado
aleksander at aleksander.es
Fri Jan 8 15:44:26 UTC 2021
Hey Daniele & Carlo,
> Wondering if anybody has seen this, or has any idea? Telit LM96A18 being stuck in offline mode and when I try to reset it with libqmi, it says it was successful but never resets:
>
Have you seen this before? Is it expected in the LM96A18 that the DMS
Set Operating Mode (RESET) doesn't work?
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] Opening device with flags 'proxy, auto'...
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] loaded driver of cdc-wdm port: qmi_wwan
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] created endpoint
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent message...
>> <<<<<< RAW:
>> <<<<<< length = 28
>> <<<<<< data = 01:1B:00:00:00:00:00:01:00:FF:10:00:01:0D:00:2F:64:65:76:2F:63:64:63:2D:77:64:6D:34
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent generic request (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 27
>> <<<<<< flags = 0x00
>> <<<<<< service = "ctl"
>> <<<<<< client = 0
>> <<<<<< QMI:
>> <<<<<< flags = "none"
>> <<<<<< transaction = 1
>> <<<<<< tlv_length = 16
>> <<<<<< message = "Internal Proxy Open" (0xFF00)
>> <<<<<< TLV:
>> <<<<<< type = "Device Path" (0x01)
>> <<<<<< length = 13
>> <<<<<< value = 2F:64:65:76:2F:63:64:63:2D:77:64:6D:34
>> <<<<<< translated = /dev/cdc-wdm4
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received message...
>> <<<<<< RAW:
>> <<<<<< length = 19
>> <<<<<< data = 01:12:00:80:00:00:01:01:00:FF:07:00:02:04:00:00:00:00:00
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received generic response (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 18
>> <<<<<< flags = 0x80
>> <<<<<< service = "ctl"
>> <<<<<< client = 0
>> <<<<<< QMI:
>> <<<<<< flags = "response"
>> <<<<<< transaction = 1
>> <<<<<< tlv_length = 7
>> <<<<<< message = "Internal Proxy Open" (0xFF00)
>> <<<<<< TLV:
>> <<<<<< type = "Result" (0x02)
>> <<<<<< length = 4
>> <<<<<< value = 00:00:00:00
>> <<<<<< translated = SUCCESS
>> [08 Jan 2021, 11:38:23] [Debug] QMI Device at '/dev/cdc-wdm4' ready
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] Assuming service 'dms' is supported...
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] Allocating new client ID...
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent message...
>> <<<<<< RAW:
>> <<<<<< length = 16
>> <<<<<< data = 01:0F:00:00:00:00:00:02:22:00:04:00:01:01:00:02
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent generic request (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 15
>> <<<<<< flags = 0x00
>> <<<<<< service = "ctl"
>> <<<<<< client = 0
>> <<<<<< QMI:
>> <<<<<< flags = "none"
>> <<<<<< transaction = 2
>> <<<<<< tlv_length = 4
>> <<<<<< message = "Allocate CID" (0x0022)
>> <<<<<< TLV:
>> <<<<<< type = "Service" (0x01)
>> <<<<<< length = 1
>> <<<<<< value = 02
>> <<<<<< translated = dms
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received message...
>> <<<<<< RAW:
>> <<<<<< length = 24
>> <<<<<< data = 01:17:00:80:00:00:01:02:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:01
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received generic response (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 23
>> <<<<<< flags = 0x80
>> <<<<<< service = "ctl"
>> <<<<<< client = 0
>> <<<<<< QMI:
>> <<<<<< flags = "response"
>> <<<<<< transaction = 2
>> <<<<<< tlv_length = 12
>> <<<<<< message = "Allocate CID" (0x0022)
>> <<<<<< TLV:
>> <<<<<< type = "Result" (0x02)
>> <<<<<< length = 4
>> <<<<<< value = 00:00:00:00
>> <<<<<< translated = SUCCESS
>> <<<<<< TLV:
>> <<<<<< type = "Allocation Info" (0x01)
>> <<<<<< length = 2
>> <<<<<< value = 02:01
>> <<<<<< translated = [ service = 'dms' cid = '1' ]
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] Registered 'dms' (version unknown) client with ID '1'
>> [08 Jan 2021, 11:38:23] [Debug] Asynchronously setting operating mode...
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent message...
>> <<<<<< RAW:
>> <<<<<< length = 17
>> <<<<<< data = 01:10:00:00:02:01:00:01:00:2E:00:04:00:01:01:00:04
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent generic request (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 16
>> <<<<<< flags = 0x00
>> <<<<<< service = "dms"
>> <<<<<< client = 1
>> <<<<<< QMI:
>> <<<<<< flags = "none"
>> <<<<<< transaction = 1
>> <<<<<< tlv_length = 4
>> <<<<<< message = "Set Operating Mode" (0x002E)
>> <<<<<< TLV:
>> <<<<<< type = "Mode" (0x01)
>> <<<<<< length = 1
>> <<<<<< value = 04
>> <<<<<< translated = reset
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received message...
>> <<<<<< RAW:
>> <<<<<< length = 20
>> <<<<<< data = 01:13:00:80:02:01:02:01:00:2E:00:07:00:02:04:00:00:00:00:00
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received generic response (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 19
>> <<<<<< flags = 0x80
>> <<<<<< service = "dms"
>> <<<<<< client = 1
>> <<<<<< QMI:
>> <<<<<< flags = "response"
>> <<<<<< transaction = 1
>> <<<<<< tlv_length = 7
>> <<<<<< message = "Set Operating Mode" (0x002E)
>> <<<<<< TLV:
>> <<<<<< type = "Result" (0x02)
>> <<<<<< length = 4
>> <<<<<< value = 00:00:00:00
>> <<<<<< translated = SUCCESS
>> [/dev/cdc-wdm4] Operating mode set successfully
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] Releasing 'dms' client with flags 'release-cid'...
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] Unregistered 'dms' client with ID '1'
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent message...
>> <<<<<< RAW:
>> <<<<<< length = 17
>> <<<<<< data = 01:10:00:00:00:00:00:03:23:00:05:00:01:02:00:02:01
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] sent generic request (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 16
>> <<<<<< flags = 0x00
>> <<<<<< service = "ctl"
>> <<<<<< client = 0
>> <<<<<< QMI:
>> <<<<<< flags = "none"
>> <<<<<< transaction = 3
>> <<<<<< tlv_length = 5
>> <<<<<< message = "Release CID" (0x0023)
>> <<<<<< TLV:
>> <<<<<< type = "Release Info" (0x01)
>> <<<<<< length = 2
>> <<<<<< value = 02:01
>> <<<<<< translated = [ service = 'dms' cid = '1' ]
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received message...
>> <<<<<< RAW:
>> <<<<<< length = 24
>> <<<<<< data = 01:17:00:80:00:00:01:03:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:01
>> [08 Jan 2021, 11:38:23] [Debug] [/dev/cdc-wdm4] received generic response (translated)...
>> <<<<<< QMUX:
>> <<<<<< length = 23
>> <<<<<< flags = 0x80
>> <<<<<< service = "ctl"
>> <<<<<< client = 0
>> <<<<<< QMI:
>> <<<<<< flags = "response"
>> <<<<<< transaction = 3
>> <<<<<< tlv_length = 12
>> <<<<<< message = "Release CID" (0x0023)
>> <<<<<< TLV:
>> <<<<<< type = "Result" (0x02)
>> <<<<<< length = 4
>> <<<<<< value = 00:00:00:00
>> <<<<<< translated = SUCCESS
>> <<<<<< TLV:
>> <<<<<< type = "Release Info" (0x01)
>> <<<<<< length = 2
>> <<<<<< value = 02:01
>> <<<<<< translated = [ service = 'dms' cid = '1' ]
>> [08 Jan 2021, 11:38:23] [Debug] Client released
>> [08 Jan 2021, 11:38:23] [Debug] Closed
>
>
> Regards,
>
> --
> Paul
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
--
Aleksander
https://aleksander.es
More information about the libqmi-devel
mailing list