Noisy warnings in 1.33.2?

Aleksander Morgado aleksandermj at chromium.org
Tue Dec 6 13:12:15 UTC 2022


Hey Andy,

> In the latest version 1.33.2 of libqmi I'm getting strange warnings. It's very noisy and not useful. It can be silenced with --silent, is this normal?
>
> I'm using a new firmware with a Sierra WP76xx device.
>
> Every command is prefixed by:
> [01 Dec 2022, 09:16:20] -Warning ** [/dev/lte/cdc] couldn't detect transport type of port: unexpected port subsystem
> [01 Dec 2022, 09:16:20] -Warning ** [/dev/lte/cdc] requested QMI mode but unexpected transport type found
>
> This happens for every command, e.g.
> qmicli --device-open-qmi -p -d /dev/lte/cdc --wds-get-lte-attach-parameters
> [01 Dec 2022, 09:16:20] -Warning ** [/dev/lte/cdc] couldn't detect transport type of port: unexpected port subsystem
> [01 Dec 2022, 09:16:20] -Warning ** [/dev/lte/cdc] requested QMI mode but unexpected transport type found
> LTE attach parameters successfully retrieved:
> APN: MYAPN
> IP support type: ipv4
> OTA attach performed: yes
>
> Note, I have symlinked the device to /dev/lte/cdc but the same thing happens if I use /dev/cdc-wdm0 instead.

What does this command return?
$ realpath /sys/class/usbmisc/cdc-wdm0/device/driver

If I had to bet, you're probably not using the upstream qmi_wwan
driver, but a different vendor-provided one instead. Is this the case?

If you want to silence the warning you can also pass --device-open-qmi
explicitly.

-- 
Aleksander


More information about the libqmi-devel mailing list