Open qdot opened 13 years ago
same here, i've received today my (research) neuroheadset. it works just by changing lines 48 and 50 in the "libepoc.h"
I also asked this here: https://github.com/daeken/Emokit/issues/6 but how do I find my vid/pid pair?
in linux (maybe unix) just type lsusb on your terminal, before and after plugging the device. i don't know how to do it under win. it should appear a new line with the vid/pid. seclat has answered you on the site. mine is developper too, but actually I work with the C driver from qdot. for the C driver you just need to change the PID/VID values on his libepoc.hhttps://github.com/qdot/emokit/blob/master/c/include/libepoc.hfile.
I hope it'll work!
2011/5/4 pconerly < reply@reply.github.com>
I also asked this here: https://github.com/daeken/Emokit/issues/6 but how do I find my vid/pid pair?
Reply to this email directly or view it on GitHub: https://github.com/qdot/emokit/issues/1#comment_1097648
lsusb is only to linux, for osx use system_profiler SPUSBDataType
Just as a side note: I have a developer headset which uses 0x1234 as the vendor id.
I have a research headset bought in sept 11 and my vid/pid's are vid = 4660, pid = 60674
As I'm on OSX I had to change not only libepoc.h as unre mentioned
const static uint32_t EPOC_VID = 0x1234; const static uint32_t EPOC_PID = 0xED02;
but to also change the "Info.plist" file in the osx kext driver
I'm now getting data sent over OSC but its all over the shop (with no sensors attached) so I suspect I also have a different encryption key - does anyone know how I can check this? is the only way to manually go and find my key by going through the steps in https://github.com/qdot/emokit/issues/4 ?
I got the same vid/pid. How do you change your "Info.plist" file?
open a terminal and change to the directory containing the file "EmotivNullDriver.kext"
change to the superuser using this command "sudo -s" change into the driver folder "cd EmotivNullDriver.kext/Contents"
Edit the Info.plist file using a text editor
I have a research kit with 1234:ed02 VID/PID too. Is it possible to not hardcode the ID's and instead find the dongles using manufacturer, product or interface name with hidapi?
That's a good idea, actually. I just started switching things to HIDAPI in other libraries too, and wasn't really aware of their ability to enumerate nicely and open-by-path until earlier this week. It's super handy. Will see about switching emokit to that ASAP.
Yes I experimented a little bit. Giving 0,0 to hid_enumerate() returns all HID devices. Then I looked for "Emotiv Systems Pty Ltd" in the manufacturer to find Emotiv dongles. It works quite well.
Just found someone today with the 0x1234/0xed02 dongle pair. Add this to the 0x21a1/0x0001 pairing.