From 1c7d299b92c493951c62cd7bdcbd8c825e4c65b5 Mon Sep 17 00:00:00 2001
From: Wolfgang Hoenig <whoenig@usc.edu>
Date: Fri, 22 Mar 2019 13:46:59 -0700
Subject: [PATCH] improve documentation for Ubuntu

---
 README.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 7308299..48e2db6 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ For more info see our [wiki](http://wiki.bitcraze.se/ "Bitcraze Wiki").
 
 * [Uninstall the cflib if you don't want it any more](http://pip-python3.readthedocs.org/en/latest/reference/pip_uninstall.html), `pip uninstall cflib`
 
-Note: If you are developing for the [cfclient][cfclient] you must use python3.
+Note: If you are developing for the [cfclient][cfclient] you must use python3. On Ubuntu (16.04, 18.08) use `pip3` instead of `pip`.
 
 ### Linux, OSX, Windows
 
@@ -76,13 +76,18 @@ The following steps make it possible to use the USB Radio without being root.
 
 ```
 sudo groupadd plugdev
-sudo usermod -a -G plugdev <username>
+sudo usermod -a -G plugdev $USER
 ```
 
+You will need to log out and log in again in order to be a member of the plugdev group.
+
 Create a file named ```/etc/udev/rules.d/99-crazyradio.rules``` and add the
 following:
 ```
+# Crazyradio (normal operation)
 SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664", GROUP="plugdev"
+# Bootloader
+SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="0101", MODE="0664", GROUP="plugdev"
 ```
 
 To connect Crazyflie 2.0 via usb, create a file name ```/etc/udev/rules.d/99-crazyflie.rules``` and add the following:
@@ -90,6 +95,12 @@ To connect Crazyflie 2.0 via usb, create a file name ```/etc/udev/rules.d/99-cra
 SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", MODE="0664", GROUP="plugdev"
 ```
 
+You can reload the udev-rules using the following:
+```
+sudo udevadm control --reload-rules
+sudo udevadm trigger
+```
+
 [cfclient]: https://www.github.com/bitcraze/crazyflie-clients-python
 
 
-- 
GitLab