From 904db367cd33d8e2bee742f149cf5fafa09f0b5c Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 14 Feb 2016 10:34:13 +0100 Subject: [PATCH] added dtoverlay-part in readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0273a86..7caecf2 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,16 @@ I am using a Raspberry Pi Zero, since it has USB-OTG support and a lot of GPIO t The OLED I am intending to use has an I²C interface and a screen diagonal of .96". ## using the driver +The neccessary drivers are available only in the Raspbian 4.4 Kernel, which you can install using +``` +sudo BRANCH=next rpi-update +``` +You also need to activate the device tree overlay `dwc2` and load the corresponding kernel module: +``` +echo "dtoverlay=dwc2" | sudo tee /boot/config.txt +echo "dwc2" | sudo tee /etc/modules +``` + To use this program, you have to enable the `libcomposite` driver on the Raspberry Pi and create a USB HID gadget. You can use this bash script: ``` -- 2.39.3