From 5ae5aedab3b628ad04abc435ce3b06c3612d4d6c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 2 Jul 2015 12:23:31 -0700 Subject: Add FAQ item about creating a udev rule for Cobalt under Linux This should work under most Linux flavors. Signed-off-by: Dirk Hohndel --- Documentation/FAQ.wordpress | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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). + +
(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 
+ +If you disconnect and reconnect your Cobalt it should now get the correct access permissions. + +[/expand] -- cgit v1.2.3-70-g09d2