Change MX1.25 USB Port to Device Mode on LuckFox Lyra Pi
Posted: 2025-11-25 11:35
Hi,
I am working with a LuckFox Lyra Pi (variant with Wi-Fi and without 4G). I want to establish USB communication between the Lyra Pi and my host device (Linux or Android) using the MX1.25 USB port.
Currently, the MX1.25 port is configured as USB Host mode by default, referred following forum thread viewtopic.php?p=6811&hilit=MX1.25#p6811 . My host device USB port is also in Host mode, no communication occurs when I directly connect the two devices via USB → USB.
I cannot modify the USB mode of my host device, so I would like to change the MX1.25 USB port on the Lyra Pi to USB "Device" mode instead.
My request:
1. Is it possible to switch the MX1.25 USB port into Device/Gadget mode?
2. If yes, could you please provide steps or a configuration guide (e.g., device tree changes, kernel configuration, overlays, etc.)?
The purpose is to enable USB communication (CDC / ACM) between the Lyra Pi and the my host device.
Thank You
I am working with a LuckFox Lyra Pi (variant with Wi-Fi and without 4G). I want to establish USB communication between the Lyra Pi and my host device (Linux or Android) using the MX1.25 USB port.
Currently, the MX1.25 port is configured as USB Host mode by default, referred following forum thread viewtopic.php?p=6811&hilit=MX1.25#p6811 . My host device USB port is also in Host mode, no communication occurs when I directly connect the two devices via USB → USB.
I cannot modify the USB mode of my host device, so I would like to change the MX1.25 USB port on the Lyra Pi to USB "Device" mode instead.
My request:
1. Is it possible to switch the MX1.25 USB port into Device/Gadget mode?
2. If yes, could you please provide steps or a configuration guide (e.g., device tree changes, kernel configuration, overlays, etc.)?
The purpose is to enable USB communication (CDC / ACM) between the Lyra Pi and the my host device.
Thank You