• 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: UART Serial Server ESP32-C3 1.47 inch LCD Display Development Board 1.47inch Screen SD 172×320 Raspberry Pi Zero Pi0 2W Digital Photo Frame 7.3 inch E6 Full Color E Paper Ink Calendar Art Poster Raspberry Pi RP2040 LoRa-HF Raspberry Pi IR Thermal Imaging Camera AI Machine Vision Kit OAK-D-POE JPEG Encoder 12MP IP67 Waterproof 4TOPS OpenCV Camera ESP32 C3 LCD Development Board 1.3 inch Display Screen ST7789 240x240 3D Transparent Refractive Prism Mini TV For Arduino Raspberry Pi Raspberry Pi ZERO Raspberry Pi Starlight Camera IR-CUT IMX462 (A) Sensor 2MP 90 Degree NVIDIA-acess User Guide X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board PC U ESP32-P4 Mini Core Development Board C6 N16R32/N32R32 PSRAM 32MB With USB-HUB / CSI Camera Port / MIPI DSI Display Port Raspberry Pi Pico 2 RP2350B 2.1 inch Round LCD Touch Display 480x480 HMI LVGL QMI8658 6-axis 65K Colors Sipeed Lichee Tang Nano 20K FPGA RISCV Open-Source Retro-Game Linux MINI Development Board GW2AR-18 Supports Night Vision Raspberry Pi 5 TTL Industrial Modbus RS485 RTU 8-ch Magnetic Latching Relay Module (C) With Digital Input X1011 Raspberry Pi 5 PCIe to M.2 NVMe 4-Ports SSD Board HAT Pi5 Four-Times 2280