Hello,
We are working on launching 5g modems on arm systems. I have compiled kernel modules (option.c and qmi_wwan.c) on my pc which is x86 and everything works fine. I am capable to get 5g modes, info below:
MY PC:
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb4/4-4
| drivers: option, qmi_wwan
| plugin: quectel
| primary port: cdc-wdm1
| ports: cdc-wdm1 (qmi), ttyUSB2 (at), ttyUSB3 (at), wwan0 (net)Status | lock: sim-pin
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: locked
| power state: on
| signal quality: 0% (cached)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: 2g, 3g, 4g, 5g; preferred: 5g
And so i have compiled option.c on rpi and modem run with these options:
RPI:
Hardware | manufacturer: Quectel
| model: RM520N-GL
| revision: RM520NGLAAR01A05M4G
| supported: gsm-umts, lte
| current: gsm-umts, lteSystem | device: /sys/devices/platform/soc/fe980000.usb/usb1/1-1/1-1.1
| drivers: option1
| plugin: Generic
| primary port: ttyUSB2
| ports: ttyUSB2 (at), ttyUSB3 (at)Status | lock: sim-pin
| unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)
| state: locked
| power state: on
| signal quality: 0% (cached)Modes | supported: allowed: 2g, 3g, 4g; preferred: none
| current: allowed: 2g, 3g, 4g; preferred: none
I think this is because, i do not have a proper driver qmi_wwan, and so i can not get /dev/cdc-wdm
in System->ports. As you can see primary port on my pc is cdc-wdm, on rpi it is ttyUSB2.
But maybe I might be wrong. Can you help me?
I simulated this state (without 5g options) on my pc when i turned off qmi_wwan module.