X-Git-Url: http://git.rot13.org/?p=linux-usb-otg;a=blobdiff_plain;f=README;h=90770a18e4b3f922012c86604dbaf9fc91d782a5;hp=e5fc1ad76e42866bd09ac1f26fab6c4976c25299;hb=82937b87ba93b0be9385a4c6742ee34722ab15dc;hpb=4db9bd5c8594078106272f79ec3851e1f2414f13 diff --git a/README b/README index e5fc1ad..90770a1 100644 --- a/README +++ b/README @@ -1,2 +1,36 @@ +Let's make Linux OTG ports useful... + +To install: + + cd /srv/ + git clone https://github.com/dpavlin/usb-otg + ./install.sh + +This will create composite gandet on boot through which you can insert keystrokes, +mount disk images, or open serial port back to arm board. + +I'm using Debian armbian image for all Allwinner boards with linux-image-next-sunxi kernel. + +This setup has been tested on: +- Raspberry Pi 0 +- Cubieboard2 A20 +- Lamobo R1 A20 +- Cubieboard A10 + + + +Based on documentation from: + http://www.chip-community.org/index.php/Chip:_USB_hid_on_libcomposite +https://github.com/ckuethe/usbarmory/wiki/USB-Gadgets + +http://github.com/wismna/raspberry-pi/hackpi + +https://github.com/torvalds/linux/blob/master/Documentation/usb/gadget-testing.txt + + +UVC (to emulate webcam): + +git clone git://git.ideasonboard.org/uvc-gadget.git +