wda-get-data-format randomly returns error: couldn't create client for the 'wda' service

Aleksander Morgado aleksander at aleksander.es
Tue Mar 31 03:43:09 UTC 2020


Hey Tor,

>
> I am experiencing a very strange problem with MC7304. Randomly (like in 1 of 3 instances), when initializing the WAN connection, the modem setup routine fails on the --wda-get-data-format command, and then the completion of the initialization just fails. For now, we have just been detecting this and then reset the usb port and rerun the whole procedure at regular intervals until it works, but that is not a permanent solution. The wda-set-data-format also fails when get does.
>
> Have been googling 'lightly' without any obvious success. I was hoping some of you experts on this list just pops up and say 'you need to do this' before we start spending to much on digging very deeply into the issue :)
>
> # qmicli -d /dev/cdc-wdm0 --wda-get-data-format
> error: couldn't create client for the 'wda' service: QMI protocol error (3): 'Internal'
>
> libqmi version: 1.22.2
>
> kernel 4.9.199
>
> MC7304 firmware:
> Model: MC7304
>         Boot version: SWI9X15C_05.05.78.00 r34310 CARMD-EV-FRMWR3 2017/09/17 00:43:17
>         AMSS version: SWI9X15C_05.05.78.00 r34310 CARMD-EV-FRMWR3 2017/09/17 00:43:17
>         SKU ID: 1103054
>         Package ID: 1103054_9906141_MC7304_05.05.66.00_00_Generic_005.000_000
>         Carrier ID: 1
>         Config version: 005.029_000
>
> Any hints or advises appreciated.
>

Nothing from the top of my head really.

Is this happening only during boot? Maybe you didn't wait long enough
to boot before sending the WDA command?
Are you only sending the WDA command, or some other additional
commands as well? Are those commands failing or is it only the WDA
service?
When you say you're reseting the USB port, are you literally just
reseting the USB comm in your host forcing a re-enumeration of the
device? Or are you fully powering off the modem externally and
powering it back on? Or triggering a rdevice reboot with the DMS
service?

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list