• sales

    +86-0755-88291180

Milk-V Duo S Usage of USB Type A interface

The USB functions of the DuoS USB Type A interface and Type C interface are optional and cannot be used at the same time. The default firmware is configured with the USB network port (RNDIS) function of the Type C port. If you need to switch to the USB 2.0 HOST port of the Type A port for use with USB flash drives and other devices, you need to execute the following command:

ln -sf /mnt/system/usb-host.sh /mnt/system/usb.sh
sync

Then execute the reboot command or power on again to make it take effect.

For example, after connecting a USB flash drive to the USB A port, you can use ls /dev/sd* to check whether the device is detected.

Mount it to the system to view the contents of the USB flash drive (take /dev/sda1 as an example):

mkdir /mnt/udisk
mount /dev/sda1 /mnt/udisk

Check whether the contents of the /mnt/udisk directory are as expected:

ls /mnt/udisk

Command to uninstall USB flash drive:

umount /mnt/udisk

When you want to restore the USB network (RNDIS) function of the Type C port, execute:

rm /mnt/system/usb.sh
ln -sf /mnt/system/usb-rndis.sh /mnt/system/usb.sh
sync

Then execute the reboot command or power on again to make it take effect.

TIP

DuoS has an onboard Ethernet interface, so the USB network port (RNDIS) of the Type C port can be used without switching to the USB 2.0 Host function of the A port.

TAG: SpotPear ESP32 Thermal imaging camera Raspberry Pi ZERO Camera Raspberry Pi 5 Camera User Guide X1003 Raspberry Pi 5 PCIe to M.2 NVMe SSD MINI Adapter Board HAT Pi5 2242 2230 X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board Raspberry Pi 5 ESP32-P4 Pico WIFI6 Development Board C6 MIPI DSI 10.1-inch Display /CSI Camera /Audio Speaker Mic AI Deepseek Raspberry Pi Pico 2 RP2350 USB A Development Board RP2350A SpotPear RP2040 LoRa Servo Raspberry Pi 5 Audio spotpear Raspberry Pi USB Camera 2MP OV2735 Distortion-Free USB 2.0 For Jeston RDK Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7 RS485 TO ETH (B) Connect Alibaba Cloud And EMQX Industrial CAN FD RS232/RS485 bidirectional converter CAN2.0A/B ESP32 S3 Development Board 1.85 inch Round LCD Display 360×360 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino 3.4inch Round LCD HDMI Capacitive Touchscreen Display 800x800 For Raspberry Pi/Jetson Nano/mini PC