USB dual role


I have mini2440 install qtopia.
I want to use USB host as USB dual role.
1. When mini2440 connect to PC through USB to USB cable it work as
peripheral means i want to transmit serial data to PC through USB host.
2. When Pendriver or any OTG connected to mini2440 it works as host that is
now already working.

How can i use USB host as a USB Dual role?


eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number: 8 3 0 0