From 9529b4273f094f6e9e789dfa102f53e5e539c073 Mon Sep 17 00:00:00 2001 From: girst Date: Fri, 19 Feb 2016 02:36:35 +0100 Subject: [PATCH] readme: dwc2 gets appended instead of overwriting the whole file --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7caecf2..679a101 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ 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 +echo "dtoverlay=dwc2" | sudo tee -a /boot/config.txt +echo "dwc2" | sudo tee -a /etc/modules ``` To use this program, you have to enable the `libcomposite` driver on the Raspberry Pi and create a USB HID gadget. -- 2.39.3