Having issues reading from the board on your Linux Distro? Here's a fix!

cfausncfausn Rochester NY
edited August 2016 in OpenBCI_GUI
I have had some problems with FTDI driver permissions for Linux Mint, and figured some of you guys may have the same problem. If you are having a problem on Linux when you start the GUI and it only opens a new file to output but never actually starts getting data, this is the fix for you! 

Here's my fix:

1) Open Terminal
2) Create a new file called "FTDIFix.sh" (or whatever you want, followed by .sh) in vim. 
vim FTDIFix.sh

3) Enter the following:

#!/bin/bash

lsusb
echo "Look for 'Future Technology Devices International' USB name"
echo "Should be something like 'ttyUSB0'"
read usb

sudo usermod -a -G dialout $USER

sudo chmod 666 /dev/$usb

4) Save and quit vim. Build the script using:
chmod -x FTDIFix.sh

5) Run the script using ./FTDIFix.sh

If you have any questions feel free to ask me!

Comments

Sign In or Register to comment.