OTG port not enabled for OMAP4

Bug #645420 reported by Tobin Davis on 2010-09-22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-ti-omap4 (Ubuntu)
Lee Jones

Bug Description

Currently, the OTG port on panda is not enabled in the kernel.
>fgrep MUSB_OTG /boot/config-2.6.35-903-omap4
# CONFIG_USB_MUSB_OTG is not set

This needs to be enabled to test the port for functionality.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-903-omap4 2.6.35-903.12
ProcVersionSignature: Ubuntu 2.6.35-903.12-omap4
Uname: Linux 2.6.35-903-omap4 armv7l
Architecture: armel
Date: Wed Sep 22 10:47:42 2010
SourcePackage: linux-ti-omap4

Tobin Davis (gruemaster) wrote :
Changed in linux-ti-omap4 (Ubuntu):
importance: Undecided → Low
Ricardo Salveti (rsalveti) wrote :

Our main problem is that the OTG feature depends on PM, and this is not well supported on current hardware:
        depends on USB && USB_GADGET && PM && EXPERIMENTAL

So we first need to make sure CONFIG_PM running fine with our kernel, then we can try to enable and test OTG (bug 628029 talks about lack of suspend, that's also affected by missing CONFIG_PM).

Changed in linux-ti-omap4 (Ubuntu):
status: New → Confirmed
tags: added: omap4 panda
Sebastien JAN (sebjan) wrote :

OTG and PM are purposely deactivated in this kernel.

The OTG handling is not fully functional, hence the pandaboard OTG capable port is statically configured as device mode. It can be tested as such for mass storage link.
For example, the following command will enable mass storage and make the 1st SD card partition available as such:
sudo modprobe g_file_storage file=/dev/mmcblk0p1 removable=1 stall=0

The HOST port shall be used when USB host feature is required.

tags: added: iso-testing
Lee Jones (lag) on 2010-10-04
Changed in linux-ti-omap4 (Ubuntu):
assignee: nobody → Lee Jones (lag)
Lee Jones (lag) wrote :

This functionality is not provided yet, but it will be in the future.

Therefore it's not a bug - closing.

Changed in linux-ti-omap4 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers