Closed Rudder2 closed 11 months ago
I read here https://github.com/danielewood/sierra-wireless-modems/discussions/71 that suspending his computer made it work. I Hibernated my computer and woke it up and the script finished successfully! Hope this helps someone else!
./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.