Philips Semiconductors | ISP1362 Linux Stack User’s Guide |
Figure
Another way to use the OTG mass storage is by using the
#cd /home/1362/objs
#./otgcmd.o help
The following table provides a list of otgcmd.o options and their description:
Table
Option | Description |
host | Becomes the USB bus host on the OTG port. Once it becomes the host, it enumerates any device |
| connected to the host on the OTG port |
idle | If the OTG device is the bus host on the OTG port, |
| comes out of the bus host. |
load | Loads OTG modules |
unload | Unloads OTG modules |
mount | If the OTG device is the USB bus host on the OTG port and the connected device is a mass storage |
| device, mounts both the local OTG device disk and the remote OTG device disk to the mount points. |
umount | If the local OTG device disk and the remote OTG device disk are mounted to the mount points, |
| unmounts both these devices. |
status | Current state of the OTG port and the OTG device disks mount status. |
help | Prints help menu. |
To operate the OTG mass storage device as a host, connect the other OTG mass storage device through the OTG cable and execute the following on one of the targets:
1.#./otgcmd host
This command will make the OTG mass storage device as a USB host on the executed target.
| © Koninklijke Philips Electronics N.V. 2003. All rights reserved. | |
User’s Guide | Rev. | 26 of 34 |