4700 USB OTG: Difference between revisions

From embeddedTS Manuals
No edit summary
mNo edit summary
 
Line 6: Line 6:
</source>
</source>


Device mode of OTG will function without having to write to the above procfile.
Device mode of OTG will function without having to write to the above proc file.




{{Note|When paired with the TS-8160 the OTG port is exposed as the lower USB host A port.  Because of this the above command needs to be run whenever a USB device is attached to the port in order to tell the OTG driver to enter host mode and communicate with the USB device.}}
{{Note|When paired with the TS-8160 the OTG port is exposed as the lower USB host A port.  Because of this the above command needs to be run whenever a USB device is attached to the port in order to tell the OTG driver to enter host mode and communicate with the USB device.}}

Latest revision as of 16:50, 28 October 2011

This board features USB OTG which allows you to use the USB port as either a host, or a device. Much of the USB OTG framework is described here. You will need to recompile your kernel to include these modules.

The OTG driver from Marvell has a caveat attached to it, whenever the OTG port is to be used as a host the following command needs to be issued after the device is plugged in:

echo 1 > /proc/driver/otg

Device mode of OTG will function without having to write to the above proc file.


Note: When paired with the TS-8160 the OTG port is exposed as the lower USB host A port. Because of this the above command needs to be run whenever a USB device is attached to the port in order to tell the OTG driver to enter host mode and communicate with the USB device.