summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-02 12:23:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-02 12:26:14 -0700
commit5ae5aedab3b628ad04abc435ce3b06c3612d4d6c (patch)
tree2a3d78454bc946aa5214d441c287b767302eb6f1
parent08a451d24ab00fec9b318842c4cdf82ff5c090c6 (diff)
downloadsubsurface-5ae5aedab3b628ad04abc435ce3b06c3612d4d6c.tar.gz
Add FAQ item about creating a udev rule for Cobalt under Linux
This should work under most Linux flavors. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--Documentation/FAQ.wordpress15
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/FAQ.wordpress b/Documentation/FAQ.wordpress
index 1d64d3f31..5f7018fea 100644
--- a/Documentation/FAQ.wordpress
+++ b/Documentation/FAQ.wordpress
@@ -222,4 +222,17 @@ After establishing the RFCOMM connection and while the dive computer's upload mo
If you get a permissions error, you probably need to add yourself to the dialout group, logout and login again.
-[/expand] \ No newline at end of file
+[/expand]
+[expand title="How do I fix permission errors when trying to download from my Atomics Aquatics Cobalt under Linux?"]
+
+Sadly this is a somewhat difficult process on some versions of Linux. By default new devices are sometimes given permissions that prevent a regular user from accessing them. If you get a permission error when trying to download from a Cobalt or Cobalt 2 under Linux, please try these steps.
+
+This should work on most Linux flavors. We'd appreciate feedback if this doesn't work for you. Open a terminal window and cut and paste the following command. It may ask you to enter your password in order to allow access as super user (which is required to set up the udev rule that changes the device permissions as you plug in your Cobalt).
+
+<pre><code style="font-size: 8pt;">(MYGRP=$(id | sed "s/^.*gid=.*(\(.*\)) .*$/\1/") ; \
+echo -n 'SUBSYSTEM=="usb", ATTR{idVendor}=="0471", ATTR{idProduct}=="0888", MODE="0660", GROUP="' ; \
+echo -n $MYGRP ; echo '"') | sudo tee /etc/udev/rules.d/99-cobalt.rules </code></pre>
+
+If you disconnect and reconnect your Cobalt it should now get the correct access permissions.
+
+[/expand]