Weecoboard have a USB otg port available.
Through the USB OTG you have the option of using the device as a USB host or as a USB device.
Usb host
If you want to use a keyboard or mouse, or a usb key, you have to enable the usb host on weecoboard.
To enable the USB HOST, set the DIP-SWITCH DS1 1 to 0 and reboot the board or run the script loadUsbModules manually from a shell
$> loadUsbModules
Usb device
To enable the USB DEVICE, set the DIP-SWITCH DS1 1 to 1 and reboot the board or run the script loadUsbModules manually from a shell
$> loadUsbModules
You could check the modules loader by type the following command from a shell:
$> lsmod

The list of installed modules:
USB device
| USB host | |
| usb storage | usb-storage.ko |
| hid | usbhid.ko |
| usb serial | pl2303.ko,ftdi_sio.ko,cp210x.ko |
| usb gadget | g_file_storage.ko |
