PCIe Drivers for EM9191

Hello, I noticed that both the Linux and Windows drivers for the EM9191 are only USB drivers. I built a test system, installed the module in a PCIe adapter and with Ubuntu I can see it using “lspci”. I compiled the drivers which I found on the Sierra Wireless website, but had no luck with actually using it because the driver page clearly says that the drivers are for USB, and I’m using PCIe instead. I also tried using Windows, but I ran into the same issue. I am able to see the module in the device manager, but when I install the drivers, which again, clearly say that they are USB drivers, it doesn’t actually work. Is there any way to get this module to run via PCIe? At this point, I don’t care if I get it working in Linux or Windows, I just want to be able to use the module.

It was answered in Em9190 and Em9191 - Any suggested PCIe Mini Card Adapters (if using PCIe to link to host computer)? - #3 by blkist

What are you talking about? My question was NOT answered. I asked if there were PCIe drivers… That has nothing to do with the post you linked here. In fact, I was the last user to reply to the post that you linked. Try reading the question and understanding it little more before just saying that it was already answered.

Hi blkist,

Sorry for the typo. You can get PCIe drivers on Linux for EM9191 here MBPL_Drivers_R20_ENG1-src.tar.gz (147.9 KB)

1 Like

Beautiful! Thank you, I will try those drivers later tonight.

The readme in those drivers explains how to manage the modem using MBIM, and using mbimcli and mbim-network :grinning: Excellent!!!

A related question though, is there any issue using the EM9191 using the upstream mhi driver integration already available in Linux 5.13 through the new wwan subsystem (i.e. without any custom driver from Sierra)?

Hi @blkist , did you manage to get it working using PCIe drivers ?

Hello Everybody on this topic.

I have tried the posted drivers R20 but also the R18 with the same results. Below is my setup.

EM9191 using an M.2 to PCIe adapter card on my PC. The adapter is the following.

http://www.bplus.com.tw/Adapter/PN12A.html

This is a dual bus adapter, meaning that you can use PCIe or USB3.0 bus, one at a time by sliding a tiny switch has onboard.

My OS is Ubuntu 20.04.3 LTS with kernel 5.11.0-34-generic. As per the standard procedure, drivers have been downloaded and extracted in a directory, build essentials are install and “make && sudo make install” has been issued but not result. Below is the output from lspci -v command.

03:00.0 Unassigned class [ff00]: Qualcomm Device 0306
Subsystem: Device 18d7:0200
Flags: fast devsel
Memory at f7d01000 (64-bit, non-prefetchable) [size=4K]
Memory at f7d00000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
Kernel modules: mhi_pci_generic

Initially when I realized the issue I made all contacts with bplus and they confirmed that adapter is compatible with the module and completely transparent to the OS (driverless).

Just for the record the same situation with Openwrt occurs but with small differences. I think I am hit the wall write now. Any suggestions would be highly appreciated.

Hi @aleksander0m , I’m trying to use the EM919x with the vendor driver, but also with the upstream mhi driver on 5.13.x, without success for the moment with both solutions.

For information, my setup consists of an EM919x connected to an I.MX6 DualLite through the PCIe bus.

Concerning the upstream driver, I added a MHI channel mapping the mhi/pci_generic driver, then I’m able to communicate with the modem but this remains random.

I opened a topic about: Sierra Wireless AirPrime EM919X PCIe support