Can't connect to BLED112 on linux, but Windows works [resolved]

edited April 23 in OpenBCI_GUI

Hi,
The GUI will not connect to BLE on linux; any suggestions? It works fine on Windows. It doesn't matter when I plug the dongle in, it always fails.
Thanks!

Screen Resolution: 1920 X 1080
Operating System: Linux
Welcome to the Processing-based OpenBCI GUI!
For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
OpenBCI_GUI::Setup: GUI v5 Sample Data exists in Documents folder.
ControlP5 2.3.1 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
TopNav: Internet Connection Successful
Local Version: v5.0.4, Latest Version: v5.0.4
GUI is up to date!
OpenBCI_GUI::Control Panel: Playback history file not found.
OpenBCI_GUI::Setup: Setup is complete!
sourceList: click!
Channel count set to 4
[DEFAULT]: BLE Devices Refreshing
ControlPanel: Found BLED112 Dongle on COM port: /dev/ttyACM0
openbci_gui_helpers.GanglionError: Error in scan for ganglions:PORT_OPEN_ERROR
at openbci_gui_helpers.GUIHelper.scan_for_ganglions(GUIHelper.java:69)
at OpenBCI_GUI$BLEBox$1.run(OpenBCI_GUI.java:5260)
[DEFAULT]: BLE Devices Refreshing
ControlPanel: Found BLED112 Dongle on COM port: /dev/ttyACM0
openbci_gui_helpers.GanglionError: Error in scan for ganglions:PORT_OPEN_ERROR
at openbci_gui_helpers.GUIHelper.scan_for_ganglions(GUIHelper.java:69)
at OpenBCI_GUI$BLEBox$1.run(OpenBCI_GUI.java:5260)
[DEFAULT]: BLE Devices Refreshing
ControlPanel: Found BLED112 Dongle on COM port: /dev/ttyACM0
openbci_gui_helpers.GanglionError: Error in scan for ganglions:PORT_OPEN_ERROR
at openbci_gui_helpers.GUIHelper.scan_for_ganglions(GUIHelper.java:69)
at OpenBCI_GUI$BLEBox$1.run(OpenBCI_GUI.java:5260)

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Ken, hi.

    The log appears to show that the BLED112 dongle is found, but the com port (/dev/ttyACM0), is giving a PORT_OPEN_ERROR.

    Have you tried running the GUI as Linux 'root', using sudo ? I think another way to go is to put your username in the dialout group.

    https://openbci.com/forum/index.php?p=/discussion/597/fixing-linux-write-permission-for-dev-ttyusb0

    Regards, William

  • Thanks for your response. Adding my user to the "dialout" group worked after logging out and back in. I hadn't noticed the fix is mentioned in the main GUI page for Linux users under "serial port permissions". All is good.

Sign In or Register to comment.