Usb host and device

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

No related content found.

Posted in 1.Startup, 1.Startup
Follow @weecoboard
Company references
APTASYS S.R.L.
Via Marchi 6
36060 - Romano d'Ezzelino (VI)
tel. 0444-1833045
P.IVA: IT03512520242
C.F. e N.REG-VI: 03512520242
N.REA: VI-331370
Capitale Sociale: 30.000,00 Euro i.v.