TS-7970 USB Device: Difference between revisions
From embeddedTS Manuals
(Created page with "This SBC includes support to act as a USB peripheral to another system. Remove the "CON EN" jumper to disable the onboard usb serial, and connect the P1 header to the CPU's O...") |
No edit summary |
||
Line 1: | Line 1: | ||
This SBC includes support to act as a USB peripheral to another system. Remove the "CON EN" jumper to disable the onboard usb serial, and connect the P1 header to the CPU's OTG port. This port is strapped to only act as a USB device. Several devices are compiled into the default kernel. | This SBC includes support to act as a USB peripheral to another system. Remove the "CON EN" jumper to disable the onboard usb serial, and connect the P1 header to the CPU's OTG port. This port is strapped to only act as a USB device. Several devices are compiled into the default kernel. Other devices can be compiled into the kernel by following the section [[#Compile_the_Kernel|here]]. | ||
''' USB Serial ''' | ''' USB Serial ''' | ||
Line 15: | Line 15: | ||
</source> | </source> | ||
This provides a usb0 network interface | This provides a usb0 network interface. This driver simulates an Ethernet network connection between the host pc and the i.MX6. | ||
* [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/usb/linux.inf Windows driver inf] | * [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/usb/linux.inf Windows driver inf] |
Revision as of 10:59, 13 February 2017
This SBC includes support to act as a USB peripheral to another system. Remove the "CON EN" jumper to disable the onboard usb serial, and connect the P1 header to the CPU's OTG port. This port is strapped to only act as a USB device. Several devices are compiled into the default kernel. Other devices can be compiled into the kernel by following the section here.
USB Serial
modprobe g_serial use_acm=1
This will create a /dev/ttyGS0. See the kernel documentation for more information:
USB Ethernet
modprobe g_ether
This provides a usb0 network interface. This driver simulates an Ethernet network connection between the host pc and the i.MX6.