Page 1 of 1

OpenBCI Ganglion (Brainflow) source, on Linux Ubuntu 22.04

PostPosted: Tue 27. Sep 2022, 21:07
by matteo_mazzanti
Hi,
On Linux Ubintu 22.04, Brainbay 2.7:

I am trying to connect an OpenBCI Ganglion board, BLED, using Brainflow but it fails. (failed to prepare session17)
As a test, I also tried connecting the Ganglion board, BLED, with OpenBCI-GUI (5.1.0, it uses Brainflow), and it worked.

I have attached the screenshot.
What am I doing wrong?

Thanks so much.
Matteo M.
.

Posted: Tue 27. Sep 2022, 21:07
by Advertising

Re: OpenBCI Ganglion (Brainflow) as source, on Linux Ubuntu

PostPosted: Tue 27. Sep 2022, 22:32
by matteo_mazzanti
hi,
I got it working.
I created a symbolic link for the serial port (as probably stated in the GItHub documentation) and re-evaluated the wine configuration.

Code: Select all
cd /home/[USER]/.wine/dosdevices/
ln -s /dev/[device] com1
wineserver -k

(in my case, [device] = /dev/ttyACM0)

Yoohoo!

Re: OpenBCI Ganglion (Brainflow) as source, on Linux Ubuntu

PostPosted: Wed 28. Sep 2022, 09:38
by chris
thank you Matteo, this is a very useful information!
are there any more tips you could share how to get Brainbay running under Linux using Wine ?

Re: OpenBCI Ganglion (Brainflow) as source, on Linux Ubuntu

PostPosted: Wed 28. Sep 2022, 15:54
by matteo_mazzanti
Hi Chris,
> are there any more tips you could share how to get Brainbay running under Linux using Wine ?
Sure there are, i.e. on Ubuntu 22.04 wine-stable release is not available, but wine-staging works fine (as far as I know).

Finally my job is not absorbing me completely, so I should have more time to use BrainBay now.
My idea is to use it to develop immersive experience with music and XR.
Currently I have a very basic setup and outcomes.
BB (signal acquisition, amplification, threshold -> MIDI) -> jack-studio (re-routing MIDI) -> Qsynth (sound generation)
I will improve my setup, and keep you updated.
A very promising feature I spotted in BB is OpenSoundControl interface. I will play more with it, and connect other "things".

Let's stay in touch. :D
Matteo M.