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
For managing the Pro 4G Module (**EG25** and **EC200A-EU**), you **only need the USB overlay (`ov_carrier_breakout_usbfs`)**, and **mPCIe overlay (`ov_carrier_mid_pcie_mini`) is not necessary** for these USB modems. You can configure the necessary USB overlays using the following command:
2095
+
For managing the Pro 4G Module (**EG25** and **EC200A-EU**), you **only need the USB overlay (`ov_carrier_breakout_usbfs`)**, and **mPCIe overlay (`ov_carrier_mid_pcie_mini`) is not necessary** for these USB modems. You can configure the necessary overlays with USB overlay using the following command:
This step ensures the modem functions properly in QMI mode.
2168
2168
2169
-
#### ModemManager and Power Management
2169
+
#### ModemManager and Power Management Service
2170
2170
2171
2171
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:
2172
2172
@@ -2191,40 +2191,58 @@ To manually stop the **ModemManager** service, use the following command:
2191
2191
systemctl stop ModemManager
2192
2192
```
2193
2193
2194
-
After stopping **ModemManager**, there will be a delay before the modem can be powered back on and detected by **mmcli**.
2194
+
After stopping **ModemManager**, there will be a delay before the modem can be powered back on and detected by **mmcli**. The delay is around 20 seconds for appropriate initialization.
2195
2195
2196
2196
#### Modem Configuration
2197
2197
2198
-
For the **Global EG25 Module**, you can configure the modem using **NetworkManager** with the following command:
2198
+
#### Global EG25 Module
2199
+
2200
+
The **Global EG25 Module** is supported by **NetworkManager**, allowing you to configure it easily. To set up a connection, use the following command:
2199
2201
2200
2202
```bash
2201
2203
nmcli c add type gsm ifname cdc-wdm0 con-name wwan0 apn hologram connection.autoconnect yes
2202
2204
```
2203
2205
2204
-
For the **EU EC200A-EU Module**, **ModemManager** does not support it out of the box, so a patch is required for compatibility. You can then use the following command to connect:
2206
+
This command establishes a GSM connection on the `cdc-wdm0` interface and automatically connects to the `hologram` APN.
2207
+
2208
+
#### EU EC200A-EU Module
2209
+
2210
+
The **EU EC200A-EU Module** is not directly supported by **ModemManager** out of the box and requires a compatibility patch. Once the patch is applied, you can connect to the network using:
The modems will create a USB 'eth0' interface that will be remapped into ec200aeu by an udev rule```
2216
+
The modem will create a USB `eth0` interface that will be remapped into `ec200aeu` by an udev rule.
2217
+
2218
+
#### Docker Environment and Power Management
2211
2219
2212
-
In a Docker environment, it may be beneficial to disable **ModemManager** and control the modem using **qmicli**. To avoid conflicts, disable **ModemManager** with the following command:
2220
+
In a Docker environment, it may be helpful to disable **ModemManager**to avoid conflicts and instead control the modem using **qmicli**. You can disable **ModemManager** with the following command:
2213
2221
2214
2222
```bash
2215
-
sudo systemctl stop ModemManager
2223
+
systemctl stop ModemManager
2216
2224
```
2217
2225
2218
-
Next, provide a Docker container with an **entrypoint.sh** script to manage the modem's power using **gpiod**:
2226
+
For modem power management, ensure that the Docker container has access to the GPIO device files by passing them into the container:
2219
2227
2220
2228
```bash
2221
-
gpiod set-value <gpio-pin> 1
2229
+
docker run --device /dev/gpiochip5 <docker-image>
2222
2230
```
2223
2231
2232
+
Inside the container, an **entrypoint.sh** script can control the modem's power via GPIO. To enable the 3.3V Buck Converter, the following command can be added to the script:
2233
+
2224
2234
```bash
2225
-
sleep 10
2235
+
gpioset gpiochip5 5=1
2226
2236
```
2227
2237
2238
+
This will enable the power to the modem, and add a delay for modem initialization:
2239
+
2240
+
```bash
2241
+
sleep 20
2242
+
```
2243
+
2244
+
This configuration ensures proper modem control and avoids power issues during startup.
2245
+
2228
2246
Once the modem is powered on, use **qmicli** to configure and manage the modem. For instance, to check the modem status, use:
2229
2247
2230
2248
```bash
@@ -2511,7 +2529,7 @@ If ModemManager is disabled or if you prefer an alternative method, you can use
Power management for the EC200A-EU module may require manual intervention, especially if ModemManager is disabled. You can power on the modem using a custom script that leverages the `gpiod` library. The script would include commands to set the GPIO pin high and then wait around 20 seconds for the modem to become available, for example:
2532
+
Power management for the *EC200A-EU module* may require manual intervention, especially if **ModemManager** is disabled. You can power on the modem using a custom script that leverages the `gpiod` library. The script would include commands to set the GPIO pin high and then wait around 20 seconds for the modem to become available, for example:
0 commit comments