EM9191 support under Ubuntu 20.04 for Mobile Broadband

Does anybody know of a step-by-step procedure for supporting the Sierra Wireless EM9191 installed on a Techship MU201 connected by USB under Ubuntu 20.04 in Mobile Broadband? Ubuntu 22.04 recognizes the EM9191 immediately and the network access via Mobile Broadband is granted side-by-side with wi-fi and cable.

You need to install Mbpl usb driver

https://source.sierrawireless.com/resources/airprime/software/mbpl/mbpl-software-latest/

OK, installing drivers is most certainly Step #1. Any other steps? I have found posts concerning the Modem Manager which were not exactly clear…

Then can you establish data connect via mbim?

Well, I am still a beginner in Ubuntu… Under Ubuntu 22.04, using Mobile Broadband was effortless for this unexperienced user: the operating system features did all the low-level work. I had just to select using Mobile Broadband over Wi-Fi and the connection with the mobile phone network was immediate.
Being a beginner in Ubuntu is the main reason for me asking for a step-by-step procedure, something like “Mobile Broadband in Ubuntu 20.04 for dummies” :slight_smile:

No, i dont have

Those steps are already quite straightforwrd

I shall dig more about MBIM… Thanks anyway!

Maybe you can have a look here

It seems we don not have the cdc_mbim driver installed and we could not find were to get it from…
Could you help us pointing to the proper internet page where I could download the cdc_mbim driver installation files?

have you checked by “modinfo cdc_mbim”?
By default in Ubuntu 20.4.6, this MBIM driver should be installed already

Will check…

If, for some reason, this MBIM driver is not installed, is it possible to re-install it?

maybe need to check in menuconfig to add this driver

BTW, did you also check AT!USBCOMP? in AT command port to see if the MBIM interface is enabled in your module?

This is the output of modinfo cdc_mbim. Will have to check AT!USBCOMP…

After a few days of trial-and-error, we managed to enable the connection over the MU201-EM9191 on a notebook running Ubuntu 20.04 after using command “nmcli connection add type gsm ifname ’ cdc-wdm0’ con-name ‘lte-nos’ apn ‘umts’ connection.autoconnect yes” (PIN check disabled for the SIM card). We failed doing the same thing on a NVIDIA Jetson Xavier running Ubuntu 20.04 because we could find not a way of installing the mbim driver in it… The Ubuntu 20.04 running in the notebook has a ‘generic’ kernel, while in the NVIDIA Jetson the kernel is ‘tegra’.
Any clues on possible limitations in this Ubuntu 20.04 ‘tegra’ with regards to supporting the mbim driver?

probably you need to take the MBIM source code and compile for your platform