USB

USB Host Status in Mainline Kernel / U-Boot
Currently only EHCI support is added. It is trivial to add OHCI support. It will be added once all the EHCI bugs are squashed. If you want OHCI support now, please submit patches.

Patches

 * Up to date patches against sunxi-next can be found here https://github.com/arokux/linux

Supported SoCs

 * A10
 * A20
 * A13
 * (A31 very preliminary work has been posted to the ML by bamvor)

USB devices known to work

 * USB Keyboard
 * USB 2 Ethernet adapter
 * USB Stick/HDD (This allows you to have your rootfs on a USB stick/HDD. Add root=/dev/sda1 rootwait to your cmdline.)

Known issues

 * On-board WiFi module (idVendor=0bda, idProduct=8176) is identified by will not work on calling ip link set wlan0 up, see dmesg.
 * U-Boot output weired error messages if a USB sound card or USB midi device is plugged in on boot, both are full speed devices

TODO

 * U-Boot: A13: Modify a GPIO that controls power to VBUS