Greetings All
I using 5G/4G modem on BPI-R4 Board (OpenWRT System)....
I feel the system is using the network through USB not PCIe mode ... I apperiate if you can guide me how to let the system detect the modem as PCIe not USB
I runed some commands
root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.43 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device
Bus 002 Device 001: ID 1d6b:0003 Linux 6.6.43 xhci-hcd xHCI Host Controller
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub
Bus 002 Device 003: ID 2cb7:0104 QCOM SDXPINN-IDP _SN:EA9B91F5
root@OpenWrt:~# lspci
root@OpenWrt:~# mmcli -m 0
-----------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: 6ffdd572aa27054028fc93288415acc80059ad89
-----------------------------------
Hardware | manufacturer: Fibocom Wireless Inc.
| model: FM190W-GL-01-00 5G Module
| firmware revision: 99103.1000.00.01.06.10
| carrier config: ROW_Commercial
| carrier config revision: 0A010809
| h/w revision: 10000
| supported: gsm-umts, lte, 5gnr
| current: gsm-umts, lte, 5gnr
| equipment id: 351064272748410
-----------------------------------
System | device: /sys/devices/platform/soc/11200000.usb/usb 2/2-1/2-1.1
| physdev: /sys/devices/platform/soc/11200000.usb/usb 2/2-1/2-1.1
| drivers: option1, qmi_wwan
| plugin: fibocom
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), ttyUSB1 (at), ttyUSB2 (at) ,
| ttyUSB3 (ignored), wwan0 (net)
-----------------------------------
Numbers | own:
-----------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), s im-puk2 (10)
| state: connected
| power state: on
| access tech: lte, 5gnr
| signal quality: 100% (recent)
-----------------------------------
Modes | supported: allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 3g, 4g; preferred: 4g
| allowed: 3g, 4g; preferred: 3g
| allowed: 5g; preferred: none
| allowed: 4g, 5g; preferred: 5g
| allowed: 4g, 5g; preferred: 4g
| allowed: 3g, 5g; preferred: 5g
| allowed: 3g, 5g; preferred: 3g
| allowed: 3g, 4g, 5g; preferred: 5g
| allowed: 3g, 4g, 5g; preferred: 4g
| allowed: 3g, 4g, 5g; preferred: 3g
| current: allowed: 3g, 4g, 5g; preferred: 5g
-----------------------------------
Bands | supported: utran-1, utran-4, utran-6, utran-5, utran- 8, utran-2,
| eutran-1, eutran-2, eutran-3, eutran-4, eu tran-5, eutran-7, eutran-8,
| eutran-12, eutran-13, eutran-14, eutran-17 , eutran-18, eutran-19,
| eutran-20, eutran-25, eutran-26, eutran-28 , eutran-29, eutran-30,
| eutran-32, eutran-34, eutran-38, eutran-39 , eutran-40, eutran-41,
| eutran-42, eutran-43, eutran-46, eutran-48 , eutran-53, eutran-66,
| eutran-70, eutran-71, utran-19, ngran-1, n gran-2, ngran-3, ngran-5,
| ngran-7, ngran-8, ngran-12, ngran-13, ngra n-14, ngran-18, ngran-20,
| ngran-25, ngran-26, ngran-28, ngran-29, ng ran-30, ngran-38, ngran-40,
| ngran-41, ngran-48, ngran-66, ngran-70, ng ran-71, ngran-75, ngran-77,
| ngran-78, ngran-79, ngran-91, ngran-92, ng ran-93, ngran-94
| current: utran-1, utran-4, utran-6, utran-5, utran- 8, utran-2,
| eutran-1, eutran-3, eutran-40, utran-19, n gran-40, ngran-41,
| ngran-77, ngran-78
-----------------------------------
IP | supported: ipv4, ipv6, ipv4v6
-----------------------------------
3GPP | imei: 351064272748410
| enabled locks: fixed-dialing
| operator id: 42001
| operator name: stc
| registration: home
| packet service state: attached
-----------------------------------
3GPP EPS | ue mode of operation: csps-2
| initial bearer path: /org/freedesktop/ModemManager1/Bearer/0
| initial bearer apn: Jawalnet.com.sa
| initial bearer ip type: ipv4v6
-----------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
| sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM /0 (active)
| slot 2: none
-----------------------------------
Bearer | paths: /org/freedesktop/ModemManager1/Bearer/1
root@OpenWrt:~# dmesg | grep -i modem
[ 8.975299] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 9.153751] usbserial: USB Serial support registered for GSM modem (1-port)
[ 9.168571] usbserial: USB Serial support registered for Qualcomm USB modem
[ 40.215822] option 2-1.1:1.0: GSM modem (1-port) converter detected
[ 40.222312] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 40.229826] option 2-1.1:1.1: GSM modem (1-port) converter detected
[ 40.236355] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 40.243889] option 2-1.1:1.2: GSM modem (1-port) converter detected
[ 40.250368] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[ 40.257688] option 2-1.1:1.3: GSM modem (1-port) converter detected
[ 40.264224] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB3
Modem is IRQ 116
**Note my modem is Fibocom FM190W **
using AT+GTUSBMODE=32 (from below list)







