danielewood / sierra-wireless-modems Goto Github PK
View Code? Open in Web Editor NEWEM7565/EM7455/MC7455 - Modem Configuration
License: The Unlicense
EM7565/EM7455/MC7455 - Modem Configuration
License: The Unlicense
Describe the bug
I have an EM7445 which I flashed using the autoflash script over a year ago. Recently, it stopped connecting to the carrier, so, I thought maybe my firmware needs an update. I tried to use the autoflash script again, however, this time it gets stuck in the boothold wait.
...
Waiting for modem to reboot...
Already downloaded SWI9X30C_02.33.03.00_GENERIC_002.072_000.zip...
Archive: SWI9X30C_02.33.03.00_GENERIC_002.072_000.zip
inflating: SWI9X30C_02.33.03.00.cwe
inflating: SWI9X30C_02.33.03.00_GENERIC_002.072_000.nvu
---
Flashing SWI9X30C_02.33.03.00.cwe onto Generic Sierra Modem...
reseter operation finished successfully
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect it to finish the process.
Desktop (please complete the following information):
Additional context
Worked perfectly last time using Ubuntu 18 Live CD and an older version of VirtualBox and the autoflash script.
This issue will be closed, please use Discussions instead.
The updated Server is not working anymore.
Hello,
I'm using Ubuntu 22.04 LiveUSB and I want to flash my EM7455 (DW5811e).
Autoflash_7455.sh failed at function download_modem_firmware(), $SWI9X30C_URL is empty :
I tried to manually flash instead by following your procedure, and I get this error :
Am I doing something wrong? Do I need to get an older release of Ubuntu?
Describe the bug
The README has a link as follows:
That is no longer needed. The ModemManager integration is already available in the official openwrt-packages repository.
Cheers!
This may seem like a simple question to you Linux guru's, but please remember not all of us are :)
In the autoflash-7455.sh
script, could I have example of using latest firmware SWI9X30C_02.33.03.00_Generic_002.072_000.zip (least current at time of this post)?
Not positive where to update the autoflash-7455.sh
and hate to ASSume ...
I thank you in advance!
I could update the firmware after slightly modifying the script.
See #71 and
autoflash-7455.sh.txt
I also trying to force FCC Unlock, given what some other users reported and the general guide at https://modemmanager.org/docs/modemmanager/fcc-unlock/.
Firmware Version is the latest available today (02.38.00.00).
root@SierraFirmwareUpdater:/usr/src/autoflash_sierra_firmware_2024# ls -l
total 125060
-rwxr-xr-x 1 root root 16673 Jan 1 15:53 autoflash-7455.sh
-rwxr-xr-x 1 root root 16673 Jan 1 17:46 autoflash-7455.sh.txt
-rw-r--r-- 1 root root 253 Jan 1 16:52 flash.sh
-rw-r--r-- 1 root root 801 Jan 1 16:49 modem.log
-rw-r--r-- 1 root root 682 Jan 1 16:49 script.txt
-rwxr-xr-x 1 root root 64330846 Jan 14 2022 SWI9X30C_02.38.00.00.cwe
-rwxr-xr-x 1 root root 23855 Jan 14 2022 SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
-rw-r--r-- 1 root root 63618715 Jan 1 15:57 SWI9X30C_02.38.00.00_GENERIC_002.082_000.zip
-rwxr-xr-x 1 root root 22365 Jan 1 15:54 swi_setusbcomp.pl
Flashing log (unfortunately I had to flash several times because I got stuck in this , so only the last flash is shown here):
AT
OK
AT!ENTERCND="A710"
OK
AT!USBCOMP=1,1,0000100D
OK
AT!RESET
OK
AT
OK
ATE1
OK
ATI
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.38.00.00 rE3F3E55C03AE94 jenkins 2022/01/13 05:16:00
MEID: 01458200686358
IMEI: 014582006863584
IMEI SV: 22
FSN: LF722122230310
+GCAP: +CGSM
OK
cat: /dev/ttyUSB2: No such file or directory
cat: /dev/ttyUSB3: No such file or directory
OK
OK
OK
OK
OK
OK
ATI
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.38.00.00 rE3F3E55C03AE94 jenkins 2022/01/13 05:16:00
MEID: 01458200686358
IMEI: 014582006863584
IMEI SV: 22
FSN: LF722122230310
+GCAP: +CGSM
OK
cat: /dev/ttyUSB2: No such file or directory
cat: /dev/ttyUSB3: No such file or directory
lsusb -v
(only relevant device shown)
Bus 003 Device 038: ID 1199:9071 Sierra Wireless, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1199 Sierra Wireless, Inc.
idProduct 0x9071
bcdDevice 0.06
iManufacturer 1 Sierra Wireless, Incorporated
iProduct 2 EM7455
iSerial 3 LF72212223031020
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x00a0
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 05 24 01 00 00
** UNRECOGNIZED: 04 24 02 02
** UNRECOGNIZED: 05 24 06 00 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 05 24 01 00 00
** UNRECOGNIZED: 04 24 02 02
** UNRECOGNIZED: 05 24 06 00 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 8
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 9
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
lsusb
(only relevant device shown)
Bus 003 Device 038: ID 1199:9071 Sierra Wireless, Inc.
usb-devices
(only relevant device shown)
T: Bus=03 Lev=02 Prnt=31 Port=03 Cnt=03 Dev#= 38 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1199 ProdID=9071 Rev=00.06
S: Manufacturer=Sierra Wireless, Incorporated
S: Product=EM7455
S: SerialNumber=LF72212223031020
C: #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
I: If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=qcserial
I: If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=qcserial
I: If#=0x8 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
Status of FCC Unlock
root@SierraFirmwareUpdater:/usr/src/autoflash_sierra_firmware_2024# ls -l /etc/ModemManager/fcc-unlock.d/
total 0
lrwxrwxrwx 1 root root 56 Jan 1 17:37 03f0:4e1d -> /usr/share/ModemManager/fcc-unlock.available.d/03f0:4e1d
lrwxrwxrwx 1 root root 51 Jan 1 17:37 105b -> /usr/share/ModemManager/fcc-unlock.available.d/105b
lrwxrwxrwx 1 root root 56 Jan 1 17:37 105b:e0ab -> /usr/share/ModemManager/fcc-unlock.available.d/105b:e0ab
lrwxrwxrwx 1 root root 51 Jan 1 17:37 1199 -> /usr/share/ModemManager/fcc-unlock.available.d/1199
lrwxrwxrwx 1 root root 56 Jan 1 17:41 1199:9070 -> /usr/share/ModemManager/fcc-unlock.available.d/1199:9070
lrwxrwxrwx 1 root root 56 Jan 1 17:38 1199:9071 -> /usr/share/ModemManager/fcc-unlock.available.d/1199:9071
lrwxrwxrwx 1 root root 56 Jan 1 17:41 1199:9078 -> /usr/share/ModemManager/fcc-unlock.available.d/1199:9078
lrwxrwxrwx 1 root root 56 Jan 1 17:37 1199:9079 -> /usr/share/ModemManager/fcc-unlock.available.d/1199:9079
lrwxrwxrwx 1 root root 51 Jan 1 17:37 1eac -> /usr/share/ModemManager/fcc-unlock.available.d/1eac
lrwxrwxrwx 1 root root 56 Jan 1 17:37 1eac:1001 -> /usr/share/ModemManager/fcc-unlock.available.d/1eac:1001
lrwxrwxrwx 1 root root 56 Jan 1 17:37 413c:81a3 -> /usr/share/ModemManager/fcc-unlock.available.d/413c:81a3
lrwxrwxrwx 1 root root 56 Jan 1 17:37 413c:81a8 -> /usr/share/ModemManager/fcc-unlock.available.d/413c:81a8
And
root@SierraFirmwareUpdater:/usr/src/autoflash_sierra_firmware_2024# ls -l /usr/share/ModemManager/fcc-unlock.available.d/
total 12
lrwxrwxrwx 1 root root 4 Apr 8 2022 03f0:4e1d -> 1199
-rwxr-xr-x 1 root root 783 Apr 8 2022 105b
lrwxrwxrwx 1 root root 4 Apr 8 2022 105b:e0ab -> 105b
-rwxr-xr-x 1 root root 771 Apr 8 2022 1199
lrwxrwxrwx 1 root root 4 Jan 1 17:41 1199:9070 -> 1199
lrwxrwxrwx 1 root root 4 Jan 1 17:41 1199:9071 -> 1199
lrwxrwxrwx 1 root root 4 Jan 1 17:41 1199:9078 -> 1199
lrwxrwxrwx 1 root root 4 Apr 8 2022 1199:9079 -> 1199
-rwxr-xr-x 1 root root 765 Apr 8 2022 1eac
lrwxrwxrwx 1 root root 4 Apr 8 2022 1eac:1001 -> 1eac
lrwxrwxrwx 1 root root 4 Apr 8 2022 413c:81a3 -> 1199
lrwxrwxrwx 1 root root 4 Apr 8 2022 413c:81a8 -> 1199
dmesg
(only relevant device shown)
[ 5094.101427] usb 3-6.2: new high-speed USB device number 35 using xhci_hcd
[ 5094.202289] usb 3-6.2: config 1 has an invalid interface number: 8 but max is 3
[ 5094.202299] usb 3-6.2: config 1 has no interface number 1
[ 5094.202838] usb 3-6.2: New USB device found, idVendor=1199, idProduct=9071, bcdDevice= 0.06
[ 5094.202846] usb 3-6.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5094.202850] usb 3-6.2: Product: EM7455
[ 5094.202853] usb 3-6.2: Manufacturer: Sierra Wireless, Incorporated
[ 5094.202855] usb 3-6.2: SerialNumber: LF72212223031020
[ 5094.211859] qcserial 3-6.2:1.0: Qualcomm USB modem converter detected
[ 5094.211971] usb 3-6.2: Qualcomm USB modem converter now attached to ttyUSB0
[ 5094.212633] qcserial 3-6.2:1.2: Qualcomm USB modem converter detected
[ 5094.212746] usb 3-6.2: Qualcomm USB modem converter now attached to ttyUSB1
[ 5094.214231] qcserial 3-6.2:1.3: Qualcomm USB modem converter detected
[ 5094.214353] usb 3-6.2: Qualcomm USB modem converter now attached to ttyUSB2
[ 5094.215150] qmi_wwan 3-6.2:1.8: cdc-wdm2: USB WDM device
[ 5094.215481] qmi_wwan 3-6.2:1.8 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-6.2, WWAN/QMI device, 0e:26:c5:06:06:e0
[ 5097.457830] EXT4-fs (sdd2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 5427.696325] usb 3-6.2: USB disconnect, device number 35
[ 5427.696483] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[ 5427.696503] qcserial 3-6.2:1.0: device disconnected
[ 5427.696664] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1
[ 5427.696689] qcserial 3-6.2:1.2: device disconnected
[ 5427.696837] qcserial ttyUSB2: Qualcomm USB modem converter now disconnected from ttyUSB2
[ 5427.696851] qcserial 3-6.2:1.3: device disconnected
[ 5427.696980] qmi_wwan 3-6.2:1.8 wwan0: unregister 'qmi_wwan' usb-0000:00:14.0-6.2, WWAN/QMI device
[ 6663.129076] usb 3-6.4: new high-speed USB device number 36 using xhci_hcd
[ 6663.229890] usb 3-6.4: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[ 6663.229903] usb 3-6.4: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[ 6663.230861] usb 3-6.4: New USB device found, idVendor=1199, idProduct=9070, bcdDevice= 0.00
[ 6663.230875] usb 3-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6663.230879] usb 3-6.4: Product: EM7455
[ 6663.230883] usb 3-6.4: Manufacturer: Sierra Wireless, Incorporated
[ 6663.230886] usb 3-6.4: SerialNumber: LF72212223031020
[ 6663.417022] usb 3-6.4: USB disconnect, device number 36
[ 6671.321202] usb 3-6.4: new high-speed USB device number 37 using xhci_hcd
[ 6671.422007] usb 3-6.4: config 1 has an invalid interface number: 8 but max is 3
[ 6671.422013] usb 3-6.4: config 1 has no interface number 1
[ 6671.422562] usb 3-6.4: New USB device found, idVendor=1199, idProduct=9071, bcdDevice= 0.06
[ 6671.422568] usb 3-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6671.422570] usb 3-6.4: Product: EM7455
[ 6671.422571] usb 3-6.4: Manufacturer: Sierra Wireless, Incorporated
[ 6671.422573] usb 3-6.4: SerialNumber: LF72212223031020
[ 6671.429189] qcserial 3-6.4:1.0: Qualcomm USB modem converter detected
[ 6671.429309] usb 3-6.4: Qualcomm USB modem converter now attached to ttyUSB0
[ 6671.430017] qcserial 3-6.4:1.2: Qualcomm USB modem converter detected
[ 6671.430100] usb 3-6.4: Qualcomm USB modem converter now attached to ttyUSB1
[ 6671.430782] qcserial 3-6.4:1.3: Qualcomm USB modem converter detected
[ 6671.430863] usb 3-6.4: Qualcomm USB modem converter now attached to ttyUSB2
[ 6671.431622] qmi_wwan 3-6.4:1.8: cdc-wdm2: USB WDM device
[ 6671.431961] qmi_wwan 3-6.4:1.8 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-6.4, WWAN/QMI device, 0e:26:c5:06:06:e0
[ 6823.929552] usb 3-6.4: USB disconnect, device number 37
[ 6823.929841] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[ 6823.929875] qcserial 3-6.4:1.0: device disconnected
[ 6823.930106] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1
[ 6823.930125] qcserial 3-6.4:1.2: device disconnected
[ 6823.930356] qcserial ttyUSB2: Qualcomm USB modem converter now disconnected from ttyUSB2
[ 6823.930375] qcserial 3-6.4:1.3: device disconnected
[ 6823.930568] qmi_wwan 3-6.4:1.8 wwan0: unregister 'qmi_wwan' usb-0000:00:14.0-6.4, WWAN/QMI device
[ 6833.881746] usb 3-6.4: new high-speed USB device number 38 using xhci_hcd
[ 6833.982689] usb 3-6.4: config 1 has an invalid interface number: 8 but max is 3
[ 6833.982701] usb 3-6.4: config 1 has no interface number 1
[ 6833.983519] usb 3-6.4: New USB device found, idVendor=1199, idProduct=9071, bcdDevice= 0.06
[ 6833.983533] usb 3-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6833.983539] usb 3-6.4: Product: EM7455
[ 6833.983543] usb 3-6.4: Manufacturer: Sierra Wireless, Incorporated
[ 6833.983547] usb 3-6.4: SerialNumber: LF72212223031020
[ 6833.991058] qcserial 3-6.4:1.0: Qualcomm USB modem converter detected
[ 6833.991202] usb 3-6.4: Qualcomm USB modem converter now attached to ttyUSB0
[ 6833.991821] qcserial 3-6.4:1.2: Qualcomm USB modem converter detected
[ 6833.991923] usb 3-6.4: Qualcomm USB modem converter now attached to ttyUSB1
[ 6833.992558] qcserial 3-6.4:1.3: Qualcomm USB modem converter detected
[ 6833.992673] usb 3-6.4: Qualcomm USB modem converter now attached to ttyUSB2
[ 6833.993425] qmi_wwan 3-6.4:1.8: cdc-wdm2: USB WDM device
[ 6833.993759] qmi_wwan 3-6.4:1.8 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-6.4, WWAN/QMI device, 0e:26:c5:06:06:e0
Trying to enable modem
mmcli -v -m 0 -e
[01 Jan 2024, 17:42:43] [Debug] ModemManager process found at ':1.424'
[01 Jan 2024, 17:42:43] [Debug] Assuming '0' is the modem index
[01 Jan 2024, 17:42:43] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
[01 Jan 2024, 17:42:43] [Debug] Synchronously enabling modem...
error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Invalid transition'
journalctl -xeu ModemManager
root@SierraFirmwareUpdater:/usr/src/autoflash_sierra_firmware_2024# systemctl status ModemManager
● ModemManager.service - Modem Manager
Loaded: loaded (/lib/systemd/system/ModemManager.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-01-01 17:42:06 CET; 31min ago
Main PID: 18173 (ModemManager)
Tasks: 5 (limit: 38366)
Memory: 4.0M
CGroup: /system.slice/ModemManager.service
├─18173 /usr/sbin/ModemManager
└─18238 /usr/libexec/qmi-proxy
Jan 01 18:11:17 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:18 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:19 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:19 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:20 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:20 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:20 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:21 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:21 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:21 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
root@SierraFirmwareUpdater:/usr/src/autoflash_sierra_firmware_2024# journalctl -xeu ModemManager
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] wds (1.67)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] dms (1.14)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] nas (1.25)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] qos (1.6)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] wms (1.10)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] auth (1.3)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] at (1.2)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] voice (2.1)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] cat2 (2.24)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] uim (1.45)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] pbm (1.4)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] test (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] loc (2.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] sar (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] ts (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] tmd (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] wda (1.16)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] csvt (1.1)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] coex (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] pdc (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] rfrpe (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] dsd (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] ssctl (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0x2e] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0x30] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0x31] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0x36] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] rms (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0xf0] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0xf3] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0xf5] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0xf6] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] unknown [0xfc] (1.0)
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'wda' (version 1.16) client with ID '1'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Releasing 'wda' client with flags 'release-cid'...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Unregistered 'wda' client with ID '1'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'dms' (version 1.14) client with ID '2'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'nas' (version 1.25) client with ID '3'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'wds' (version 1.67) client with ID '35'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'wms' (version 1.10) client with ID '2'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'uim' (version 1.45) client with ID '2'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'loc' (version 2.0) client with ID '1'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'pdc' (version 1.0) client with ID '1'
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Allocating new client ID...
Jan 01 18:11:09 SierraFirmwareUpdater ModemManager[18173]: [/dev/cdc-wdm2] Registered 'voice' (version 2.1) client with ID '2'
Jan 01 18:11:11 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2/sim2] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 105,129,""'
Jan 01 18:11:11 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't load list of own numbers: Couldn't get MSISDN: QMI protocol error (16): 'NotProvisioned'
Jan 01 18:11:12 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (unknown -> disabled)
Jan 01 18:11:12 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:12 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:12 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:17 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:17 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:17 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:18 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:19 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:19 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:20 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:20 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:20 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
Jan 01 18:11:21 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (disabled -> enabling)
Jan 01 18:11:21 SierraFirmwareUpdater ModemManager[18173]: <warn> [modem2] couldn't enable interface: 'Invalid transition'
Jan 01 18:11:21 SierraFirmwareUpdater ModemManager[18173]: <info> [modem2] state changed (enabling -> disabled)
More details on journalctl -xeu ModemManager
after systemctl restart ModemManager
.
modemmanager.log
I tried this (at least the enable modem part) on:
There just seems to be something missing and I cannot figure out what.
Any other idea ?
Could it also be a USB power issue ? 500mA maximum current (if reported correctly) at 5V is only 2.5W. Could this also be the cause of the issue ?
Not sure if this is normal, probably it's NOT:
root@SierraFirmwareUpdater:/usr/src/autoflash_sierra_firmware_2024# sudo mbimcli -p -d /dev/cdc-wdm2 --quectel-query-radio-state
[01 Jan 2024, 18:27:16] -Warning ** [/dev/cdc-wdm2] Couldn't find MBIM signature in descriptors file
error: couldn't open the MbimDevice: Transaction timed out
And this is when I tried some AT commands on OpenWrt.
Seems like the device is stuck in low power mode:
Welcome to minicom 2.8
OPTIONS:
Port /dev/ttyUSB2, 18:04:18
Press CTRL-A Z for help on special keys
OK
at!gstatus?
!GSTATUS:
Current Time: 128 Temperature: 20
Reset Counter: 1 Mode: LOW POWER MODE
OK
The manua flashing procedure is linking to some now missing URLs (for example, wget http://security.ubuntu.com/ubuntu/pool/universe/libq/libqmi/libqmi-utils_1.20.0-1ubuntu1_amd64.deb
). I think it would be best to actually just update everything to cosmic as it has the required newer packages in the archive. Baring that, we can update the links to point to a ppa or something more stable; or really ideally, find a better distribution method. Thanks for documenting all of this!
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The README states several times to use Ubuntu 18.04 but when trying to run the latest script on 18.04 it says you need at least 20.04 and refuses to run any further.
Describing
Autoflash.sh refused to update my EM7455. Either I'm missing something or it's not clear to me. Various issues with the timing and line 357 (I'm not sure this is a valid flag: --update-download)
qmi-firmware-update --update-download -d "$deviceid" "$SWI9X30C_CWE" "$SWI9X30C_NVU"
To Reproduce
Execute Autoflash.sh
Expected behavior
Expected to complete successfully
Desktop (please complete the following information):
Ubuntu 18.04, LiveCD
Additional context
Was able to resolve my issues by using a previous Sept 12, 2020 version of Autoflash.sh,
CodeFactor found multiple issues:
...
.wireguard-mullvad.sh:17
wireguard-mullvad.sh:33
wireguard-mullvad.sh:34
wireguard-mullvad.sh:35
wireguard-mullvad.sh:36
wireguard-mullvad.sh:37
wireguard-mullvad.sh:40
wireguard-mullvad.sh:41
Due to the initially incorrect firmware for the latest firmware (bypassing intermediate ones) using the qmi-firmware-update method, my EM7565 went into QDLoader mode and now cannot boot normally. I tried to act according to the instructions of @danielewood Sierra-Linux-QMI-SDK.md, but all to no avail - at first, the firmware via fwdwl-litehostx86_64 to the version SWI9X50C_01.05.01.00_00_GENERIC_001.028_000 went fine, stopping at the message "Waiting for modem to come up in ONLINE mode ...", while the modem was loaded into QDL again, and now the firmware is completely terminated with the message "litefw_DownloadFW failed: 100". Multiple attempts were made to flash the version SWI9X50C_01.05.01.00_00_GENERIC_001.028_000, then to SWI9X50C_01.07.02.00_GENERIC_002.004_000, as well as the latest available with all intermediate versions found on the network:
All to no avail, the behavior of the modem does not change. All the instructions I found on the net do not work.
There is an assumption that the modem has finally become corrupted, but I would like to believe that it can be restored.
dmesg output:
[170555.087573] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[170555.087659] usb 1-1: USB disconnect, device number 48
[170555.087733] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[170555.087743] qcserial 1-1:1.0: device disconnected
[170556.192998] usb 1-1: new high-speed USB device number 49 using xhci_hcd
[170556.321590] usb 1-1: New USB device found, idVendor=1199, idProduct=9090, bcdDevice= 0.00
[170556.321594] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[170556.321595] usb 1-1: Product: QUSB__BULK
[170556.321596] usb 1-1: Manufacturer: Sierra Wireless, Incorporated
[170556.321597] usb 1-1: SerialNumber: UF72338581040421
[170556.323774] qcserial 1-1:1.0: Qualcomm USB modem converter detected
[170556.323881] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[170599.828919] usb 1-1: USB disconnect, device number 49
[170599.829106] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[170599.829156] qcserial 1-1:1.0: device disconnected
[170651.334305] usb 1-1: new high-speed USB device number 50 using xhci_hcd
[170651.465611] usb 1-1: New USB device found, idVendor=1199, idProduct=9090, bcdDevice= 0.00
[170651.465615] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[170651.465616] usb 1-1: Product: Sierra Wireless EM7565
[170651.465617] usb 1-1: Manufacturer: Sierra Wireless, Incorporated
[170651.465618] usb 1-1: SerialNumber: UF72338581040421
[170651.467390] qcserial 1-1:1.0: Qualcomm USB modem converter detected
[170651.467574] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[170651.467634] usb 1-1: USB disconnect, device number 50
[170651.467774] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[170651.467786] qcserial 1-1:1.0: device disconnected
[170794.425608] usb 1-1: new high-speed USB device number 51 using xhci_hcd
[170794.557281] usb 1-1: New USB device found, idVendor=1199, idProduct=9090, bcdDevice= 0.00
[170794.557285] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[170794.557286] usb 1-1: Product: QUSB_Fast_Enum.
[170794.557287] usb 1-1: Manufacturer: Sierra Wireless, Incorporated
[170794.557288] usb 1-1: SerialNumber: UF72338581040421
[170794.559095] qcserial 1-1:1.0: Qualcomm USB modem converter detected
[170794.559214] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[170794.559287] usb 1-1: USB disconnect, device number 51
[170794.559390] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[170794.559400] qcserial 1-1:1.0: device disconnected
[170795.663773] usb 1-1: new high-speed USB device number 52 using xhci_hcd
[170795.794380] usb 1-1: New USB device found, idVendor=1199, idProduct=9090, bcdDevice= 0.00
[170795.794384] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[170795.794386] usb 1-1: Product: QUSB__BULK
[170795.794387] usb 1-1: Manufacturer: Sierra Wireless, Incorporated
[170795.794388] usb 1-1: SerialNumber: UF72338581040421
[170795.796319] qcserial 1-1:1.0: Qualcomm USB modem converter detected
[170795.796407] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
I've never been able run autoflash-7455 till the end, always exits with "Attempted download URL was: https://source.sierrawireless.comzip". Please help!
Gets stucked.txt
To Reproduce
Steps to reproduce the behavior:
Hi, thanks for all your work on this repo!
I have a Thinkpad T460s and I'd like to install the card internally. The README says that the instructions only work for an external USB enclosure. Is it not possible to setup the modem when it's installed internally, or would it just requiring modifying the procedure?
Sierra-Linux-QMI-SDK.md
If the user does not have at least one of the two device types present, either because of the modem not being connected, the drivers not being loaded, or other situations
*) printf "Unknown Device Type = $devtype\r\nDevice Path = /dev/$devpath\r\n"; exit
will exit the user's shell.
Adding s shebang to the beginning of the scrips would make it clear that these are not intended to be executed from the command line directly.
#! /bin/sh
as one option
Great script! This is a huge time saver.
Wondering if there are any issues using on EM7355 DD5808e?
Just starting to learn about flashing the primecards and really hate to brick my EM7355.
Thanks in advance for input.
i updated my modem via
autoflash-7455.sh -e 2 -u 0 -m 6 -b 0
however it would not connect afterwards. only after i set the preference via
qmicli -d /dev/cdc-wdm0 --dms-set-firmware-preference="02.33.03.00,002.045_000,GENERIC"
it worked.
qmi-firmware-update
fails every time after it restarts the modem in boot & hold mode with either of the following two errors (roughly 50:50 chance), running on Ubuntu 18.04.5 in VMware on a Windows 10 host.
download mode detected
error: error creating device: unexpected response received in dload sdp: 0x13```
Or:
download mode detected
error: error creating device: timed out waiting for the response
After that, the modem is stuck in low-power mode because the firmware image preference refers to the image that is not yet flashed to the modem, hence mismatching the one loaded by default.
VMware is setup to automatically connect the modem to the guest. I've tried this with firmware version 02.20
(which is the next highest version from it's current version 02.08
) as well as the most recent one, 02.33
. Below are the modem's characteristics after a reset using AT!RMARESET=1
. Strangely, the active firmware slot FW 1
is empty.
Updates with fwdwl-litehostx86_64
(Ubuntu 18.04.5) and fdt.exe
(Windows 10) fail too.
ATI
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.08.02.00 r5428 CARMD-EV-FRMWR2 2016/01/06 20:38:53
[...]
+GCAP: +CGSM
OK
AT!HWID?
Revision: 1.0
OK
AT!USBINFO?
VID: 0x413C
APP PID: 0x81B6
BOOT PID: 0x81B5
Manufacturer: Sierra Wireless, Incorporated
Product: DW5811e Snapdragon�™ X7 LTE
OK
AT!PCINFO?
State: Online
LPM voters - Temp:0, Volt:0, User:0, W_DISABLE:0, IMSWITCH:0, BIOS:0
LPM persistence - None
OK
AT!IMPREF?
!IMPREF:
preferred fw version: 02.08.02.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.007_000
current fw version: 02.08.02.00
current carrier name: GENERIC
current config name: GENERIC_002.007_000
OK
AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 EMPTY 0 0 0
FW 2 EMPTY 0 0 0
FW 3 EMPTY 0 0 0
FW 4 EMPTY 0 0 0
Max FW images: 4
Active FW image is at slot 1
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.007_000 02.08.02.00_GENERIC
Max PRI images: 50
OK
I have an EM7455 and am using an external enclosure with a bright blue power light. Prior to flashing the power light would come on after a bit.
After flashing successfully, the power light only flashes briefly after USB is plugged in and then there is no light after that.
Any ideas?
Hi and thanks for doing this.
I have bought a X1 Carbon Gen 7 and I am working on Debian,
I'd like to know if:
Fibocom L850-GL 4G LTE CAT9
is a EM7565/EM7455/MC7455
deviceAccording to https://bke.ro/working-wwan-on-the-x1-carbon-gen-6/ , there is way to plug and play the device with USB, this could be a way to format without the adapter to flash, am I correct ?
I've been trying for hours to get mmcli to send a text via terminal on Verizon with no luck. It works with AT&T. I have a data connection on Verizon but no sms. Any guidance?
When I try to send via
mmcli -m 0 --messaging-create-sms="text='Hello world',number=+1xxxxxxxxxx,delivery-report-request=yes"
Successfully created new SMS: /org/freedesktop/ModemManager1/SMS/1
mmcli -s 1 --send
It hangs for a long time then says:
error: couldn't send the SMS: 'Timeout was reached'
sudo mmcli -v -s 1 --send
[06 Oct 2021, 23:24:14] [Debug] Assuming '1' is the SMS index
[06 Oct 2021, 23:24:14] [Debug] ModemManager process found at ':1.14'
[06 Oct 2021, 23:24:14] [Debug] Sms found at '/org/freedesktop/ModemManager1/SMS/1'
error: couldn't send the SMS:
'GDBus.Error:org.freedesktop.libmbim.Error.Core.Timeout: Couldn't send SMS part: Transaction timed out'
If I try to send via AT commands it says there's no room. When I moved back to another phone or other device running Linux with a different modem it sends with no problem with commands above. All msgs come in and send once the sim is placed in another device.
Here's the details from mmcli -m 0
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id:
--------------------------------
Hardware | manufacturer: Sierra Wireless, Incorporated
| model: DW5811e Snapdragon™ X7 LTE
| firmware revision: SWI9X30C_02.33.03.00
| carrier config: default
| h/w revision: EM7455
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id:
--------------------------------
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3
| drivers: qcserial, cdc_mbim
| plugin: Dell
| primary port: cdc-wdm2
| ports: cdc-wdm2 (mbim), ttyUSB2 (at), wwan0 (net), ttyUSB0 (qcdm)
--------------------------------
Numbers | own: +1xxxxxxxxxx
--------------------------------
Status | unlock retries: sim-pin2 (3)
| state: registered
| power state: on
| access tech: lte
| signal quality: 35% (cached)
--------------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| current: allowed: 4g; preferred: none
--------------------------------
Bands | supported: utran-1, utran-3, utran-4, utran-5, utran-8, utran-2,
| eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
| eutran-12, eutran-13, eutran-20, eutran-25, eutran-26, eutran-29,
| eutran-30, eutran-41
| current: utran-1, utran-3, utran-4, utran-5, utran-8, utran-2,
| eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
| eutran-12, eutran-13, eutran-20, eutran-25, eutran-26, eutran-29,
| eutran-30, eutran-41
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei:
| enabled locks: fixed-dialing
| operator id: xxxxxx
| operator name: Verizon
| registration: home
--------------------------------
3GPP EPS | ue mode of operation: csps-2
--------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
ATI3
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.33.03.00 r8209 CARMD-EV-FRMWR2 2019/08/28 20:59:30
MEID: XXXXX
IMEI: XXXXX
IMEI SV: 20
FSN: LF617590670410
+GCAP: +CGSM
AT!IMPREF?
!IMPREF:
preferred fw version: 02.33.03.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.072_000
preferred subpri index: 000
current fw version: 02.33.03.00
current carrier name: GENERIC
current config name: GENERIC_002.072_000
current subpri index: 000
OK
AT!GSTATUS?
!GSTATUS:
Current Time: 243 Temperature: 30
Reset Counter: 1 Mode: ONLINE
System mode: LTE PS state: Attached
LTE band: B4 LTE bw: 5 MHz
LTE Rx chan: 2175 LTE Tx chan: 20000
LTE CA state: NOT ASSIGNED
EMM state: Registered Normal Service
RRC state: RRC Idle
IMS reg state: No Srv
PCC RxM RSSI: -75 RSRP (dBm): -99
PCC RxD RSSI: -100 RSRP (dBm): -137
Tx Power: -- TAC: 0B01 (2817)
RSRQ (dB): -10.0 Cell ID: 002BE617 (2876951)
SINR (dB): 15.2
AT+CSCA?
+CSCA: "+19037029920",145
AT+CMGF=1
OK
AT+CMGS="xxxxxxxxxx"
> Testing
+CMS ERROR: 350
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Hi-
Thanks so much for your work and help with this codebase. I am running a new install of Ubuntu 18.04.03 on a VM.
`user@comp:~/sudo ./swi_setusbcomp.pl
Running in QMI mode (driver=qmi_wwan)
Failed to verify QMI
Warning: unable to close filehandle properly: Input/output error during global destruction.
`
Any thoughts? I know knot about perl, but my guess after poking at it the last few days is that it is a change in perl I/O and filehandle? Any advice on this?
Thanks in advance-
Daryl
Hi,
After having run autoflash-7455 the next text could be seen on the screen:
BGflashing(autoflash-7455).txt
After flashing, the ports are changing over & over:
BGafterflashing.txt
At the drivers of EM7455 yellow triangles.
Pls. Help!
Greetings to everybody!
Hi!
Can Lenovo branded ones have their identities changed? Or only the Dell ones allow for it? Thank you.
Describe the bug
The README says "For qmi-firmware-update does not work with the 75xx series". The tool does support EM75xx, and since 1.30.4 it also supports the newer EM91xx as well.
Hello, I'd like to thank you for this resources - priceless!!!
And give you an idea to inform how to add (simply hex calc) lte band mask. In my country I have b3+b7+b20 - so I had to create custom entry.
Thanks a lot!
Hi,
i tried using the autoflash script on a Ubuntu 20.04 Live System.
It seems that everything works until it gets to the part where it wants to download the Generic Firmware.
Stops there cause of this error: https://github.com/danielewood/sierra-wireless-modems/blob/master/autoflash-7455.sh#L318
After looking around a bit I noticed that Sierra Wireless seemed to have changed the firmware website.
The correct URL would now probably be:
new: https://source.sierrawireless.com/resources/airprime/minicard/74xx/em_mc74xx-approved-fw-packages
old: https://source.sierrawireless.com/resources/airprime/minicard/74xx/airprime-em_mc74xx-approved-fw-packages
But simply changing the URL in line 308 https://github.com/danielewood/sierra-wireless-modems/blob/master/autoflash-7455.sh#L308
did not work.
I think the whole part about the Download URL and filename needs a few tweaks, but sadly I cant figure out whats wrong.
Would be nice if that could be upgraded!?
Found EM7455/MC7455:
Bus 001 Device 003: ID 1199:9079 Sierra Wireless, Inc. EM7455
Running Modem Mode Switch to usbcomp=8
Running in MBIM mode (driver=cdc_mbim)
MBIM OPEN succeeded
QMI msg '0x0021' returned status = 1
MBIM QMI support verified
supports 34 QMI subsystems:
0x00 (1.5) 'QMI_CTL' - Control service
0x01 (1.67) 'QMI_WDS' - Wireless data service
0x02 (1.14) 'QMI_DMS' - Device management service
0x03 (1.25) 'QMI_NAS' - Network access service
0x04 (1.6) 'QMI_QOS' - Quality of service, err, service
0x05 (1.10) 'QMI_WMS' - Wireless messaging service
0x07 (1.3) 'QMI_AUTH' - Authentication service
0x08 (1.2) 'QMI_AT' - AT command processor service
0x09 (2.1) 'QMI_VOICE' - Voice service
0x0a (2.24) 'QMI_CAT2' - Card application toolkit service (new)
0x0b (1.45) 'QMI_UIM' - UIM service
0x0c (1.4) 'QMI_PBM' - Phonebook service
0x0f (1.0) 'QMI_TEST' - Test service
0x10 (2.0) 'QMI_LOC' - Location service
0x11 (1.0) 'QMI_SAR' - Specific absorption rate service
0x17 (1.0) 'QMI_TS' - Thermal sensors service
0x18 (1.0) 'QMI_TMD' - Thermal mitigation device service
0x1a (1.16) 'QMI_WDA' - Wireless data administrative service
0x1d (1.1) 'QMI_CSVT' - Circuit switched videotelephony service
0x22 (1.0) 'QMI_COEX' - Coexistence service
0x24 (1.0) 'QMI_PDC' - Persistent device configuration service
0x29 (1.0) 'QMI_RFRPE' - RF radiated performance enhancement service
0x2a (1.0) 'QMI_DSD' - Data system determination service
0x2b (1.0) 'QMI_SSCTL' - Subsystem control service
0x2e (1.0) 'unknown' -
0x30 (1.0) 'unknown' -
0x31 (1.0) 'unknown' -
0x36 (1.0) 'unknown' -
0xe1 (1.0) 'QMI_RMS' - Remote management service
0xf0 (1.0) 'unknown' -
0xf3 (1.0) 'unknown' -
0xf5 (1.0) 'unknown' -
0xf6 (1.0) 'unknown' -
0xfc (1.0) 'unknown' -
QMI msg '0x0022' returned status = 1
Got QMI DMS client ID '3'
QMI msg '0x555b' returned status = 1
Current USB composition: 8
USB compositions:
0 - HIP DM NMEA AT MDM1 MDM2 MDM3 MS NOT SUPPORTED
1 - HIP DM NMEA AT MDM1 MS NOT SUPPORTED
2 - HIP DM NMEA AT NIC1 MS NOT SUPPORTED
3 - HIP DM NMEA AT MDM1 NIC1 MS NOT SUPPORTED
4 - HIP DM NMEA AT NIC1 NIC2 NIC3 MS NOT SUPPORTED
5 - HIP DM NMEA AT ECM1 MS NOT SUPPORTED
6 - DM NMEA AT QMI SUPPORTED
7 - DM NMEA AT RMNET1 RMNET2 RMNET3 NOT SUPPORTED
Flashing SWI9X30C_02.38.00.00.cwe onto Generic Sierra Modem...
error: reseter operation finished: No devices found to run reset operation
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
^C
When I lsusb:
Bus 001 Device 003: ID 1199:9079 Sierra Wireless, Inc. EM7455
The modem in internal to my laptop so no way to unplug USB cable. Any help would be appreciated.
Hi @danielewood Daniele & Team
Thank you very much for your contributions to the wireless LTE community in getting the EM7455 dell / lenovo to work as generic.
I have DW5811e and faced lot of issues using other methods, finally decided to try your Ubuntu Auto Flash script, using Live LTS 18 but the script when its trying to pull the FW from sierra's website fails - either their URL maybe is now changed / or it needs login?
the error is something about file size not matched, would really appreciate if you can help with this.
I managed to get in USBCOMP=8 mode and manually reflashed using Sierra tool on windows but the auto flash script would be super for saving time in case it gets (EM7455) to DW5811e.
Thank you very much!
~James
[email protected]
Tried running script from terminal this evening and getting failed message when it gets to part where downloading firmware.
Ran "feeling brave" (wget https://raw.githubusercontent.com/danielewood/sierra-wireless-modems/master/autoflash-7455.sh && sudo bash autoflash-7455.sh) and ran local with same results. Here is portion of output:
OK
AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 EMPTY 0 0 0
FW 2 EMPTY 0 0 0
FW 3 EMPTY 0 0 0
FW 4 EMPTY 0 0 0
Max FW images: 4
Active FW image is at slot 255
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
Max PRI images: 50
OK
AT
OK
AT!IMAGE=0
OK
AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 EMPTY 0 0 0
FW 2 EMPTY 0 0 0
FW 3 EMPTY 0 0 0
FW 4 EMPTY 0 0 0
Max FW images: 4
Active FW image is at slot 255
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
Max PRI images: 50
OK
Waiting for modem to reboot...
---
Download of zip failed.
File size on server is too small, something is wrong, exiting...
Attempted download URL was: https://source.sierrawireless.com/~/media/support_downloads/airprime/74xx/fw/7455/zip
curl info:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 148
Content-Type: text/html; charset=utf-8
Location: /sitecore/service/notfound.aspx
Server: Microsoft-IIS/10.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Date: Fri, 26 Jun 2020 04:55:46 GMT
Set-Cookie: BIGipServer~SWI_CORP_WWW~SWI_CORP_CAKEL-HTTPS=928711690.47873.0000; path=/; Httponly; Secure
Tried on two different modems and using the same computer as always (never had issue). I am just not yet advanced enough to solve the issue, anyone that can help appreciated.
Hi Daniel,
I'm trying to recover an EM7455 that I got stuck in QDLoader mode. Following your notes and using an 18.04 image I see this device id in lsusb:
Bus 003 Device 010: ID 1199:9078 Sierra Wireless, Inc.
Then trying, with a bit of freelancing, the --update-qdl gets this:
ubuntu@ubuntu:~$ qmi-firmware-update --update-qdl -d 1199:9078 SWI9X30C_02.30.01.01.cwe SWI9X30C_02.30.01.01_GENERIC_002.045_000.nvu
error: error creating device: error opening serial device: Permission denied
Is this get out-able of ??
Tx
Need to block 29,31,35,37 pin(force to use USB 2.0 interface).
27,33,39 are GND pin so you can block it as well.
Maybe conflict with Motherboard PCIe pin?
Photos here:
https://forum.51nb.com/forum.php?mod=viewthread&tid=1900391
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.