Comments (5)
That is because there are two interfaces in the dongle (They appear as hidraw0, hidraw1 for example). Looking to your udev rule it seems that you are interested in the first one which is called "Emotiv RAW DATA". So we can filter out all other interfaces except that. Am I wrong?
from emokit.
The udev rule is broken in multiple ways right now. It's set up for the first python libraries we had, which assumed daemons and what not to exist on the system. Even so, we should be able to do something smarter now that we're on hidapi.
from emokit.
I guess this is not 100% the same issue, but still...
Using ubuntu11 (installed all dependencies, mcrypt, cmake, hidapi w/o problems) I get two devices, but running e.g. contact I get CANNOT CONNECT: -3
(E_EMOKIT_NOT_OPENED
). I added some output within emokit_open for now. This shows up when I run contact now:
Current epoc devices conneted: 2
opening dev: 1 (device_index)
path: /dev/hidraw0 (device_cur->path)
path: /dev/hidraw1
opening dev: 0
path: /dev/hidraw0
CANNOT CONNECT: -3
BTW: everything works fine in windows, using emokit-java.
from emokit.
I have a working version of the udev rules working with epocd on my other laptop; now that epocd's been incorporated into master I'll look into integrating my changes and getting device selection working (I'm at pyconau at the moment, so it'll be a couple of days).
from emokit.
I realize that I'm perpetuating an off-topic discussion, but...
@wijjj: have you checked that you have read permissions on hidraw? I had the same problem, stepped through the debugger, and found I lacked permissions for a call to open() in the hid library. Try cat-ting on the /dev/hidraw file as a check or run with sudo... might help.
from emokit.
Related Issues (20)
- Mapping Facial Expressions to Raspberry Pi HOT 1
- compilation error
- Graphical Interface for raw data and PSD
- Looking for yet another project lead? HOT 15
- Epoc+ and horrific terms HOT 10
- Discord server invite link no longer valid HOT 1
- RuntimeError: Could not find the hidapi shared library. HOT 7
- support for 2018 epoc+ HOT 1
- Epoc+ 2017 Support HOT 4
- The Emokit code, through the years...
- A question regarding emotiv_values and emotiv_data values.
- Hacking it: Choosing the right USB port HOT 1
- Emokit: Beginner
- Battery error HOT 2
- Getting almost every quality value as None HOT 4
- Emotiv INSIGHT!!! HOT 1
- Support for Ubuntu?
- name 'emotiv' is not defined HOT 2
- recurring of reader restart and reader stopping
- Does it work with the new Epoch X? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emokit.