aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-09-05 14:46:07 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-09-05 14:50:57 -0400
commit130d6a0091f7add05d9bf3f38b1e6b7ac8d879f3 (patch)
tree0b38ba3a9806a54357b43f939b45177f419cd387
parentbd69f95fb19c185e0df737c74f55e34d47855a85 (diff)
downloadlibrambutan-130d6a0091f7add05d9bf3f38b1e6b7ac8d879f3.tar.gz
librambutan-130d6a0091f7add05d9bf3f38b1e6b7ac8d879f3.zip
unix-toolchain-linux-setup: Fix up udev on Debian.
Thanks to bnewbold: http://forums.leaflabs.com/topic.php?id=1884 Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--source/unix-toolchain-linux-setup.rst18
1 files changed, 15 insertions, 3 deletions
diff --git a/source/unix-toolchain-linux-setup.rst b/source/unix-toolchain-linux-setup.rst
index 863f6a3..cd0d5f9 100644
--- a/source/unix-toolchain-linux-setup.rst
+++ b/source/unix-toolchain-linux-setup.rst
@@ -14,6 +14,7 @@ These instructions have been tested successfully on:
- Ubuntu 10.04 and 12.04 (32- and 64-bit)
- Fedora 17 (64-bit)
+- Debian Wheezy 64-bit
Generic instructions for other distributions are also provided. Please
`contact`_ us with any updates for distros not already covered!
@@ -150,7 +151,7 @@ From the libmaple directory, copy our udev rules [#fudev]_ to
Then restart udev.
-**Debian-based distros**:
+**Ubuntu (NOT Debian)**:
Make sure you are in the plugdev group (e.g. by running ``$ groups``
and seeing if the output includes "plugdev"). If not, add yourself
@@ -158,12 +159,24 @@ Then restart udev.
$ sudo usermod -a -G plugdev $USER
- then log back out and log back in.
+ then log out and log back in.
After that's done, restart udev::
$ sudo restart udev
+**Debian (NOT Ubuntu)**:
+
+ Make sure you're in the dialout group. If not, add yourself with ::
+
+ $ sudo usermod -a -G dialout $USER
+
+ then log out and log back in.
+
+ After that's done, restart udev::
+
+ $ sudo /etc/init.d/udev restart
+
**Red Hat-based distros**:
::
@@ -185,4 +198,3 @@ Great! Move on by :ref:`compiling a sample program <toolchain-test>`.
based on its vendor and product IDs, mounts it to
:file:`/dev/maple`, and (for Debian-based distros) grants
read/write permissions to the ``plugdev`` group.
-