You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to linux...@googlegroups.com
Have been trying to get USB gadget working lately and have a bit of
mixed results
g_serial seems to work fine
g_ether as well.
but have not had any success in using the mass storage gadgets
(g_file_storage or g_mass_storage). I can load the module fine and the
host notices there is a USB storage device of the right size, but that's
all. It never registers as a storage device on the host and on the
gadget I see some USB IRQ resets.
[ 283.010000] [sw_udc]: IRQ: reset
[ 283.010000] [sw_udc]: irq: reset happen, throw away all urb
[ 283.010000] nuke: ep num is 0
[ 283.010000] nuke: ep num is 2
[ 283.100000] [sw_udc]: IRQ: reset
[ 283.100000] [sw_udc]: irq: reset happen, throw away all urb
[ 283.100000] nuke: ep num is 2
[ 283.180000] [sw_udc]: Set address 108
[ 283.200000] g_mass_storage gadget: high speed config #1: Linux
File-Backed Storage
then the host declares the device offline.
[1468928.838123] usb 2-2: reset high-speed USB device number 108 using
ehci-pci
[1468939.068084] usb 2-2: reset high-speed USB device number 108 using
ehci-pci
[1468944.298101] usb 2-2: reset high-speed USB device number 108 using
ehci-pci
[1468954.528109] usb 2-2: reset high-speed USB device number 108 using
ehci-pci
[1468954.656706] sd 89:0:0:0: Device offlined - not ready after error
recovery
Anyone else had success with the storage gadgets?
I have tried with 3.0.72, 3.4.29, 3.4.43 with and without pending usb
merge, all same result.
The host is running Fedora Linux 3.8.8.
Regards
Henrik
Henrik Nordström
unread,
May 14, 2013, 8:03:54 AM5/14/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> --
> You received this message because you are subscribed to the Google
> Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to linux-sunxi...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>