Coder Social home page Coder Social logo

Comments (9)

mimadapa avatar mimadapa commented on July 28, 2024

My dongle has the same id's as sanedragon's, was bought in middle 2012:

Product ID: 0xed02
Vendor ID: 0x1234
Version: 0.03
Serial Number: SN20120305001583

from emokit.

lbcastro avatar lbcastro commented on July 28, 2024

Any updates on this issue? I also have those IDs, and can't get emokitd to work.
Thanks.

from emokit.

kanzure avatar kanzure commented on July 28, 2024

Have you tried the python version? As I recall, it might be a little less restrictive when trying to find the USB device.

from emokit.

lbcastro avatar lbcastro commented on July 28, 2024

I tried a Java implementation of Emokit and I believe that the problem is on the encryption, specifically on the cipher key generation.
My best bet is that since I have a recent device (also bought during mid 2012), Emotiv might have changed their encryption method. I was just trying to find someone with a device with the same IDs as mine to see if they could get Emokit working.

Thanks for the reply!

from emokit.

ozancaglayan avatar ozancaglayan commented on July 28, 2024

I have the same device showing up as Developer headset but it is a research edition. I'm developing and using my own Python library to access the device which does not rely on Vendor and Product ID's. Can you check out and run the script src/datalogger.py under Linux (after copying the udev rule and replugging the dongle):

https://github.com/ozancaglayan/EmotivBCI

We can at least understand whether the encryption is changed or not as this should be working out of the box.

from emokit.

lbcastro avatar lbcastro commented on July 28, 2024

Hey!
I didn't have much time to test your script today, but apparently it works! If this turns out to be true, you kinda saved my life.

Thanks!

from emokit.

qdot avatar qdot commented on July 28, 2024

@ozancaglayan Wow, this looks great! I know the other emokit devs have been poking at the python lib, but it looks like you're well past what we've got now. I can put a link to yours in our project readme if you'd like.

I'm also hopefully going to start fleshing out cython-hidapi a bit more if you're interested in using it, though it looks like pyusb is working fine for you.

from emokit.

ozancaglayan avatar ozancaglayan commented on July 28, 2024

@qdot Thanks. I think it is very premature for now, the API is not really intuitive, the library is bloated within some BCI experiments. Soon I will be forking that into a new python-emotiv project.

Yes I'm using pyusb for now although reading directly from /dev/* node is more easier. The udev rule creates a /dev/emotiv symlink to the hidraw device. The library supports both pyusb and raw access.

But when I first initialize reading I got a couple of lost packets that I discard but I'm not quite sure why this happens.

Anyway, you can of course put a link to your repository. Note that the library is not aiming to be cross platform.

from emokit.

 avatar commented on July 28, 2024

Python version should work as well. Closing.

from emokit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.