You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/04.pro/carriers/portenta-max-carrier/tutorials/mpcie-4g-modem/content.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -330,7 +330,7 @@ Once the overlays are set, please reboot the Portenta X8 to ensure the configura
330
330
331
331
#### GNSS Global EG25 Module
332
332
333
-
The **GNSS Global (EG25) Module** supports the QMI interface, making it compatible with **NetworkManager**. You can configure the modem using **nmcli** (NetworkManager’s command-line tool):
333
+
The **GNSS Global (EG25) Module** supports the *Qualcomm MSM Interface (QMI)*, which is compatible with **NetworkManager**. You can configure the modem using **nmcli**, the command-line tool for **NetworkManager**:
334
334
335
335
```bash
336
336
nmcli c add type gsm ifname cdc-wdm0 con-name wwan0 apn hologram connection.autoconnect yes
This allows **qmicli** to communicate directly with the QMI interface for modem operations.
394
+
Once **ModemManager** has been disabled, you can use **qmicli** to communicate reliably with the QMI interface for modem operations.
395
395
396
396
***The **EC200A-EU** modem is not compatible with __QMI__. It requires raw AT commands over a USB serial interface. For more information, refer to the [Quectel EC200A-EU documentation](https://python.quectel.com/en/products/ec200a-eu).***
397
397
@@ -470,6 +470,10 @@ In a Docker environment, it is often useful to disable **ModemManager** to avoid
470
470
sudo systemctl stop ModemManager
471
471
```
472
472
473
+
```bash
474
+
sudo systemctl disable ModemManager
475
+
```
476
+
473
477
For modem power management, the connection between the **PCIE Enable (GPIO5)** pin and **VCC (3V3)** pin is required for a proper power setup. This bridge ensures proper hardware functionality when controlling the modem power. Moreover, you should manage power through software to allow the modem to be rebooted in case it becomes unresponsive.
474
478
475
479
Ensure that the Docker container has access to the GPIO device files by passing them into the container:
Copy file name to clipboardExpand all lines: content/hardware/04.pro/carriers/portenta-mid-carrier/tutorials/user-manual/content.md
+15-3
Original file line number
Diff line number
Diff line change
@@ -2168,7 +2168,7 @@ This step ensures the modem functions properly in QMI mode.
2168
2168
2169
2169
The **ModemManager** service manages the power for the Pro 4G Module via a script. **Global (EG25)** and **EU (EC200A-EU)** modems are different and require different configurations:
2170
2170
2171
-
-**Global EG25 Module**: This modem is supported directly by **NetworkManager**, which works alongside**ModemManager**.
2171
+
-**Global EG25 Module**: This modem supports the *Qualcomm MSM Interface (QMI)*, making it compatible with **NetworkManager**, which uses **nmcli** as its command-line tool. It also works with**ModemManager** to manage modem connectivity.
2172
2172
-**EU EC200A-EU Module**: This modem is **not officially supported** by **ModemManager**. It is **not QMI-compatible** and requires raw AT commands over a USB serial interface. It connects as a USB device, creating an `ec200aeu` network interface managed by existing `udev` rules.
2173
2173
2174
2174
Power management is handled by **ModemManager** using the following script setup. Before starting **ModemManager**, the system runs a script to power on the modem, and another script is run after the service stops to power off the modem:
@@ -2270,6 +2270,10 @@ In a Docker environment, it is often useful to disable **ModemManager** to avoid
2270
2270
sudo systemctl stop ModemManager
2271
2271
```
2272
2272
2273
+
```bash
2274
+
sudo systemctl disable ModemManager
2275
+
```
2276
+
2273
2277
However, when **ModemManager** is active, it handles modem power automatically using customized scripts, such as:
2274
2278
2275
2279
-`/usr/sbin/modem_on.sh`
@@ -2547,12 +2551,16 @@ The output will list the detected modems, including the Pro 4G Module. Note the
2547
2551
2548
2552

2549
2553
2550
-
Before sending AT commands, ModemManager must be in debug mode. First, stop the ModemManager service using:
2554
+
Before sending AT commands, ModemManager must be in debug mode. First, stop and disable the ModemManager service using:
2551
2555
2552
2556
```bash
2553
2557
sudo systemctl stop ModemManager
2554
2558
```
2555
2559
2560
+
```bash
2561
+
sudo systemctl disable ModemManager
2562
+
```
2563
+
2556
2564
Then start it in the background with debugging enabled by running:
2557
2565
2558
2566
```bash
@@ -2624,12 +2632,16 @@ This ensures the modem powers up correctly and becomes available for network ope
2624
2632
2625
2633
#### Docker Container Considerations
2626
2634
2627
-
Disable ModemManager to prevent conflicts with tools like `qmicli` when managing either modem within a Docker container. This can be done by using the following command:
2635
+
Disable **ModemManager** to prevent conflicts with tools like `qmicli` when managing either modem within a Docker container. This can be done by using the following command:
2628
2636
2629
2637
```bash
2630
2638
sudo systemctl stop ModemManager
2631
2639
```
2632
2640
2641
+
```bash
2642
+
sudo systemctl disable ModemManager
2643
+
```
2644
+
2633
2645
Inside the container, you will need to manage the modem’s power as explained in this [**EC200A-EU**](#emea-ec200a-eu-module-1) section.
2634
2646
2635
2647
To send AT commands, use `qmicli` within the Docker container. For example, you might use following command to interact with the modem:
0 commit comments