On 07/02/2013 07:47 PM, Stephen Warren wrote: > On 06/26/2013 02:20 PM, Paul Zimmerman wrote: >>> From: Stephen Warren [mailto:swarren@xxxxxxxxxxxxx] >>> Sent: Wednesday, June 26, 2013 12:13 PM >>> >>> On 06/24/2013 12:34 PM, Paul Zimmerman wrote: >>>> I screwed up the sense of this if() statement while porting our >>>> vendor driver to create the dwc2 driver. This caused frame overrun >>>> errors on periodic transfers when there were other transfers >>>> active in the same (micro)frame. >>>> >>>> With this fix, the dwc2 driver now works on the Raspberry Pi >>>> platform even with the USB Ethernet controller enabled, where >>>> before that would cause all USB devices to stop working. ... >> I hope whoever is supporting the Pi in the mainline kernel will try adding >> dwc2 support now that it seems to be working. I'm not sure who that would >> be, though. > > Well, it appears to work! I tested it on both a model A and B (rev 2) > and devices enumerate on the bus OK now. I haven't actually tested data > transfer yet though. ... although unfortunately, pretty much any use of the USB devices crashes or hangs the kernel:-( I guess due to the wildly varying symptoms, there is some random memory corruption going on. I did manage to dd about 1MiB off an SD card in a USB->SD card adapter (with powered hub between the adapter and the Pi), but often just plugging in the card or having it plugged in during boot causes hangs and crashes. Similarly, I have a ZD1211 WiFi USB adapter, and having that plugged during boot in causes all kinds of oops within a few or tens of seconds after booting, in code unrelated to USB or networking. Paul, are you able to try out upstream Linux and see what the issue might be? The following G+ post should outline the steps required: https://plus.google.com/101715070573995136397/posts/gWkwrfNfYVm although these days you might want to use u-boot.git not u-boot-arm.git (or perhaps git://github.com/swarren/u-boot.git rpi_dev), and git://github.com/swarren/linux-rpi.git rpi_dev to get the USB enabled. -- 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