OpenBCI Ganglion (Brainflow) source, on Linux Ubuntu 22.04




here you can ask questions reagarding BrainBay

Moderator: chris

OpenBCI Ganglion (Brainflow) source, on Linux Ubuntu 22.04

Postby matteo_mazzanti » Tue 27. Sep 2022, 21:07

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.
.
Attachments
Screenshot from 2022-09-27 22-04-30.png
Screenshot from 2022-09-27 22-04-30.png (312.03 KiB) Viewed 97 times
Screenshot from 2022-09-27 21-55-54.png
Screenshot from 2022-09-27 21-55-54.png (226.84 KiB) Viewed 97 times
Last edited by matteo_mazzanti on Wed 28. Sep 2022, 15:55, edited 1 time in total.
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

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

Advertising
 

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

Postby matteo_mazzanti » Tue 27. Sep 2022, 22:32

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!
Attachments
Screenshot from 2022-09-27 23-31-47.png
Screenshot from 2022-09-27 23-31-47.png (101.55 KiB) Viewed 94 times
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

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

Postby chris » Wed 28. Sep 2022, 09:38

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 ?
chris
Administrator
 
Posts: 12
Joined: Fri 18. Feb 2022, 13:50

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

Postby matteo_mazzanti » Wed 28. Sep 2022, 15:54

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.
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden


TAGS

Return to BrainBay General Questions

Who is online

No registered users

cron