GUI on Linux, 'unable to establish link to hub' with standalone -> works running from Processing IDE

edited January 2019 in OpenBCI_GUI
I cannot launch the OpenBCIGUI because it cannot find the port.

If I specify the port using OpenBCI_python master like:
sudo python OpenBCI_Python-master/user.py  --daisy --add csv_collect raw_00.csv  --record-duration 111 --safety-duration 3  --port /dev/ttyUSB0

then it works. Is there a way to specify a port when launching the GUI?

Comments

  • here is the error on OpenBCI_GUI:

    OpenBCI_GUI::Setup: Is RX mulitcast: false
    OpenBCI_GUI::Setup: Has RX joined multicast: false
    java.net.ConnectException: Connexion refusée (Connection refused)

  • wjcroftwjcroft Mount Shasta, CA
    Question: does your particular flavor of Linux create tty usb ports with a different form of /dev/xxx string, than other Linux variants? What Linux are you using? Can you try with another flavor, such as Ubuntu? Are you running the GUI and Hub as root as well?
  • I am using Ubuntu 18 lts. As far as I know /dev/ttyUSB0 is quite standard
  • The way I run the GUI is as follows:
    1. dowloaded the application.linux64.zip
    2. extracted cd application.linux64
    3. sudo ./OpenBCI_GUI
  • Whenever I click on the 'Cyton' button on the GUI I got: 'unable to establish link to hub'
  • It works. I don't know why but with the IDE it works. Thanks.
  • For Linux users not running the GUI as sudo, they may need to add their user to the 'dialout' group to allow read/write access to the COM port.
Sign In or Register to comment.