daeken / Emokit

Python library for the Emotiv EPOC headset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different headset vendor_id and product_name

seclat opened this issue · comments

When getting emokit set up for the first time I noticed that the setupWin() in emotiv.py was failing to find my headset. I determined that the vendor_id and product_name attributes for my headset were different than those hardcoded into the setupWin() function. Below are the printouts for the two emotiv devices I found on my system:

[HID device (vID=0x1234, pID=0xed02, v=0x0003); Emotiv Systems Pty Ltd; Receiver Dongle L01, Path: ?\hid#vid_1234&pid_ed02&mi_00#7&6ac0ee5&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}]

[HID device (vID=0x1234, pID=0xed02, v=0x0003); Emotiv Systems Pty Ltd; Emotiv RAW DATA, Path:
?\hid#vid_1234&pid_ed02&mi_01#7&2a834ca7&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}]

...and here's the modification I had to make to setupWin() to get emotiv.Emotive() to run

filter = hid.HidDeviceFilter(vendor_id=0x1234, product_name='Emotiv RAW DATA')

I'm not sure if they've just changed these values recently (I bought it in July '10), or if mine is just different because it's the developer headset.

How did you get the printouts for the two emotiv devices on your system?