daeken / daeken/Emokit

Different headset vendor_id and product_name

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
172
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.