[qmi-firmware-update] Flashing does not work properly with Sierra em9191 (5g modem)
Alexander Dydychkin
alexander.dydychkin at vicuesoft.com
Thu Feb 3 11:00:29 UTC 2022
Thank you for your comments.
My current status:
Multiple hardware power off helped. All my 3 modems are ready to work.
The last problem, I still have the issue with "error: couldn't open QMI
device: endpoint hangup". You requested verbose output:
./qmi-firmware-update -w /dev/cdc-wdm3 --update
/home/support/adydychk/fws/atta/SWIX55C_01.07.13.00-005.cwe
/home/support/adydychk//fws/atta/SWIX55C_01.07.13.00_ATT_012.007_002.nvu
--verbose
[03 Feb 2022, 05:54:47] [Debug] [qfu-udev] sysfs path for 'cdc-wdm3' found:
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3
[03 Feb 2022, 05:54:47] [Debug] [qfu-utils] couldn't ping ModemManager:
GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name
"org.freedesktop.ModemManager1" does not exist
[03 Feb 2022, 05:54:47] [Debug] [qfu-image] loading file info...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image] opening file for reading...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] reading image headers...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image offset range:
[0,89222543]
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image offset range:
[400,788692]
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image offset range:
[788692,45628404]
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image at offset 788692 is
valid
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image offset range:
[45628404,86807092]
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image at offset 45628404 is
valid
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image offset range:
[86807092,89222543]
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image at offset 86807092 is
valid
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] validating data size...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] preloading
firmware/config/carrier...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] firmware version:
01.07.13.00
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] config version: unknown
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] carrier: unknown
[03 Feb 2022, 05:54:47] [Debug] [qfu-image] loading file info...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image] opening file for reading...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] reading image headers...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] image offset range:
[0,80641]
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] validating data size...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] preloading
firmware/config/carrier...
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] firmware version:
01.07.13.00
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] config version:
012.007_002
[03 Feb 2022, 05:54:47] [Debug] [qfu-image-cwe] carrier: ATT
[03 Feb 2022, 05:54:47] [Debug] [qfu,device-selection] single cdc-wdm
device requested in sysfs path
'/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3'
[03 Feb 2022, 05:54:47] [Debug] [qfu,device-selection] device found:
/dev/cdc-wdm3
[03 Feb 2022, 05:54:47] [Debug] [qfu,device-selection] using preferred
device: /dev/cdc-wdm3
loading device information before the update...
[03 Feb 2022, 05:54:47] [Debug] [qfu-updater] creating QMI DMS client...
[03 Feb 2022, 05:54:47] [Debug] [qfu,utils] creating QMI device...
[03 Feb 2022, 05:54:47] [Debug] [qfu,utils] QMI device created
[03 Feb 2022, 05:54:47] [Debug] [qfu,utils] opening QMI device (without
proxy, qmi mode)...
[03 Feb 2022, 05:54:47] [Debug] [/dev/cdc-wdm3] Opening device with flags
'sync, auto'...
[03 Feb 2022, 05:54:47] -Warning ** [/dev/cdc-wdm3] requested QMI mode but
unexpected transport type found
[03 Feb 2022, 05:54:47] [Debug] [/dev/cdc-wdm3] created endpoint
[03 Feb 2022, 05:54:47] [Debug] [/dev/cdc-wdm3] Running sync (10 retries)...
[03 Feb 2022, 05:54:47] [Debug] [/dev/cdc-wdm3] Sent message...
<<<<<< RAW:
<<<<<< length = 12
<<<<<< data = 01:0B:00:00:00:00:00:01:27:00:00:00
[03 Feb 2022, 05:54:47] [Debug] [/dev/cdc-wdm3] Sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 11
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 0
<<<<<< message = "Sync" (0x0027)
[03 Feb 2022, 05:54:47] [Debug] [/dev/cdc-wdm3] QMI endpoint hangup: removed
[03 Feb 2022, 05:54:47] -Warning ** [/dev/cdc-wdm3] QMI parsing error: QMI
framing error detected
error: couldn't open QMI device: endpoint hangup
What do you think?
In addition I see that my modems do not have ttyUSB* interfaces. I am not a
very experienced guy with the modems but in my previous work with 4G SIerra
modems I got ttyUSB* interfaces immediately after enabling the qmi open
source driver.
ср, 2 февр. 2022 г. в 23:55, Aleksander Morgado <aleksander at aleksander.es>:
> >
> > I have no idea how you managed to brick 2 devices :) I've worked with
> > multiple Sierra modules writing the qmi-firmware-update tool and I
> > haven't bricked a single device myself :) Either you have very bad
> > luck, or your doing something totally unexpected for some reason! :D
>
> *you're*
>
> --
> Aleksander
> https://aleksander.es
>
--
With best regards,
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20220203/9916cf88/attachment.htm>
More information about the libqmi-devel
mailing list