USB OTG on WP77xx

Has anyone actually got this going? The WP77xx Product Specification describes a circuit for supporting OTG at Figure 5.6 (page 93). However no such circuit appears to be on MangOH Red or Yellow.

you can connect a USB OTG cable to CN801 on MangOH red board.
I remember it is working fine for WP76xx.

Thanks, I will give this a try.

With USB OTG cable plugged into CN801 I can reset the MangOH red and use the console on CN305. However devices which enumerate when plugged into CN304 USB host port do not enumerate when plugged into the OTG cable. Do I have to enable something to get OTG working on CN801?

probably your USB OTG cable has problem.
Here I have checked on MangOH Red board.
When I plugged in USB_OTG cable to the CN801 USb connector, we can see the following:


root@swi-mdm9x28-wp:~# cat /sys/bus/platform/drivers/msm_otg/78d9000.usb/power_s
upply/usb/usb_otg
1


After that, if I plugged normal USB cable to the CN801 USb connector and PC, we can see the following:


root@swi-mdm9x28-wp:~# cat /sys/bus/platform/drivers/msm_otg/78d9000.usb/power_s
upply/usb/usb_otg
0


USB_OTG cable is fine. When it is plugged in to CN801 cat /sys/bus/platform/drivers/msm_otg/78d9000.usb/power_supply/usb/usb_otg
gives result 1 like your example.

Also the same cable works fine with a mouse on a tablet.

The problem is that devices (e.g. flash) plugged in to the OTG cable don’t enumerate - nothing from dmesg. Note I have put in a jumper to make sure that CN801 is powered (power is coming from the console USB). My problem is similar to this one

I was using Release 11 of firmware. I upgraded to Release 12 and now it works. Can plug in USB flash via USB-OTG cable, mount, see files.