Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Tim,
To get your Huawei EE3372h-325 LTE USB dongle working with TorizonOS and ModemManager, you’ll indeed need to use usb_modeswitch to change the device from a USB Mass Storage mode to a modem mode. Here’s how you can proceed:
-
Using a Dedicated Container for usb_modeswitch:
- This is the recommended approach as it aligns well with Torizon’s container-based architecture.
- You can create a Docker container based on a Debian image, which is compatible with Torizon.
- Inside this container, install usb_modeswitch using the package manager (e.g.,
apt-get install usb-modeswitch
). - Ensure the container has access to the USB device by using Docker’s
--device
flag to pass the USB device into the container. - Run usb_modeswitch within the container to switch the device mode.
-
Installing usb_modeswitch on the Host System:
- While possible, this method is less preferred as it deviates from the containerized approach of Torizon.
- You would need to access the TorizonCore shell and manually install usb_modeswitch using the package manager.
- This approach might require additional configuration to ensure compatibility with the rest of the system.
Additional Considerations:
- Ensure that ModemManager is configured to recognize the device once it is switched to modem mode.
- You may need to adjust permissions and access rights for the USB device within the container to ensure proper operation.
By using a container, you maintain the modularity and isolation benefits of Torizon, making it easier to manage dependencies and updates. This setup also allows you to easily replicate the environment across different devices or deployments.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: