EM9291 how to enable QMI mode?

I thought Ubuntu and OpenWRT are two operation systems. :-- correct understanding.
Do you run by root permission? :— Yes
BTW, did you compile the MBPL USB driver ( [MBPL_DRIVERS_R44_ENG5-usb-pcie-src.tar) and run in your OpenWRT platform? :— no openwrt we cant install currently.
Lastly, is your OpenWRT platform running on ARM64 processor? :— Yes

still we are stuck on it, can we work on to make it working, could you let me know steps for make it work QMI, Uqmi

I have no experience in uqmi as it is 3rd party application

What is the reason that you cannot install the driver?

As i mentioned before, other user can compile and install the MBPL driver, you should figure out why you cannot compile and use the usb driver and sdk

Btw, here also shows how to use mbim in openwrt platform

FYI, I just tried mbimcli with the OpenWRT 23.05.6 in VMWare, I don’t see problem with EM9291 in MBIM mode:

root@OpenWrt:~/MBPL_DRIVERS_R44_ENG5-usb-pcie-src/usb# mbimcli -d /dev/cdc-wdm0
--query-signal-state
[/dev/cdc-wdm0] Signal state:
                  RSSI [0-31,99]: '99'
             Error rate [0-7,99]: '99'
        Signal strength interval: '5'
                  RSSI threshold: '2'
            Error rate threshold: 'unspecified'
root@OpenWrt:~/MBPL_DRIVERS_R44_ENG5-usb-pcie-src/usb# uname -r
5.15.189
root@OpenWrt:~/MBPL_DRIVERS_R44_ENG5-usb-pcie-src/usb# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.6'
DISTRIB_REVISION='r24232-539228933c'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt 23.05.6 r24232-539228933c'
DISTRIB_TAINTS=''

You should be able to install the MBIM driver in OpenWRT

BTW, with qmicli in OpenWRT, it can also communicate with EM9291:

root@OpenWrt:~/MBPL/MBPL_SDK_R42_ENG4-lite# qmicli --device=/dev/cdc-wdm0 --devi
ce-open-proxy --device-open-mbim --nas-get-signal-strength
[/dev/cdc-wdm0] Successfully got signal strength
Current:
        Network 'lte': '-62 dBm'
RSSI:
        Network 'lte': '-62 dBm'
ECIO:
        Network 'lte': '-2.5 dBm'
IO: '-106 dBm'
SINR (8): '9.0 dB'
RSRQ:
        Network 'lte': '-13 dB'
SNR:
        Network 'lte': '4.0 dB'
RSRP:
        Network 'lte': '-94 dBm'

This implies uqmi has some unknown problem

Hi @jyijyi i am trying qmi in ubuntu pc now i am not able to see ttyUSB*… in /dev/…
can you tell me how to bring them see below screenshot i see modem is detected.
also there its only seen cdc_wdm2 … this is for ModemManager, i have try at comands through this device but its not responding.

did you compile the MBPL USB driver ( [MBPL_DRIVERS_R44_ENG5-usb-pcie-src.tar) and run in your Ubuntu PC platform?

no did not compiled , how to compile …?

there is readme.txt file for instruction

hi @jyijyi i have checked each folde i did not seen any readme.txt file only .ko files are there


you have downloaded the wrong file, it should be “MBPL_DRIVERS_R44_ENG5-usb-pcie-src.tar”

yes, my bad..now i have downloaded correct one

hi @jyijyi do i need to compile both ?

i don’t think so
you can see if you can compile binary driver for

  1. qcserial.ko
  2. usb_wwan.ko
  3. qmi_wwan.ko