When I configure AM1808's USB OTG port as host only, it can detect devices attached. But when I configure it as both host and peripheral port (OTG mode), after boot up, it defaults as USB peripheral. When a A-plug is inserted (ID pin is grounded), the kernel driver change the state to OTG_STATE_A_IDLE, then nothing happen. It does not initiate a session. I am using the kernel source linux-2.6.37-psp03.21.00.04.sdk.tar.gz.
I want to ask how to change the OTG role from peripheral to host and vice versa.
Regards,
Colman