mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-29 02:01:21 +00:00
Introduction ~~~~~~~~~~~~~~~ USB gadget is a mode of Linux USB port handling when Linux is not driving the port as a host port, but as a device - this lets Linux act as a mass storage (usb hdd, usb cdrom, etc.), a hid device (mouse, keyboard), a webcam, etc. Orange PI and some other cheap arm boards feature an OTG port; OTG means on-the-go: the electronics implements both host and device roles, the software driver can change the role any time. The Linux kernel calls device mode drivers "gadgets". Converting one of the ports to a gadget is often useful: - the cheap arm board can become the hardware implementation of a complex USB peripheral for a PC - an arm mini-server can expose some of its internals over the USB to a PC, e.g. an orange PI used as a NAS also mountable as a mass storage over USB - a second ethernet port using g_ether How to set it up ~~~~~~~~~~~~~~~~~~~ As of Jun 2016, the following process worked for |
||
---|---|---|
.. | ||
cubox-default | ||
cubox-dev | ||
cubox-next | ||
marvell-default | ||
marvell-next | ||
neo-default | ||
odroidc1-default | ||
odroidc2-default | ||
odroidxu4-default | ||
odroidxu4-next | ||
pine64-default | ||
s500-default | ||
sun4i-default | ||
sun5i-default | ||
sun7i-default | ||
sun8i-default | ||
sun8i-dev | ||
sun8i-old | ||
sunxi-dev | ||
sunxi-next | ||
udoo-default | ||
udoo-next | ||
compiler.patch |