gadgetfs: usb.c test application not working properly on i.mx6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!
I compiled usb.c for both an ARM cortex a5 (kernel 3.6.9) and a9 (3.0.35).
Both are connected to the same host when I run the binary with verbose output.
One of them (the one on the A5) appears very quickly as a USB device in
USB device tree viewer and has all the correct string descriptors set.

However the second one (i.mx6 board) takes a long time to show up and then
there are no string descriptors visible.
Only "*!*  string descriptors are not available because device is in
low power state"
 instead of iManufacturer, iProduct etc.
Also, under "Device Information" in USB device tree viewer it says
"Capabilities: Removable, UniqueID" on the Cortex A5 whereas UniqueID
is missing on the A9.

What could be the cause for this issue?

This is the verbose output on the A5:
/dev/gadget/atmel_usba_udc ep0 configured
serial="yyrczl3j39ido7t97zvv2s6l3tarb8t3r9whdjs5m2uffu8ww1sakk8i9qlwmm9"

** Thu Jan  1 00:38:19 1970
CONNECT high speed
DISCONNECT
CONNECT high speed
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0300 i0000 255
SETUP 80.06 v0302 i0409 255
SUSPEND
DISCONNECT
CONNECT high speed
DISCONNECT
CONNECT high speed
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0300 i0000 255
SETUP 80.06 v0302 i0409 255
SETUP 80.06 v0300 i0000 255
SETUP 80.06 v0301 i0409 255
SETUP 80.06 v0302 i0409 255
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0304 i0409 255
SETUP 80.06 v0305 i0409 255
SETUP 80.06 v0300 i0000 255
SETUP 80.06 v0301 i0409 255
SETUP 80.06 v0302 i0409 255
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0304 i0409 255
SETUP 80.06 v0305 i0409 255
SETUP 80.06 v0300 i0000 255
SETUP 80.06 v0301 i0409 255
SETUP 80.06 v0302 i0409 255
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0304 i0409 255
SETUP 80.06 v0305 i0409 255


This is from the one running ont he A9:
/dev/gadget/fsl-usb2-udc ep0 configured
serial="i73kaxk4afvigfp1nzpzsckbkv7ayl4znr4rfyc47k99mraqheuqs6w7ajeni18"

** Wed Feb 26 10:02:02 2014
SUSPEND
CONNECT high speed
DISCONNECT
CONNECT high speed
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0300 i0000 255
SUSPEND
DISCONNECT
CONNECT high speed
DISCONNECT
CONNECT high speed
SETUP 80.06 v0303 i0409 255
SETUP 80.06 v0300 i0000 255
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux