linux Processing / jssc.jar / kernel FTDI driver

edited August 2016 in OpenBCI_GUI
Hi guys, any help would be appreciated.  I've already followed Omphalosskeptic's tutorial and I'm running into this when trying to launch the GUI in Ubuntu 14.04 terminal...

 dan@dan-HP-Pavilion-g6-Notebook-PC:~$ cd ~/application.linux64 && sudo bash OpenBCI_GUI
[sudo] password for dan: 
Exception in thread "main" java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
at ...
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
at ...
... 18 more
dan@dan-HP-Pavilion-g6-Notebook-PC:~/application.linux64$ cd /documents
I'm sure it's probably something stupid...

Comments

  • brainbrain Canada
    edited March 2015
    Hello @Danb

    Thanks for trying out my tutorial, and I’m sorry you ran into this issue. It looks to me like  that annoying jSSC dependency is acting up again. I noticed that OpenBCI has removed the prebuilt applications from the downloads page (possibly because of the issues, like the out of date jSSC library, that were turning up). What version of the processing application do you have, and where did you get it from? I’m assuming you replaced jssc.jar in the lib folder with the updated version I linked to?

    Also, it’s probably not something stupid you’re doing, but something unclear in my tutorial (or a change with the application) that’s causing the issue. In any case, I’ll do my best to help troubleshoot the problem.

    Cheers,
    Omphalosskeptic
  • I'm using processing 2.2.1.  I did replace the jssc.jar with the updated version you linked to.  I didn't download processing initially but I just tried it and it didn't help.  I still don't know how to launch it from processing though?  I didn't know you needed to run it from processing.  I also tried swapping the jssc 2.8 and it didn't work either.  This is getting confusing...
  • brainbrain Canada
    edited March 2015
    @Danb

    I've uploaded a zipped version of the prebuilt app I've been running on my machine, with the updated jSSC library. I've tested it on another Ubuntu machine, too, and it ran and talked to my OpenBCI without any trouble. This seems like it should be the quickest route to a working version (since I only got the prepacked app running, which is no longer available for download on OpenBCI's site, not the processing sketch that's still up there).

    It should work if you download the .zip I uploaded of my working version (link expires in two days), then unzip, enter the directory, and run the OpenBCI app with this command:
    unzip ~/Downloads/application.linux64.zip && cd application.linux64_stable && sudo bash OpenBCI_GUI
    Let me know if this works!


  • It worked, thanks!
  • Also, in Ubuntu 14 you can run it straight from the GUI if you open up Nautilus and select Edit, then Preferences, then Behavior, then select Run executable files when they are opened.  By enabling this you don't have to use the terminal to run the program.  
  • @brain-

    Do you thing I could get that file again?  The link has expired and I need it once more...long story lol. 
  • wjcroftwjcroft Mount Shasta, CA
    Could it be placed on Google Drive or Dropbox, so that it does not expire in two days?
  • brainbrain Canada
    edited March 2015
    @wjcroft Good point. I have added it to on my GitHub Pages assets repo: http://omphalosskeptic.github.io/assets/misc/application.linux64.zip

    Now it won’t self destruct when people still need it :)
  • edited April 2015
    Hi 

    I am new to openbci and trying it for the first time.
    I used the tutorial and got to the "select LIVE from OpenBci" section. 
    I selected port "/dev/ttyUSB0"" hit start system, then the screen froze, I am suspecting the ftdi drivers and tried to install them again and again.

    Please help

    Regards
    Eitan
  • wjcroftwjcroft Mount Shasta, CA
    Hi @Eitan ,

    I merged your question into this previous Linux thread. See some of the previous suggestions. Also checkout this related Linux thread,

    http://openbci.com/forum/index.php?p=/discussion/224/openbci-gui-linux64-needs-jssc-jar-update

    William

  • Hi, I have had some problems with the OpenBCI_GUI software on a linux system (Ubuntu 14.04 64bits), and after some searches I don't know how to fix them.

    First of all, I can't install the drivers needed to connect with the USB according those guides:

    https://github.com/OpenBCI/OpenBCI_Processing
    http://www.autodidacts.io/getting-started-with-openbci-a-tutorial-on-testing-troubleshooting-and-recording-ekg/#gettingtheopenbcisoftwareworkingonlinux

    The error is related with some files that are created after compile the kernel, that can be obtained from a gzip file in the linux source root, but I am working in a University computer and, although I have administrator privilegies, I don't want to risk to touch anything related with the kernel. Without the drivers, the software recognize the USB (ttyUSB0) but it crash after execute the live mode.

    I am running the Processing aplication from the source code of the git.


  • wjcroftwjcroft Mount Shasta, CA
    @arphunix , hi.

    I merged your question into this existing thread, so linux users can share expertise. Did you try using the zip that @brain created? My impression is that the correct FTDI driver is already installed in Ubuntu. So if you have installed a driver file from the FTDI site, you may need to roll that back. The dates shown on the FTDI site are from 2009 for Linux, so that looks ancient.

    You also mention compiling the kernel, can you just use the stock Ubuntu? I think @brain may have some comments as well.

    Thanks, William
  • edited May 2015
    Ok, I'll try to run it the next Monday at the university with the @brain zip.

    I mentioned compiling the kernel because of this thread:


    But I think the linux64.zip will be enough to run it

    Thanks
Sign In or Register to comment.