GithubHelp home page GithubHelp logo

danielewood / sierra-wireless-modems Goto Github PK

View Code? Open in Web Editor NEW
418.0 24.0 94.0 23.87 MB

EM7565/EM7455/MC7455 - Modem Configuration

License: The Unlicense

Shell 100.00%
openwrt rooter em7565 em7455 mc7455 sierra-wireless lte modemmanager modem-manager embedded-systems

sierra-wireless-modems's Introduction

Have a question/comment? Please use the Community Discussions instead of opening an issue.

CodeFactor

EM7565/EM7455/MC7455 - Modem Configuration

Index


Modem Performance/Specifications

  • The EM7455/MC7455 is a Category 6 LTE modem. It is capable of 300Mbps down and 50Mbps up.

  • Real world, you are unlikely to ever see much more than 230Mbps, even on Sprint Carrier Aggregation of Band 41+41 (40MHz total).

  • These are my peak results so far (B2+B12, 30MHz total):

    Speed Test peak LTE Results

  • Higher speeds will require a modem capable of 3CA (Three Carrier Aggregation) such as the em7565

    • EM7565 allows 3CA of B2+B12+B30 for a total downlink of 40MHz on approximately 60% of AT&T towers (Assuming you are close and have a strong signal).
    • These are my peak results so far (B2+B12+B30, 40MHz total):

Official Sierra Documents/Firmwares (May require free Sierra account)


Which Modem to Buy

  • If your Laptop has a M.2 WWAN slot, get the Dell DW5811e em7455 and change its identity according to your needs.
    • ~$15 Dell DW5811e em7455
    • This model (typically) supports Bands 29 and 30, unlike the Lenovo Branded Modem.
    • When purchasing the Dell, I would recommend you get a production model. Engineering Samples will sometimes contain an early (SWI9X30C_00.08.02.00) firmware that can be a royal pain to flash due to AT!BOOTHOLD not being implemented.

Adapters and Antennas


Create Accessible COM Port


Manual Flashing Procedure (Ubuntu Linux 18.04)

  1. Install libqmi-utils version 1.20+
    • sudo add-apt-repository universe
    • sudo apt update
    • apt-get install libqmi-glib5 libqmi-proxy libqmi-utils -y
  2. Get the latest firmware bundle from Sierra Wireless.
    • curl -o SWI9X30C_02.30.01.01_Generic_002.045_000.zip -L https://source.sierrawireless.com/~/media/support_downloads/airprime/74xx/fw/02_30_01_01/7455/swi9x30c_02.30.01.01_generic_002.045_000.ashx
  3. Extract firmware CWE and NVU. unzip SWI9X30C_02.30.01.01_Generic_002.045_000.zip
  4. Stop Modem Manager systemctl stop ModemManager
  5. Flash firmware
    deviceid=`lsusb | grep -i -E '1199:9071|1199:9079|413C:81B6' | awk '{print $6}'`
    qmi-firmware-update --update -d "$deviceid" SWI9X30C_02.30.01.01.cwe SWI9X30C_02.30.01.01_GENERIC_002.045_000.nvu
    
  6. Modem will reset with new firmware and carrier profile.

Basic Setup

  1. Enable Advanced Commands:
    • AT!ENTERCND="A710"
  2. Set preferred image to GENERIC (Will error if Generic does not exist)
    • AT!IMPREF="GENERIC"
  3. Set Interface bitmask to 0000100D (diag,nmea,modem,mbim). This is the same as USBCOMP=8.
    • AT!USBCOMP=1,1,0000100D
  4. Set LTE Only (Disables UMTS/HSDPA/3G fallback, which you probably dont want)
    • AT!SELRAT=06
  5. Set Modem to use all available bands (Dont hide any bands)
    • AT!BAND=00
  6. Save settings and reboot modem to apply
    • AT!RESET

EM7565 Basic Setup

  1. Enable Advanced Commands:
    • AT!ENTERCND="A710"
  2. Set preferred image to GENERIC (Will error if Generic does not exist)
    • AT!IMPREF="GENERIC"
  3. Set Interface bitmask to 0000100D (diag,nmea,modem,mbim).
    • AT!USBCOMP=1,3,0000100D
  4. Set LTE Only (Disables UMTS/HSDPA/3G fallback, which you probably dont want)
    • AT!SELRAT=06
  5. Set Modem to use all available LTE bands (Dont hide any bands)
    • AT!BAND=00
    • AT!BAND=09
  6. Save settings and reboot modem to apply
    • AT!RESET

Bypass Lenovo Whitelist for T470/Carbon X1 G6 and other newer Lenovo laptops

Note: Use a $10 M.2 USB Adapter to flash and configure the modem

  1. Enable Advanced Commands:
    • AT!ENTERCND="A710"
  2. Do not skip full initialization on cold boots.
    • AT!CUSTOM="FASTENUMEN",2
    • Prevents device from showing up until it has been fully initialized. This causes the modem to stealth bypass BIOS whitelists as it will not show up until a few seconds after the BIOS has completed its checks.
  3. Tell the modem to ignore the W_DISABLE pin sent by many laptop's internal M2 slots.
    • AT!PCOFFEN=2
  4. Force USB2 mode to enable compatibility with newer M.2 interfaces
    • AT!USBSPEED=0
    • The EM7455 cannot exceed USB2 interface speeds anyways, there is no performance loss.
  5. Save settings and reboot modem to apply
    • AT!RESET

References:


EM7565 ROOter Setup

For GoldenOrb 2017-12-15 Release

  • Run the following AT commands to set to LTE only, and set the USB Composition to something that works with ROOter.
AT!ENTERCND="A710"
AT!BAND=00
AT!BAND=09
AT!SELRAT=06
AT!USBCOMP=1,3,100D
AT!RESET
  • Run the following from SSH:
# Replace hooks for AirCard 340U (if you use a 340U, use PID 9041 as your sacrificial PID):
sed -i 's/ 9051 / 9091 /g' /usr/lib/rooter/connect/create_connect.sh
# Insert PID for EM7455 on every boot:
sed -i '$s%^exit 0%echo "1199 9091" > /sys/bus/usb-serial/drivers/option1/new_id\nexit 0\n%' /etc/rc.local
# Insert PID for EM7455 on immediately:
echo "1199 9091" > /sys/bus/usb-serial/drivers/option1/new_id

Change Modem Identity (Sierra Wireless / Lenovo / Dell)

  1. Enable Terminal Echo
    ATE1
    
  2. Enable Advanced Commands:
    AT!ENTERCND="A710"
    
  3. Record current settings so you can revert if needed.
    AT!USBVID?
    AT!USBPID?
    AT!USBPRODUCT?
    AT!PRIID?
    
    Note the Carrier PRI, we'll use that below.
    Carrier PRI: 9999999_9904609_SWI9X30C_02.24.05.06_00_GENERIC_002.026_000
    PRI Part Number: 9904609
    Revision: 002.026
    Customer: Generic-Laptop
    
  4. Change Modem Identity (Generic, Lenovo, or Dell) Change Modem into a Generic Sierra Wireless em7455/mc7455
    AT!USBVID=1199
    AT!USBPID=9071,9070
    AT!USBPRODUCT="EM7455"
    AT!PRIID="9904609","002.026","Generic-Laptop"
    
    Change Modem into a Lenovo em7455/mc7455 (Use this if installing in a Lenovo)
    AT!USBVID=1199
    AT!USBPID=9079,9078
    AT!USBPRODUCT="Sierra Wireless EM7455 Qualcomm Snapdragon X7 LTE-A"
    AT!PRIID="9904609","002.026","Lenovo-Storm"
    
    Change Modem into a Dell DW5811e em7455/mc7455
    AT!USBVID=413C
    AT!USBPID=81B6,81B5
    AT!USBPRODUCT="Dell Wireless 5811e Gobi(TM)4G LTE Mobile Broadband Card"
    AT!PRIID="9904609","002.026","DELL"
    
  5. Save settings and reboot modem to apply
    AT!RESET
    

Flash using Sierra Wireless Linux Flashing Tool (fwdwl-lite)


Flash modem stuck in QDLoader mode using qmi-firmware-update

deviceid=`lsusb | grep -i -E '1199:9070|1199:9078|413C:81B5' | awk '{print $6}'`
qmi-firmware-update --update-qdl -d "$deviceid" SWI9X30C_02.24.05.06.cwe SWI9X30C_02.24.05.06_GENERIC_002.026_000.nvu

Useful Commands/Info

Enable Terminal Echo

ATE1

Enable Advanced Commands:

AT!ENTERCND="A710"

Clear all Carrier Preferences/Firmwares other than current(You will want to flash the modem after this):

AT!IMAGE?
AT!IMAGE=0
AT!RESET

AT!IMAGE=?

AT!IMAGE=<op>[,<type>[,<slot>[,"<build_id>","<unique_id>"]]]
op   - 0:delete 1:list 2:get max num images
type - 0:FW 1:CONFIG
slot - FW slot index - none implies all slots
AT!IMAGE?[<op>[,<type>]]

Selectively Clear Firmwares:

  • Example: Delete (0), FW (0), Slot (3)
AT!ENTERCND="A710"
AT!IMAGE=0,0,3
AT!RESET

Clear all changes and restore to (Lenovo/Sierra) factory settings:

AT!ENTERCND="A710"
AT!RMARESET=1
AT!RESET

Clear all changes and restore to (Dell) factory settings:

AT!ENTERCND="A710"
AT!NVRESTORE=0
AT!RESET

Lock LTE Bands (Pick one)

AT!BAND=10,"B2 (1900)",0,0000000000000002
AT!BAND=10,"B4 (1700/2100)",0,0000000000000008
AT!BAND=10,"B5 (850)",0,0000000000000010
AT!BAND=10,"B12 (700)",0,0000000000000800
AT!BAND=10,"B2B4",0,000000000000000A
AT!BAND=10,"B2B4B5B12",0,000000000000081A

Set Band Lock:

AT!BAND=10

Clear Band Lock:

AT!BAND=00

AT!LTEINFO?

!LTEINFO:
Serving:   EARFCN MCC MNC   TAC      CID Bd D U SNR PCI  RSRQ   RSRP   RSSI RXLV
              800 310 410 35666 0A14666A  2 5 5  22 404 -14.1  -79.6  -45.5 --

IntraFreq:                                          PCI  RSRQ   RSRP   RSSI RXLV
                                                    404 -14.1  -79.6  -45.5 --
                                                    402 -20.0  -89.3  -57.6 --

InterFreq: EARFCN ThresholdLow ThresholdHi Priority PCI  RSRQ   RSRP   RSSI RXLV
             5110            0           0        0 272 -12.1  -80.9  -50.6   0

Show available Carrier Aggregations for your modem:

AT!LTECA?
Hardware:
LTEB1: B8,
LTEB2: B2, B5, B12, B13, B29,
LTEB3: B7, B20,
LTEB4: B4, B5, B12, B13, B29,
LTEB5: B2, B4, B30,
LTEB7: B3, B7, B20,
LTEB8: B1,
LTEB12: B2, B4, B30,
LTEB13: B2, B4,
LTEB20: B3, B7,
LTEB25:
LTEB26:
LTEB29:
LTEB30: B5, B12, B29,
LTEB41: B41,

Permitted Bands:
Empty

Prune_ca_combos:
Empty

AT!LTECA=?
!LTECA=<flag>
<flag>: 0 – disable CA
	1 – enable CA

AT!GSTATUS?

!GSTATUS:
Current Time:  22016		Temperature: 40
Reset Counter: 1		Mode:        ONLINE
System mode:   LTE        	PS state:    Attached
LTE band:      B2     		LTE bw:      20 MHz
LTE Rx chan:   800		LTE Tx chan: 18800
LTE CA state:  ACTIVE      		LTE Scell band:B12
LTE Scell bw:10 MHz  		LTE Scell chan:5110
EMM state:     Registered     	Normal Service
RRC state:     RRC Connected
IMS reg state: No Srv

PCC RxM RSSI:  -45		RSRP (dBm):  -81
PCC RxD RSSI:  -44		RSRP (dBm):  -79
SCC RxM RSSI:  -52		RSRP (dBm):  -83
SCC RxD RSSI:  -51		RSRP (dBm):  -81
Tx Power:      15		TAC:         8C65 (35666)
RSRQ (dB):     -14.0		Cell ID:     0A14666A (169106666)
SINR (dB):     23.8

AT!HWID?
Revision: 0.5

How to Calculate Bitmasks to Lock LTE Bands

When you see something like AT!BAND=10,"B2B4B5B12",0,000000000000081A, you may wonder how that number on the end is derrived. It is a bitmask.

  • First, unlock Advanced/Admin mode:
    • AT!ENTERCND="A710"
  • Next, check the bitmask options for your specific modem. There will be variations between modems, so always check what is actually available on your modem and reference that table.
AT!BAND=?
Index, Name,                        GW Band Mask     L Band Mask      TDS Band Mask
00, All bands                     0002000007C00000 00000100130818DF 0000000000000000
01, Europe 3G                     0002000000400000 0000000000000000 0000000000000000
02, North America 3G              0000000004800000 0000000000000000 0000000000000000
06, Europe                        0002000000400000 00000000000800C5 0000000000000000
07, North America                 0000000004800000 000000000300185A 0000000000000000
08, WCDMA ALL                     0002000007C00000 0000000000000000 0000000000000000
09, LTE ALL                       0000000000000000 00000100130818DF 0000000000000000

                                                   0000010000000000 - B41
                                                   0000000010000000 - B29
                                                   0000000002000000 - B26
                                                   0000000001000000 - B25
                                                   0000000000080000 - B20
                                                   0000000000001000 - B13
                                                   0000000000000800 - B12
                                                   0000000000000080 - B8
                                                   0000000000000040 - B7
                                                   0000000000000010 - B5
                                                   0000000000000008 - B4
                                                   0000000000000004 - B3
                                                   0000000000000002 - B2
                                                   0000000000000001 - B1
                                  0002000000000000 - B8  (900)
                                  0000000004000000 - B5  (850)
                                  0000000002000000 - B4 (1700)
                                  0000000001000000 - B3 (1700)
                                  0000000000800000 - B2 (1900)
                                  0000000000400000 - B1 (2100)

OK
  • Now, if we want to create a mask that combines 3G B2+B1 and LTE B3+B7+B20, we do the following:
    • Look at the GW Band column for 3G band bit codes, note that:
      • 0000000000400000 - B1 (2100)
      • 0000000000800000 - B2 (1900)
    • Add together the two masks, since we are dealing with hex, 10 = A, 11 = B, 12 = C, and so on:
      • 0000000000C00000 - B1+B2
  • Perform the same task for the LTE column (notice that the mask is different than the 3G mask):
    • Look at the LTE Band column for LTE band bit codes, note that:
      • 0000000000000004 - B3
      • 0000000000000040 - B7
      • 0000000000080000 - B20
    • Add together the three masks:
      • 0000000000080044 - B3+B7+B20
  • To tie it altogether, we issue our custom band command:
    • AT!BAND=10,"B2B1-B3B7B20",0000000000C00000,0000000000080044
  • Finally, we set out custom band in slot 10:
    • AT!BAND=09

Connectivity/Router Options

  • Windows 10 will block Hotspot/ICS mode, you cannot use Windows 10's ICS with this setup.
  • Linux doesn't care, it will happily route packets all day long.
  • If you want a dead-simple setup:

Free Over-the-Air Updates

  • Sierra AirVantage FOTA
    • Use your name as Business Name
  • Get Modem FSN + IMEI with ATI
  • Change Modem Settings
    • AT+WDSC=3,x(x being the frequency of connection in minutes)
    • AT+WDSS=1,1 (Sends initial heartbeat immediately)

Additional References:

sierra-wireless-modems's People

Contributors

bobafetthotmail avatar danielewood avatar gottox avatar intelfx avatar jstever avatar willvincent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sierra-wireless-modems's Issues

Firmware update not working on an 02.08 Dell EM7455

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

should set firmware preference

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.

autoflash-7455 gets stucked at https://source.sierrawireless.comzip

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:

  1. run the script autoflash-7455.sh as it's described. The EM7455 is connected to an USB port using an USB3-M.2 adapter.
    In the "Gets stucked.txt" is copied the text what appared on the screen of the Terminal from the beginning until stucked runing the autoflash-7455.sh script.
  • OS: Ubuntu LTE 20.4.1, 20.4.5, 22.4
  • Firefox according to the version of Ubuntu

Can't restore EM7565 from QDLoader mode

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:

  • SWI9X50C_01.05.01.00_00_GENERIC_001.028_000
  • SWI9X50C_01.07.02.00_00_GENERIC_002.004_001
  • SWI9X50C_01.08.04.00_00_GENERIC_002.012_000
  • SWI9X50C_01.09.04.00_00_GENERIC_002.019_000
  • SWI9X50C_01.11.00.00_00_GENERIC_002.023_000
  • SWI9X50C_01.14.02.00_00_GENERIC_002.035_000
  • SWI9X50C_01.14.02.00_00_GENERIC_002.035_003

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

[SOLVED] Stuck in Waiting for modem in boothold mode...

./autoflash-7455.sh


Searching for EM7455/MC7455 USB modems...

Found EM7455/MC7455:
Bus 001 Device 003: ID 1199:9079 Sierra Wireless, Inc. EM7455


Stoping modem manager to prevent AT command spam and allow firmware-update, this may take a minute...

Installing all needed prerequisites...
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 https://updates.signal.org/desktop/apt xenial InRelease
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:9 https://ppa.launchpadcontent.net/jeffreyratcliffe/ppa/ubuntu jammy InRelease
Hit:10 https://repo.waydro.id jammy InRelease
Hit:11 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
Hit:12 https://ppa.launchpadcontent.net/nextcloud-devs/client/ubuntu jammy InRelease
Hit:13 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
Hit:14 https://ppa.launchpadcontent.net/pbek/qownnotes/ubuntu jammy InRelease
Hit:15 https://ppa.launchpadcontent.net/remmina-ppa-team/remmina-next/ubuntu jammy InRelease
Hit:16 https://ppa.launchpadcontent.net/stefansundin/truecrypt/ubuntu jammy InRelease
Hit:17 https://ppa.launchpadcontent.net/unit193/encryption/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gcc is already the newest version (4:11.2.0-1ubuntu1).
make is already the newest version (4.3-4.1build1).
minicom is already the newest version (2.8-2).
curl is already the newest version (7.81.0-1ubuntu1.14).
libqmi-glib5 is already the newest version (1.32.0-1ubuntu0.22.04.1).
libqmi-proxy is already the newest version (1.32.0-1ubuntu0.22.04.1).
unzip is already the newest version (6.0-26ubuntu3.1).
libqmi-utils is already the newest version (1.32.0-1ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading '/root/.cpan/Metadata'
Database was generated on Sun, 26 Nov 2023 17:29:02 GMT
UUID::Tiny is up to date (1.04).
IPC::Shareable is up to date (1.13).
JSON is up to date (4.10).
Waiting for modem to reboot...

Reseting modem...
Setting MBIM Mode for Modem
Interface bitmask: 0000100D (diag,nmea,modem,mbim)

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

  • 8 - DM NMEA AT MBIM SUPPORTED
    9 - MBIM SUPPORTED
    10 - NMEA MBIM NOT SUPPORTED
    11 - DM MBIM NOT SUPPORTED
    12 - DM NMEA MBIM NOT SUPPORTED
    13 - Config1: comp6 Config2: comp8 NOT SUPPORTED
    14 - Config1: comp6 Config2: comp9 NOT SUPPORTED
    15 - Config1: comp6 Config2: comp10 NOT SUPPORTED
    16 - Config1: comp6 Config2: comp11 NOT SUPPORTED
    17 - Config1: comp6 Config2: comp12 NOT SUPPORTED
    18 - Config1: comp7 Config2: comp8 NOT SUPPORTED
    19 - Config1: comp7 Config2: comp9 NOT SUPPORTED
    20 - Config1: comp7 Config2: comp10 NOT SUPPORTED
    21 - Config1: comp7 Config2: comp11 NOT SUPPORTED
    22 - Config1: comp7 Config2: comp12 NOT SUPPORTED
    Current setting is already '8'
    QMI msg '0x0023' returned status = 1
    Waiting for modem to reboot...

Reseting modem...
cat: /dev/: Is a directory
Waiting for modem to reboot...
Waiting for modem to reboot...

Current modem settings:
cat: /dev/: Is a directory
cat: /dev/: Is a directory
Waiting for modem to reboot...
Already downloaded SWI9X30C_02.38.00.00_GENERIC_002.082_000.zip...
Archive: SWI9X30C_02.38.00.00_GENERIC_002.082_000.zip
inflating: SWI9X30C_02.38.00.00.cwe
inflating: SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu

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.

Problems with swi_setusbcomp.pl @ line 481

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

Should work on EM7355 DD5808e?

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.

Device stuck in QDLoader

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

Quick fix

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Autoflash not working cause Download URL changed

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!?

Successful flash of EM7455, no power light after

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?

Manual Flashing Procedure references bad URLs

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!

Flash successfull but couldn't enable modem - GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Invalid transition'

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:

  • OpenWrt 23.05
  • Ubuntu 20.04.6 LTS
  • Ubuntu 23.10

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

Setup without external enclosure

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?

Stuck in boothold wait

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:

  1. Permanently connect modem to VirtualBox VM in settings
  2. Boot into Ubuntu Desktop 20.04 Live CD in VirtualBox
  3. Open Terminal
  4. Type 'wget https://raw.githubusercontent.com/danielewood/sierra-wireless-modems/master/autoflash-7455.sh && sudo bash autoflash-7455.sh'
  5. See that it gets stuck waiting for boothold

Expected behavior
I expect it to finish the process.

Desktop (please complete the following information):

  • OS: Ubuntu Desktop 20.04
  • VirtualBox 6.1

Additional context
Worked perfectly last time using Ubuntu 18 Live CD and an older version of VirtualBox and the autoflash script.

If executed from command line, the flash instructions may exit the user's shell

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

Lte band mask calculate

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!

autoflash-7455.sh

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,

Readme: update Ubuntu requirement

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.

Bug report

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Can't send sms with mmcli on verizon

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

Error: Download of zip failed - File size on server is too small...

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.

Script doesn't update PID

Hello. It seems that PID is not updated. As I understand it should be 9071 but windows shows it as 9079. I used default settings of script.
screenshot
modem
However firmware is being updated correctly.

Auto flash script fails at trying to pull FW from sierrra's website

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]

Correct method for latest firmware...

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.