Linaro ubuntu USB gadget support does not work

Bug #923674 reported by Riku Voipio
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
Medium
Lee Jones

Bug Description

Kernel is from package linux-image-3.2.0-1000-ux500 3.2.0-1000.3,

Linux linaro-ubuntu-desktop 3.2.0-1000-ux500 #3-Ubuntu SMP PREEMPT Fri
Jan 20 17:42:47 UTC 2012 armv7l armv7l armv7l GNU/Linux

root@linaro-ubuntu-desktop:~# modprobe g_mass_storage file=/dev/mmcblk0p2
FATAL: Error inserting g_mass_storage (/lib/modules/3.2.0-1000-ux500/kernel/drivers/usb/gadget/g_mass_storage.ko): No such device

When snowball is connected to PC,

root@linaro-ubuntu-desktop:/sys/devices/platform/musb-ux500.0/musb-hdrc# grep . *
modalias:platform:musb-hdrc
mode:a_idle
pools:poolinfo - 0.1
pools:buffer-2048 0 0 2048 0
pools:buffer-512 0 0 512 0
pools:buffer-128 0 0 128 0
pools:buffer-32 0 0 32 0
uevent:DRIVER=musb-hdrc
uevent:MODALIAS=platform:musb-hdrc
vbus:Vbus off, timeout 1100 msec

While when keyboard is connected to snowball:

root@linaro-ubuntu-desktop:/sys/devices/platform/musb-ux500.0/musb-hdrc# grep . *
modalias:platform:musb-hdrc
mode:a_host
pools:poolinfo - 0.1
pools:buffer-2048 0 0 2048 0
pools:buffer-512 0 0 512 0
pools:buffer-128 6 32 128 1
pools:buffer-32 0 0 32 0
uevent:DRIVER=musb-hdrc
uevent:MODALIAS=platform:musb-hdrc
vbus:Vbus off, timeout 1100 msec

Notice that our test documentation for USB device support is still missing, so the above procedures to try USB device support
might be simply incorrect or incomplete.

Anmar Oueja (anmar)
Changed in igloocommunity:
assignee: nobody → Lee Jones (lag)
Changed in igloocommunity:
importance: Undecided → Medium
milestone: none → 2012.02
Revision history for this message
Anmar Oueja (anmar) wrote :

Lee: Can you pleas confirm

Revision history for this message
Lee Jones (lag) wrote :

Yep, can you add it to this week's backlog?

Revision history for this message
Lee Jones (lag) wrote :

It's actually a known issue that Gadget doesn't work with the current Ubuntu release. The fundamental reason is that OTG is broken, so we intentionally force Host mode in order to have working keyboard and mouse.

I will allocate some time in the near future to investigate the OTG problem in greater detail.

Changed in igloocommunity:
status: New → Confirmed
Lee Jones (lag)
Changed in igloocommunity:
status: Confirmed → Fix Committed
Revision history for this message
Lee Jones (lag) wrote :

modalias:platform:musb-hdrc
mode:b_peripheral
pools:poolinfo - 0.1
pools:buffer-2048 0 0 2048 0
pools:buffer-512 0 0 512 0
pools:buffer-128 0 0 128 0
pools:buffer-32 0 0 32 0
grep: srp: Input/output error
uevent:DRIVER=musb-hdrc
uevent:MODALIAS=platform:musb-hdrc
vbus:Vbus off, timeout 1100 msec

Changed in igloocommunity:
status: Fix Committed → Fix Released
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Lee Jones,

Is the fix for this bug available somewhere, so we can pull it into Ubuntu ? Similar issue is bug 1073089

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.