Add HID configure rule file for USB dongle connection on Ubuntu/Debian

Esse commit está contido em:
Patrick Chu
2016-03-07 11:13:34 +08:00
commit 5a076f37c5
3 arquivos alterados com 21 adições e 3 exclusões
+3 -3
Ver Arquivo
@@ -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:
@@ -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
+8
Ver Arquivo
@@ -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"