From 595bfdabbaa6ea43f30eaba2ff647d49c82947f7 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Tue, 17 Dec 2019 18:52:13 -0800 Subject: [PATCH] add back manual udev rule setup to getting started --- docs/getting-started.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 9cd6ecf2..a2d50cc6 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -17,6 +17,7 @@ permalink: / - [Configure M0](#configure-m0) - [Position control of M0](#position-control-of-m0) - [Other control modes](#other-control-modes) +- [Watchdog Timer](#watchdog-timer) - [What's next?](#whats-next) @@ -126,6 +127,12 @@ Try step 5 again ### Linux 1. [Install Python 3](https://www.python.org/downloads/). (for example, on Ubuntu, `sudo apt install python3 python3-pip`) 2. Install the ODrive tools by opening a terminal and typing `sudo pip3 install odrive` Enter + * This should automatically add the udev rules. If this fails for some reason you can add them manually: + ```bash + echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="0d[0-9][0-9]", MODE="0666"' | sudo tee /etc/udev/rules.d/91-odrive.rules + sudo udevadm control --reload-rules + sudo udevadm trigger + ``` 3. (needed on Ubuntu, maybe other distros too) Add odrivetool into the path, by adding `~/.local/bin/` into `~/.bash_profile`, for example by running `nano ~/.bashrc`, scrolling to the bottom, pasting `PATH=$PATH:~/.local/bin/`, and then saving and closing, and close and reopen the terminal window. ## Firmware