diff --git a/README.md b/README.md index 471f681..4df335a 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,8 @@ To get the SDK you can either: (recommended one: Plugable USB 2.0 Bluetooth Adapter, http://plugable.com/products/usb-bt4le) * Mac OS X 10.10 or above (check if Bluetooth LMP Version is 0x6 from System Report) * Android 4.4.3 or above - * Ubuntu 14.04 / 15.10 64-bit (see [Ubuntu BTLE with BlueZ](doc/Ubuntu BTLE with BlueZ.md)) - * Debian 8.3 Jessie (armhf) (see [Ubuntu BTLE with BlueZ](doc/Ubuntu BTLE with BlueZ.md)) + * Ubuntu 14.04 / 15.10 64-bit (see [Connecting on Ubuntu and Debian](doc/Connecting on Ubuntu and Debian.md)) + * Debian 8.3 Jessie (armhf) (see [Connecting on Ubuntu and Debian](doc/Connecting on Ubuntu and Debian.md)) * Insight with Emotiv Universal USB Receiver currently works with the SDK under: * Windows 7 or above @@ -77,7 +77,7 @@ To get the SDK you can either: ## Connecting with BTLE * Windows: Turn on Bluetooth on both Insight and PC, then pair your Insight with Windows built-in Bluetooth service first * Mac, Android and iOS: Turn on Bluetooth on both Insight and Mac/Android device, then start Emotiv app to use (without first pairing) -* Ubuntu and Debian: See [Ubuntu BTLE with BlueZ](doc/Ubuntu BTLE with BlueZ.md) +* Ubuntu and Debian: See [Connecting on Ubuntu and Debian](doc/Connecting on Ubuntu and Debian.md) ## API Documentation The API reference can be found here: diff --git a/doc/Ubuntu BTLE with BlueZ.md b/doc/Connecting on Ubuntu and Debian.md similarity index 85% rename from doc/Ubuntu BTLE with BlueZ.md rename to doc/Connecting on Ubuntu and Debian.md index 998b035..735c895 100644 --- a/doc/Ubuntu BTLE with BlueZ.md +++ b/doc/Connecting on Ubuntu and Debian.md @@ -1,3 +1,13 @@ +## Connecting Emotiv device via USB dongle on Ubuntu 14.04/15.10 and Debian 8.3 + +### Install HID configure for Emotiv USB dongle +```shell +sudo cp etc/udev/rules.d/70-emotiv.rules /etc/udev/rules.d/` +sudo service udev restart +``` + +Then plugin the USB dongle, you should see the flashing green light and it is ready to be connected to an Emotiv headset. + ## Connecting Emotiv device via BTLE on Ubuntu 14.04/15.10 and Debian 8.3 with BlueZ library ### Install and configure lastest bluez #### Build bluez diff --git a/etc/udev/rules.d/70-emotiv.rules b/etc/udev/rules.d/70-emotiv.rules new file mode 100644 index 0000000..81bcc96 --- /dev/null +++ b/etc/udev/rules.d/70-emotiv.rules @@ -0,0 +1,8 @@ +SUBSYSTEM=="hidraw", ACTION=="add", SUBSYSTEMS=="hid", DRIVERS=="generic-usb", KERNEL=="hidraw*", GROUP="username", MODE="0666" + +SUBSYSTEM=="hidraw", ACTION=="add", SUBSYSTEMS=="usb", DRIVERS=="usbhid", GROUP="username", MODE="0666" + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1234", ATTR{idProduct}=="ed02", GROUP="username", MODE="0666" + +SUBSYSTEM=="usb", ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d6b", GROUP="username", MODE="0666" +