Rock 5B+ WWAN Support [Hardware bug]

Hi, after two days of fighting with WWAN on Radxa 5B+ I finally got it working. I’m using Sierra Wireless EM7455 modem plugged to m2 B-key slot. I’m writing this as a guide for other users who want to repeat it.

  1. M2 B-key slot on Radxa 5B+ is only connected to USB, so PCI-E modems won’t work. (ref. https://dl.radxa.com/rock5/5b+/docs/hw/radxa_rock5bp_v1.2_schematic.pdf)
  2. Currently M2 B-key slot work only with official debian image. Armbian, Diet-Pi or mainline kernel don’t work. The device keeps appearing for a second and then disappears.
  3. There is a hardware bug and SIM card is not detected properly. SIM1_DET signal is inverted so I masked it with piece of tape inside SIM slot. Now it’s detected without a problem.
    4.* I also had to enable sim power (sudo qmicli -d /dev/cdc-wdm0 -p --uim-sim-power-on=1), but it was probably only necessary for my setup because I bought used modem.

Apart from that, everything works as expected!

1 Like

Always worth to note tested kernel version, mainline is still actively developed and bug from yesterday can be fixed today, then brake tomorrow :slight_smile:
Thanks for tests and your time and report, certainly this will help others :slight_smile:

Tested:
Mainline 6.13+ with Rock 5B+ path - modem not showing up,
Collabora Linux 6.13+ with same Rock 5B+ path - similar story as mainline,
Armbian 6.1 - modem keeps appearing for a second and then disappears,
DietPi 6.1 - same as armbian,
Radxa Official Debian 6.1 - working correctly

I’m wondering why it isn’t recognised on mainline. According to schema m2 b-key is connected to the Terminus usb switch. This swich seams to working fine. I even measured all needed voltages - there are also ok. Any ideas why it isn’t working for mainline?

Mainline is not stable, official release yet,
it needs few patches to get some things to work,
Marcin, what is reported on dmesg on those? It should leave some errors, messages on dmesg?

Yes, USB is definitely not working properly. Or maybe I have configured something wrong in the kernel (I use arm64 defconfig).

This is dmesg from mainline. A bit modest…

root@rock-5b-plus:~# dmesg | grep usb
[ 0.168029] /i2c@feac0000/usb-typec@22/connector: Fixed dependency cycle(s) with /usb@fc000000
[ 0.172849] /i2c@feac0000/usb-typec@22/connector: Fixed dependency cycle(s) with /phy@fed80000
[ 0.173689] /usb@fc000000: Fixed dependency cycle(s) with /phy@fed80000
[ 0.174334] /phy@fed80000: Fixed dependency cycle(s) with /i2c@feac0000/usb-typec@22/connector
[ 0.210977] usbcore: registered new interface driver usbfs
[ 0.211507] usbcore: registered new interface driver hub
[ 0.212029] usbcore: registered new device driver usb
[ 0.408361] usbcore: registered new interface driver usb-storage
[ 0.415507] /i2c@feac0000/usb-typec@22/connector: Fixed dependency cycle(s) with /phy@fed80000
[ 0.416316] /i2c@feac0000/usb-typec@22/connector: Fixed dependency cycle(s) with /usb@fc000000
[ 0.446638] usbcore: registered new interface driver usbhid
[ 0.447130] usbhid: USB HID core driver
[ 1.947852] ehci-platform fc800000.usb: EHCI Host Controller
[ 1.948373] ehci-platform fc800000.usb: new USB bus registered, assigned bus number 1
[ 1.949138] ehci-platform fc800000.usb: irq 90, io mem 0xfc800000
[ 1.951170] ehci-platform fc880000.usb: EHCI Host Controller
[ 1.951679] ohci-platform fc8c0000.usb: Generic Platform OHCI controller
[ 1.951704] ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 2
[ 1.952404] ehci-platform fc880000.usb: new USB bus registered, assigned bus number 3
[ 1.953162] ohci-platform fc8c0000.usb: irq 92, io mem 0xfc8c0000
[ 1.953861] ehci-platform fc880000.usb: irq 91, io mem 0xfc880000
[ 1.959742] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
[ 1.975736] ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
[ 2.207862] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 4.137949] usb usb5: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 4.689347] usb usb7: We don’t know the algorithms for LPM for this host, disabling LPM.
root@rock-5b-plus:~#

For comparison same system but with Radxa kernel (rockchip_linux_defconfig)…

root@rock-5b-plus:~# dmesg | grep usb
[    7.502707] platform fed80000.phy: Fixed dependency cycle(s) with /i2c@feac0000/fusb302@22/connector
[    7.596677] usbcore: registered new interface driver usbfs
[    7.596711] usbcore: registered new interface driver hub
[    7.596739] usbcore: registered new device driver usb
[    8.338205] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up phy-supply from device tree
[    8.338216] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up phy-supply property in node /syscon@fd5d0000/usb2-phy@0/otg-port failed
[    8.338289] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up vbus-supply from device tree
[    8.338297] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up vbus-supply property in node /syscon@fd5d0000/usb2-phy@0/otg-port failed
[    8.339824] phy phy-fd5d8000.syscon:usb2-phy@8000.1: Looking up phy-supply from device tree
[    8.339835] phy phy-fd5d8000.syscon:usb2-phy@8000.1: Looking up phy-supply property in node /syscon@fd5d8000/usb2-phy@8000/host-port failed
[    8.341116] phy phy-fd5dc000.syscon:usb2-phy@c000.2: Looking up phy-supply from device tree
[    8.341126] phy phy-fd5dc000.syscon:usb2-phy@c000.2: Looking up phy-supply property in node /syscon@fd5dc000/usb2-phy@c000/host-port failed
[    8.342711] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up phy-supply from device tree
[    8.342721] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up phy-supply property in node /syscon@fd5d4000/usb2-phy@4000/otg-port failed
[    8.342806] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up vbus-supply from device tree
[    8.342814] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up vbus-supply property in node /syscon@fd5d4000/usb2-phy@4000/otg-port failed
[    8.463428] usbcore: registered new interface driver rtl8150
[    8.463458] usbcore: registered new device driver r8152-cfgselector
[    8.463489] usbcore: registered new interface driver r8152
[    8.464012] platform fc000000.usb: Fixed dependency cycle(s) with /i2c@feac0000/fusb302@22
[    8.480455] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    8.480484] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.480500] usb usb1: Product: xHCI Host Controller
[    8.480512] usb usb1: Manufacturer: Linux 6.1.84-yocto-preempt-rt xhci-hcd
[    8.480525] usb usb1: SerialNumber: xhci-hcd.12.auto
[    8.481146] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.481147] ehci-platform fc800000.usb: EHCI Host Controller
[    8.481169] ohci-platform fc840000.usb: Generic Platform OHCI controller
[    8.481218] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    8.481224] ehci-platform fc880000.usb: EHCI Host Controller
[    8.481233] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.481235] ohci-platform fc8c0000.usb: Generic Platform OHCI controller
[    8.481271] usb usb2: Product: xHCI Host Controller
[    8.481283] usb usb2: Manufacturer: Linux 6.1.84-yocto-preempt-rt xhci-hcd
[    8.481296] usb usb2: SerialNumber: xhci-hcd.12.auto
[    8.481928] phy phy-fd5d4000.syscon:usb2-phy@4000.3: illegal mode
[    8.481929] ehci-platform fc800000.usb: new USB bus registered, assigned bus number 3
[    8.482022] ehci-platform fc800000.usb: irq 79, io mem 0xfc800000
[    8.482057] ehci-platform fc880000.usb: new USB bus registered, assigned bus number 6
[    8.482060] ohci-platform fc840000.usb: new USB bus registered, assigned bus number 4
[    8.482101] ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 5
[    8.482148] ehci-platform fc880000.usb: irq 80, io mem 0xfc880000
[    8.482265] ohci-platform fc840000.usb: irq 81, io mem 0xfc840000
[    8.482304] ohci-platform fc8c0000.usb: irq 82, io mem 0xfc8c0000
[    8.482622] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    8.482640] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.482654] usb usb7: Product: xHCI Host Controller
[    8.482666] usb usb7: Manufacturer: Linux 6.1.84-yocto-preempt-rt xhci-hcd
[    8.482679] usb usb7: SerialNumber: xhci-hcd.13.auto
[    8.483259] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.483332] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    8.483350] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.483364] usb usb8: Product: xHCI Host Controller
[    8.483376] usb usb8: Manufacturer: Linux 6.1.84-yocto-preempt-rt xhci-hcd
[    8.483389] usb usb8: SerialNumber: xhci-hcd.13.auto
[    8.483961] usbcore: registered new interface driver cdc_acm
[    8.484169] usbcore: registered new interface driver uas
[    8.484235] usbcore: registered new interface driver usb-storage
[    8.484291] usbcore: registered new interface driver usbserial_generic
[    8.484313] usbserial: USB Serial support registered for generic
[    8.484345] usbcore: registered new interface driver aircable
[    8.484365] usbserial: USB Serial support registered for aircable
[    8.484393] usbcore: registered new interface driver ark3116
[    8.484412] usbserial: USB Serial support registered for ark3116
[    8.484440] usbcore: registered new interface driver belkin_sa
[    8.484459] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
[    8.484490] usbcore: registered new interface driver ch341
[    8.484509] usbserial: USB Serial support registered for ch341-uart
[    8.484539] usbcore: registered new interface driver cp210x
[    8.484558] usbserial: USB Serial support registered for cp210x
[    8.484600] usbcore: registered new interface driver cyberjack
[    8.484619] usbserial: USB Serial support registered for Reiner SCT Cyberjack USB card reader
[    8.484651] usbcore: registered new interface driver cypress_m8
[    8.484670] usbserial: USB Serial support registered for DeLorme Earthmate USB
[    8.484691] usbserial: USB Serial support registered for HID->COM RS232 Adapter
[    8.484711] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
[    8.484741] usbcore: registered new interface driver usb_debug
[    8.484763] usbserial: USB Serial support registered for debug
[    8.484782] usbserial: USB Serial support registered for xhci_dbc
[    8.484811] usbcore: registered new interface driver digi_acceleport
[    8.484831] usbserial: USB Serial support registered for Digi 2 port USB adapter
[    8.484851] usbserial: USB Serial support registered for Digi 4 port USB adapter
[    8.484881] usbcore: registered new interface driver io_edgeport
[    8.484900] usbserial: USB Serial support registered for Edgeport 2 port adapter
[    8.484921] usbserial: USB Serial support registered for Edgeport 4 port adapter
[    8.484941] usbserial: USB Serial support registered for Edgeport 8 port adapter
[    8.484962] usbserial: USB Serial support registered for EPiC device
[    8.484995] usbcore: registered new interface driver io_ti
[    8.485015] usbserial: USB Serial support registered for Edgeport TI 1 port adapter
[    8.485037] usbserial: USB Serial support registered for Edgeport TI 2 port adapter
[    8.485069] usbcore: registered new interface driver empeg
[    8.485089] usbserial: USB Serial support registered for empeg
[    8.485122] usbcore: registered new interface driver f81534a_ctrl
[    8.485148] usbcore: registered new interface driver f81232
[    8.485168] usbserial: USB Serial support registered for f81232
[    8.485187] usbserial: USB Serial support registered for f81534a
[    8.485218] usbcore: registered new interface driver f81534
[    8.485238] usbserial: USB Serial support registered for Fintek F81532/F81534
[    8.485269] usbcore: registered new interface driver ftdi_sio
[    8.485288] usbserial: USB Serial support registered for FTDI USB Serial Device
[    8.485378] usbcore: registered new interface driver garmin_gps
[    8.485397] usbserial: USB Serial support registered for Garmin GPS usb/tty
[    8.485426] usbcore: registered new interface driver ipaq
[    8.485446] usbserial: USB Serial support registered for PocketPC PDA
[    8.485506] usbcore: registered new interface driver ipw
[    8.485527] usbserial: USB Serial support registered for IPWireless converter
[    8.485556] usbcore: registered new interface driver ir_usb
[    8.485576] usbserial: USB Serial support registered for IR Dongle
[    8.485605] usbcore: registered new interface driver iuu_phoenix
[    8.485625] usbserial: USB Serial support registered for iuu_phoenix
[    8.485653] usbcore: registered new interface driver keyspan
[    8.485673] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    8.485694] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    8.485714] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    8.485737] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    8.485770] usbcore: registered new interface driver keyspan_pda
[    8.485790] usbserial: USB Serial support registered for Keyspan PDA
[    8.485810] usbserial: USB Serial support registered for Keyspan PDA - (prerenumeration)
[    8.485841] usbcore: registered new interface driver kl5kusb105
[    8.485862] usbserial: USB Serial support registered for KL5KUSB105D / PalmConnect
[    8.485894] usbcore: registered new interface driver kobil_sct
[    8.485914] usbserial: USB Serial support registered for KOBIL USB smart card terminal
[    8.485944] usbcore: registered new interface driver mct_u232
[    8.485964] usbserial: USB Serial support registered for MCT U232
[    8.485996] usbcore: registered new interface driver metro_usb
[    8.486017] usbserial: USB Serial support registered for Metrologic USB to Serial
[    8.486047] usbcore: registered new interface driver mos7720
[    8.486066] usbserial: USB Serial support registered for Moschip 2 port adapter
[    8.486097] usbcore: registered new interface driver mos7840
[    8.486117] usbserial: USB Serial support registered for Moschip 7840/7820 USB Serial Driver
[    8.486150] usbcore: registered new interface driver mxuport
[    8.486169] usbserial: USB Serial support registered for MOXA UPort
[    8.486199] usbcore: registered new interface driver navman
[    8.486221] usbserial: USB Serial support registered for navman
[    8.486251] usbcore: registered new interface driver omninet
[    8.486271] usbserial: USB Serial support registered for ZyXEL - omni.net usb
[    8.486301] usbcore: registered new interface driver opticon
[    8.486320] usbserial: USB Serial support registered for opticon
[    8.486349] usbcore: registered new interface driver option
[    8.486369] usbserial: USB Serial support registered for GSM modem (1-port)
[    8.486495] usbcore: registered new interface driver oti6858
[    8.486515] usbserial: USB Serial support registered for oti6858
[    8.486546] usbcore: registered new interface driver pl2303
[    8.486567] usbserial: USB Serial support registered for pl2303
[    8.486601] usbcore: registered new interface driver qcaux
[    8.486621] usbserial: USB Serial support registered for qcaux
[    8.486651] usbcore: registered new interface driver qcserial
[    8.486671] usbserial: USB Serial support registered for Qualcomm USB modem
[    8.486711] usbcore: registered new interface driver quatech2
[    8.486731] usbserial: USB Serial support registered for Quatech 2nd gen USB to Serial Driver
[    8.486763] usbcore: registered new interface driver safe_serial
[    8.486805] usbserial: USB Serial support registered for safe_serial
[    8.486839] usbcore: registered new interface driver sierra
[    8.486860] usbserial: USB Serial support registered for Sierra USB modem
[    8.486895] usbcore: registered new interface driver usb_serial_simple
[    8.486916] usbserial: USB Serial support registered for carelink
[    8.486938] usbserial: USB Serial support registered for flashloader
[    8.486959] usbserial: USB Serial support registered for funsoft
[    8.486978] usbserial: USB Serial support registered for google
[    8.486999] usbserial: USB Serial support registered for hp4x
[    8.487019] usbserial: USB Serial support registered for kaufmann
[    8.487041] usbserial: USB Serial support registered for libtransistor
[    8.487061] usbserial: USB Serial support registered for moto_modem
[    8.487081] usbserial: USB Serial support registered for motorola_tetra
[    8.487102] usbserial: USB Serial support registered for nokia
[    8.487122] usbserial: USB Serial support registered for novatel_gps
[    8.487142] usbserial: USB Serial support registered for siemens_mpi
[    8.487162] usbserial: USB Serial support registered for suunto
[    8.487183] usbserial: USB Serial support registered for vivopay
[    8.487202] usbserial: USB Serial support registered for zio
[    8.487234] usbcore: registered new interface driver spcp8x5
[    8.487256] usbserial: USB Serial support registered for SPCP8x5
[    8.487287] usbcore: registered new interface driver ssu100
[    8.487307] usbserial: USB Serial support registered for Quatech SSU-100 USB to Serial Driver
[    8.487339] usbcore: registered new interface driver symbolserial
[    8.487360] usbserial: USB Serial support registered for symbol
[    8.487389] usbcore: registered new interface driver ti_usb_3410_5052
[    8.487411] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[    8.487433] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[    8.487466] usbcore: registered new interface driver upd78f0730
[    8.487487] usbserial: USB Serial support registered for upd78f0730
[    8.487519] usbcore: registered new interface driver visor
[    8.487540] usbserial: USB Serial support registered for Handspring Visor / Palm OS
[    8.487563] usbserial: USB Serial support registered for Sony Clie 5.0
[    8.487584] usbserial: USB Serial support registered for Sony Clie 3.5
[    8.487615] usbcore: registered new interface driver wishbone_serial
[    8.487636] usbserial: USB Serial support registered for wishbone_serial
[    8.487666] usbcore: registered new interface driver whiteheat
[    8.487688] usbserial: USB Serial support registered for Connect Tech - WhiteHEAT - (prerenumeration)
[    8.487711] usbserial: USB Serial support registered for Connect Tech - WhiteHEAT
[    8.487743] usbcore: registered new interface driver xr_serial
[    8.487770] usbserial: USB Serial support registered for xr_serial
[    8.487801] usbcore: registered new interface driver xsens_mt
[    8.487822] usbserial: USB Serial support registered for xsens_mt
[    8.488535] usbcore: registered new interface driver usbtouchscreen
[    8.494808] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
[    8.495010] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    8.495033] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.495048] usb usb3: Product: EHCI Host Controller
[    8.495060] usb usb3: Manufacturer: Linux 6.1.84-yocto-preempt-rt ehci_hcd
[    8.495073] usb usb3: SerialNumber: fc800000.usb
[    8.510803] ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
[    8.511004] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    8.511029] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.511044] usb usb6: Product: EHCI Host Controller
[    8.511056] usb usb6: Manufacturer: Linux 6.1.84-yocto-preempt-rt ehci_hcd
[    8.511069] usb usb6: SerialNumber: fc880000.usb
[    8.513695] typec_fusb302 4-0022: Looking up vbus-supply from device tree
[    8.543046] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    8.543099] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.543135] usb usb5: Product: Generic Platform OHCI controller
[    8.543166] usb usb5: Manufacturer: Linux 6.1.84-yocto-preempt-rt ohci_hcd
[    8.543197] usb usb5: SerialNumber: fc8c0000.usb
[    8.544635] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    8.544686] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.544723] usb usb4: Product: Generic Platform OHCI controller
[    8.544753] usb usb4: Manufacturer: Linux 6.1.84-yocto-preempt-rt ohci_hcd
[    8.544785] usb usb4: SerialNumber: fc840000.usb
[    8.548159] usbcore: registered new interface driver uvcvideo
[    8.550272] usbcore: registered new interface driver bfusb
[    8.550317] usbcore: registered new interface driver btusb
[    8.615189] usbcore: registered new interface driver usbhid
[    8.615217] usbhid: USB HID core driver
[    8.621501] usbcore: registered new interface driver snd-usb-audio
[    8.750989] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    8.908334] usb 3-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[    8.908387] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    8.908418] usb 3-1: Product: USB 2.0 Hub
[    9.314989] usb 3-1.3: new full-speed USB device number 3 using ehci-platform
[    9.545721] usb 3-1.3: New USB device found, idVendor=13d3, idProduct=3572, bcdDevice= 0.00
[    9.545799] usb 3-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.545832] usb 3-1.3: Product: Bluetooth Radio
[    9.545857] usb 3-1.3: Manufacturer: Realtek
[    9.545882] usb 3-1.3: SerialNumber: 00e04c000001
[   11.367114] usb 3-1.4: new high-speed USB device number 4 using ehci-platform
[   11.577626] usb 3-1.4: New USB device found, idVendor=0e8d, idProduct=2000, bcdDevice= 1.00
[   11.577733] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   11.577805] usb 3-1.4: Product: MT65xx Preloader
[   11.577865] usb 3-1.4: Manufacturer: MediaTek
[   12.835899] usb 3-1.4: USB disconnect, device number 4
[   28.775075] usb 3-1.4: new high-speed USB device number 5 using ehci-platform
[   28.986009] usb 3-1.4: New USB device found, idVendor=0e8d, idProduct=7127, bcdDevice= 0.01
[   28.986143] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   28.986225] usb 3-1.4: Product: FM350-GL
[   28.986284] usb 3-1.4: Manufacturer: Fibocom Wireless Inc.
[   29.012417] usbcore: registered new interface driver cdc_ether
[   29.017430] rndis_host 3-1.4:1.0 eth0: register 'rndis_host' at usb-fc800000.usb-1.4, RNDIS device, 00:00:11:12:13:14
[   29.017611] usbcore: registered new interface driver rndis_host
[   29.023542] usbcore: registered new interface driver rndis_wlan
root@rock-5b-plus:~#

Despite this I managed to do some minor speed tests. I tested two WWAN cards:

  • Sierra Wireless EM7455 (4G LTE)
  • Fibocom FM350-GL (5G NSA)

Unfortunately Rock 5B+ will not break any records here.
For 4G I got: ~50Mbps Uplink / ~50Mbps Downlink (LTE here is overloaded and not developed anymore so the speed is poor)

For 5G I got: 238Mbps Uplink / 268Mbps Downlink and this is probably the hard limit of HW because I am not able to get any bit more.

In the same conditions I managed to get over 650Mbps Down on my phone and ~100Mbps Up which means that the GSM transmitter still has some reserve and that the antennas are not that bad because they send better than the phone

I was able to detect the sim card status return by turning on the sim unplugged status report via AT and setting the sim card detection function to low effective.

echo -e “AT+QSIMSTAT=1\r\n” >/dev/ttyUSB2 //Enable SIM hot-plugging status reporting
echo -e “AT+QSIMDET=1,0\r\n” >/dev/ttyUSB2 //Enable SIM card detection function with low level

cat /dev/ttyUSB2
report bellow when I remove the sim card
+QSIMSTAT: 1,0
+CPIN: NOT READY

report bellow when I plugin the sim card
+QSIMSTAT: 1,1
+CPIN: READY