openyou / emokit

Open source driver for accessing raw data from the Emotiv EPOC EEG headset
http://www.openyou.org
Other
522 stars 236 forks source link

Not running on Mac 10.10.4, Kernel 14.4.0 #149

Closed faturita closed 8 years ago

faturita commented 9 years ago

It is not running properly on this OS, it pops "Segmentation Fault: 11" on the

 hidraw.read(34)

It seems that you need to Open the hidraw device first providing the correct VendorID and ProductID. It worked by adding that line to Emotiv.py code (line 512).

Let me know if you want me to push that.

Thanks btw, amazing work!

ghost commented 8 years ago

There was some pretty bad handling of detection and opening devices, this has been fixed in the latest pull request #154.

Though the hidapi and pyhidapi are used now.

ghost commented 8 years ago

Closing open a new issue if latest version does not fix, unless one already exists.