Closed basophobic closed 8 years ago
Coming back to this, I just compiled hidapi using the testgui option. All work well when hidapi-hidraw-testgui runs. Emotiv is seen and can be connected and data come from the electrodes. So it must be something wrong I'm doing on the hemokit side.
When scanning for devices, Hemokit uses the IDs known to me at the time I wrote them:
https://github.com/nh2/hemokit/blob/b2d78925eca1ed992d9fe43ba50057065c8b8fec/src/Hemokit.hs#L380
https://github.com/nh2/hemokit/blob/b2d78925eca1ed992d9fe43ba50057065c8b8fec/src/Hemokit.hs#L322
If your vendor or device ID are different, you'll beable to use hemokit-dump
giving the device explicitly, but not the automatic detection.
This should be fixed with commit https://github.com/nh2/hemokit/commit/3ca11ae836218f0109eb5b5215c5c1033827de47
Problem solved! All works as expected! Thanks a lot!
Hello, I have installed hemokit latest version along with hidapi (@chpatrick) with no errorrs on a Linux Ubuntu 16.04 LTS system, but when I try to execute hemokit-dump (or any other programs), it results with the following error:
I have also installed separately on the same machine emokit (@qdot) and my Emotiv Epoc headset is being recognized both using the python scripts, and the executables files. The VID and PID of the headset are inserted in the rules file accordingly (in /etc/udev/rules.d), and the device is recognized under /dev/hidraw1 and 2 (lsusb command also shows the headset correctly). Any hints? I have obviously not looked everywhere, so any help would be appreciated. Thanks in advance