USB Serial Device

Using Radxa-E25 with Ubuntu on sd card. Have a usb-serial device (xr_usb_serial) that I’ve built local kernel module for (xr_usb_serial_common.ko). I’ve plugged device in and ensure to load usbserial and then insmod the xr_usb_serial_common.ko and device does not enumerate to /dev/ttyXRUSB0 through 3. I know this device works as I can install it in Windows and an Ubuntu 4.2 kernel and Raspberry Pi 4.19. Was starting to look through blogs as maybe an issue with the USB Gadget Support on Radxa. Anyone having problems? Or suggestion? Maybe disabling USB Gadget? Thanks.

Problem resolved. Shut off OTG - echo host > /sys/devices/platform/fe8a0000.usb2-phy/otg_mode and then the following will allow the setting to persist.

sudo -s
cd /etc/systemd/system/
wget http://openhdfpv.org/wp-content/BaseImages/usb.service
chmod +x usb.service
systemctl enable usb

hello gamemkrrod, downloading usb.service is not possible, here is what i get.

rock@radxa-e25 : /etc/systemd/system $ wget http://openhdfpv.org/wp-content/BaseImages/usb.service
–2024-02-19 10:47:31-- http://openhdfpv.org/wp-content/BaseImages/usb.service
Resolving openhdfpv.org (openhdfpv.org)… 104.21.70.189, 172.67.138.200
Connecting to openhdfpv.org (openhdfpv.org)|104.21.70.189|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://openhdfpv.org/wp-content/BaseImages/usb.service [following]
–2024-02-19 10:47:47-- https://openhdfpv.org/wp-content/BaseImages/usb.service
Connecting to openhdfpv.org (openhdfpv.org)|104.21.70.189|:443… connected.
HTTP request sent, awaiting response… 404 Not Found
2024-02-19 10:47:47 ERROR 404: Not Found.

Can you h help?