aleksander/qmi-firmware-update v2: dms-list-stored-images on MC7430

Bjørn Mork bjorn at mork.no
Fri Jan 20 09:28:09 UTC 2017


Aleksander Morgado <aleksander at aleksander.es> writes:

> The qmi-firmware-upgrade tool used /dev/cdc-wdm0 before the image
> download and then used /dev/cdc-wdm1 after the reset that was
> triggered after the images were downloaded. You were trying to use
> /dev/cdc-wdm0 after that same reset, which was the device left behind
> before the upgrade; had you used cdc-wdm1, it would have probably
> worked without needing the AT!RESET.
>
> Looking at the logs, it seems we didn't get any event for cdc-wdm0
> being removed; and we did get an udev event for /dev/cdc-wdm1 being
> added after the reset; so that is why the updater tool used cdc-wdm1.
>
> I need to check this, no idea why that happened. Bjørn, any idea?

No, not really.  I cannot see any way the /dev/cdc-wdm0 device can
persist if the modem goes away from the usb bus.  It is forcefully
removed by the driver when the hardware disappears.


Bjørn


More information about the libqmi-devel mailing list