From 130d6a0091f7add05d9bf3f38b1e6b7ac8d879f3 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 5 Sep 2012 14:46:07 -0400 Subject: 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 --- source/unix-toolchain-linux-setup.rst | 18 +++++++++++++++--- 1 file 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 `. 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. - -- cgit v1.2.3