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.
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.
How did you update the firmware?
you can use one click exe to upgrade in Windows.
I am on latest ----
SWI9X06Y_02.36.06.00 / 001.067_001
002.015
SWI9X06Y_02.36.07.00
19.11.5
But I still have this problem
Are you connecting the usb client via the otg cable when the wp77 power up?
I am trying to test USB OTG for WP7702.
Don’t see the pen drive enumerate as anything when I login
I tried on mangoh green board with WP77, before power on, I connect the USB thumb drive to OTG cable and connect to the mangoh green board
After power on, I can see the USB thumb content after mounting it.
How can I mount? and what command can I use to check USB content?
ls /dev/sda*
mkdir “/tmp/usbflash”
/bin/mount -t auto -o sync /dev/sda1 "/tmp/usbflash”
ls /tmp/usbflash