aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-26 09:14:08 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-26 09:14:08 -0400
commite1e83f547844ba09bb90b3dbc3608c2608974e84 (patch)
treedba11905ceabb5b46cc25487ed31c0f0214b9f4b
parentbdee24f7cf24eb91a6c5f8d781be78cd2c559817 (diff)
downloadlibrambutan-e1e83f547844ba09bb90b3dbc3608c2608974e84.tar.gz
librambutan-e1e83f547844ba09bb90b3dbc3608c2608974e84.zip
unix-toolchain: Add Fedora udev recipe.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--source/unix-toolchain.rst19
1 files changed, 13 insertions, 6 deletions
diff --git a/source/unix-toolchain.rst b/source/unix-toolchain.rst
index a9724c3..751ec18 100644
--- a/source/unix-toolchain.rst
+++ b/source/unix-toolchain.rst
@@ -119,18 +119,25 @@ script so :file:`~/libmaple/arm/bin` stays in your ``PATH``.
**3. Install udev Rules**
-From the libmaple directory, ::
+From the libmaple directory, copy our udev rules to ``/etc/udev/rules.d``::
- $ groups # make sure it includes plugdev; if not, add yourself to it
$ sudo cp support/scripts/45-maple.rules /etc/udev/rules.d/45-maple.rules
+
+On Debian, run ``$ groups``. Make sure the output includes "plugdev".
+If not, add yourself to that group. Then run ::
+
$ sudo restart udev
+On Red Hat, run ::
+
+ $ udevadm control --reload-rules
+
As a security precaution on Linux, unknown USB devices can only be
accessed by root. This udev script identifies the Maple based on its
-vendor and product IDs, mounts it to :file:`/dev/maple`, and grants
-read/write permissions to the ``plugdev`` group. After restarting
-``udev`` you'll need to fully unplug or power cycle any Maples
-connected to the computer.
+vendor and product IDs, mounts it to :file:`/dev/maple`, and (on
+Debian-based distros) grants read/write permissions to the ``plugdev``
+group. After restarting ``udev`` you'll need to fully unplug or power
+cycle any Maples connected to the computer.
**So far, so good?**