|
a |
|
b/linux/epoc.rules |
|
|
1 |
#UDEV rule for the Emotiv EPOC headset |
|
|
2 |
# |
|
|
3 |
#Once installed into /etc/udev/rules.d, udev will recognize the headset and |
|
|
4 |
#create a /dev/eeg/encrypted device where you can access the headset encryted |
|
|
5 |
#stream. |
|
|
6 |
# |
|
|
7 |
#It will as well attempt to start a daemon in charge of decrypting the stream. |
|
|
8 |
#If the daemon successfully starts, you will find the data under /dev/eeg/raw |
|
|
9 |
|
|
|
10 |
ATTR{manufacturer}=="Emotiv Systems Pty Ltd", ATTRS{product}=="Receiver Dongle L01", NAME="eeg/epoc%2", SYMLINK+="epoc%n" |
|
|
11 |
|
|
|
12 |
#Consumer headset |
|
|
13 |
#SUBSYSTEM=="hidraw", ATTRS{idVendor}=="21a1", ATTRS{idProduct}=="0001", ATTRS{interface}=="Emotiv RAW DATA", NAME="eeg/encrypted%n", SYMLINK+="eeg/encrypted", MODE="0444", RUN +="decrypt_emotiv.sh consumer" |
|
|
14 |
|
|
|
15 |
#Research headset |
|
|
16 |
SUBSYSTEM=="hidraw", ATTRS{interface}=="Emotiv RAW DATA", NAME="eeg/encrypted%n", SYMLINK+="eeg/encrypted", MODE="0444", RUN +="decrypt_emotiv.sh research" |
|
|
17 |
|