Acquisition server doesn't show device (Linux)

Obtaining data from various hardware devices
Post Reply
entrity
Posts: 6
Joined: Thu Feb 08, 2018 7:11 pm

Acquisition server doesn't show device (Linux)

Post by entrity »

I'm on Ubuntu 14.04, running openvibe v1.3.0, and I can't connect to my Cyton board.

When I use Windows, I can see several COM ports listed in the acquisition server's 'Device' input (under 'Driver Properties'), but on Ubuntu, I see only 'Automatic'. And if I try to proceed with 'Automatic' (using the OpenBCI driver), I get the following output:

Code: Select all

[  INF  ] Connecting to device [OpenBCI]...
[  INF  ] OpenBCI: Configured 'missing sample delay before reset' to 1000 ; this can be changed in the openvibe configuration file setting the AcquisitionDriver_OpenBCI_MissingSampleDelayBeforeReset token
[  INF  ] OpenBCI: Configured 'dropped sample count before reset' to 5 ; this can be changed in the openvibe configuration file setting the AcquisitionDriver_OpenBCI_DroppedSampleSafetyDelayBeforeReset token
[  INF  ] OpenBCI: Configured 'dropped sample safety delay before reset' to 1000 ; this can be changed in the openvibe configuration file setting the AcquisitionDriver_OpenBCI_DroppedSampleSafetyDelayBeforeReset token
[  INF  ] OpenBCI: Status - ** NO ** Daisy module option enabled, 11 channels -- 8 EEG and 3 accelerometer -- at 250Hz.
[ ERROR ] OpenBCI: Port has not been configure and driver could not open any port
[ ERROR ] Connection failed...
[  INF  ] Disconnecting.
When I run lsusb on my Ubuntu environment, though, I do see the USB device for my board. See Bus 001 Device 005 below:

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 003: ID 138a:0017 Validity Sensors, Inc. 
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub[/code

My Ubuntu environment is running in VirtualBox (within another Ubuntu environment, but the host environment is not the right version of Ubuntu).

entrity
Posts: 6
Joined: Thu Feb 08, 2018 7:11 pm

Re: Acquisition server doesn't show device (Linux)

Post by entrity »

A solution comes from the openbci.com forums: add permissions on the `/dev/ttyUSBX` file for 'other' to read-write:

Code: Select all

sudo chmod a+rw /dev/ttyUSB0
http://openbci.com/forum/index.php?p=/d ... d-not-open

Post Reply