No USB devices on omap3 (beagle/overo) with recent linaro-2.6.38 based kernels or 2.6.29-rc1

Bug #747639 reported by John Stultz
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux
Fix Released
High
Unassigned
linux-linaro-omap (Ubuntu)
Fix Released
Undecided
John Rigby

Bug Description

I've been seeing USB issues on my beagle xm board with the latest linaro-2.6.38 tree, where when the system boots, lsusb will only show the root hubs, but no devices.

Andy reported seeing similar on his overo board, so I bisected the issue
down to:

9e64bb1e9f0613093b3e34ac5402fcfef0dcc35a is the first bad commit
commit 9e64bb1e9f0613093b3e34ac5402fcfef0dcc35a
Author: Keshava Munegowda <email address hidden>
Date: Tue Mar 1 20:08:19 2011 +0530

    arm: omap: usb: Invoke usbhs core device initialization

    The usbhs intialization is invoked by all omap3 and omap4
    variant board files.

    Signed-off-by: Keshava Munegowda <email address hidden>
    Signed-off-by: Felipe Balbi <email address hidden>

I've also verified the same issue is present in 2.6.39-rc1

Revision history for this message
Mounir Bsaibes (mounir-bsaibes) wrote :

I have marked this bug's importance high, as it affects the Android kernel work.

Changed in linux-linaro:
importance: Undecided → High
Revision history for this message
Andy Doan (doanac) wrote :

There's a thread on linux-omap that looks related:

http://thread.gmane.org/gmane.linux.ports.arm.omap/56105

John Rigby (jcrigby)
Changed in linux-linaro:
status: New → Confirmed
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

I just spotted this patch and am testing if it fixes things... http://lists.infradead.org/pipermail/linux-arm-kernel/2011-April/048117.html

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

Yes, the reset polarity patch [1] fixes this bug on my Beagleboard xM. USB peripherals are recognised and the on-board ethernet now works. (I note that the name for the on-board ethernet is now eth0 whereas in 2.6.38.1 it was called usb0)

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-April/048117.html

Revision history for this message
Andy Doan (doanac) wrote :

The patched worked against my Overo as well. Keyboard and mouse are functional.

Revision history for this message
John Rigby (jcrigby) wrote :

Applying to packaged kernel.

Changed in linux-linaro-omap (Ubuntu):
assignee: nobody → John Rigby (jcrigby)
status: New → In Progress
John Rigby (jcrigby)
Changed in linux-linaro-omap (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-linaro-omap - 2.6.38-1002.3

---------------
linux-linaro-omap (2.6.38-1002.3) natty; urgency=low

  [ Upstream Fixes ]

  * MUSB: shutdown: Make sure block is awake before doing shutdown
    - LP: #745737
  * Fixed gpio polarity of gpio USB-phy reset.
    - LP: #747639

  [ Andy Green ]

  * LINARO: SAUCE: disable CONFIG_OMAP_RESET_CLOCKS
    - LP: #752900

  [ John Rigby ]

  * Rebase to new upstreams:
    Linux v2.6.38.1
    linaro-linux-2.6.38-upstream-29Mar2011
    Ubuntu-2.6.38-7.35
  * SAUCE: OMAP4: clock: wait for module to become accessible on
    a clk enable
    - LP: #745737
  * Rebase to new upstreams:
    Linux v2.6.38.2
    linaro-linux-2.6.38-upstream-5Apr2011
    Ubuntu-2.6.38-8.41
    - LP: #732842
  * Update configs for device tree, dvfs and lttng
  * LINARO: add building of dtb's
  * LINARO: SAUCE: Disable lowest operating freqs on omap34xx
    - LP: #732912
 -- John Rigby <email address hidden> Thu, 14 Apr 2011 12:16:06 -0600

Changed in linux-linaro-omap (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
John Stultz (jstultz) wrote :

Confirmed fixed in my testing with today's linaro-2.6.38 tree.

Changed in linux-linaro:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.