TS-4900 USB OTG: Difference between revisions
From embeddedTS Manuals
No edit summary |
m (Links auto-updated for 2022 re-branding ( https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/usb/linux-cdc-acm.inf → https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/usb/linux-cdc-acm.inf https://github.com/embeddedarm/linux-3.10.17-imx6/blob/master/Documentation/usb/linux.inf → https://github.com/embeddedTS/linux-3.10.17-imx6/blob/master/Documentation/usb/linux.inf)) |
||
Line 8: | Line 8: | ||
This will create a /dev/ttyGS0. See the kernel documentation for more information: | This will create a /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 which simulates an ethernet network connection between the host pc and the i.MX6. | This provides a usb0 network interface which 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 16:58, 17 January 2022
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.