TS-7970 USB Device: Difference between revisions
From embeddedTS Manuals
(Clarifications) |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This SBC includes support to act as a USB peripheral to another system. Remove the [[#Jumpers|"CON EN" jumper]] to disable the on-board USB serial debug port and connect the | This SBC includes support to act as a USB peripheral to another system. Remove the [[#Jumpers|"CON EN" jumper]] to disable the on-board USB serial debug port and connect the [[#USB_Device|USB device port]] to the CPU's OTG port. The CPU 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 [[#Compile_the_Kernel|compile the kernel section]]. | ||
''' USB Serial ''' | ''' USB Serial ''' | ||
Line 8: | Line 8: | ||
This will create the device "/dev/ttyGS0". See the kernel documentation for more information: | This will create the device "/dev/ttyGS0". See the kernel documentation for more information: | ||
* [https://www.kernel.org/doc/Documentation/usb/gadget_serial.txt USB Gadget Serial documentation] | * [https://www.kernel.org/doc/Documentation/usb/gadget_serial.txt USB Gadget Serial documentation] | ||
* [https://github.com/ | * [https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/usb/linux-cdc-acm.inf Windows CDC-ACM INF file] | ||
''' USB Ethernet ''' | ''' USB Ethernet ''' | ||
Line 17: | Line 17: | ||
This provides a "usb0" network interface. This driver simulates an Ethernet network connection between the host PC and the i.MX6. | This provides a "usb0" network interface. This driver simulates an Ethernet network connection between the host PC and the i.MX6. | ||
* [https://github.com/ | * [https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/usb/linux.inf Windows driver inf] |
Latest revision as of 11:53, 15 December 2022
This SBC includes support to act as a USB peripheral to another system. Remove the "CON EN" jumper to disable the on-board USB serial debug port and connect the USB device port to the CPU's OTG port. The CPU 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 compile the kernel section.
USB Serial
modprobe g_serial use_acm=1
This will create the device "/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.