TS-4900 USB OTG: Difference between revisions
From embeddedTS Manuals
(Created page with "Depending on which baseboard the TS-4900 is used with, the OTG port may be usable as host, or it may be brought out to a MicroAB port allowing it to be host or device. Severa...") |
No edit summary |
||
Line 1: | Line 1: | ||
Depending on which baseboard the TS-4900 is used with, the OTG port may be usable as host, or it may be brought out to a MicroAB port allowing it to be host or device. Several devices are compiled into the default kernel. Additional devices can be compiled into the kernel by following the section [[#Compile_the_Kernel|here]]. | Depending on which baseboard the TS-4900 is used with, the OTG port may be usable as host, or it may be brought out to a MicroAB port allowing it to be host or device. Several devices are compiled into the default kernel. Additional devices can be compiled into the kernel by following the section [[#Compile_the_Kernel|here]]. | ||
''' USB Serial ''' | |||
<source lang=bash> | <source lang=bash> | ||
modprobe g_serial use_acm=1 | modprobe g_serial use_acm=1 | ||
Line 10: | Line 10: | ||
* [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/usb/linux-cdc-acm.inf Windows CDC-ACM INF file] | * [https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/usb/linux-cdc-acm.inf Windows CDC-ACM INF file] | ||
''' USB Ethernet ''' | |||
<source lang=bash> | <source lang=bash> | ||
modprobe g_ether | modprobe g_ether |
Revision as of 18:08, 19 August 2014
Depending on which baseboard the TS-4900 is used with, the OTG port may be usable as host, or it may be brought out to a MicroAB port allowing it to be host or device. Several devices are compiled into the default kernel. Additional 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 which simulates an ethernet network connection between the host pc and the i.MX6.