Moves requirements to top level to make PyCharm find it

Extends Readme for hints how to enable as non-root user

Signed-off-by: Joachim Lusiardi <joachim@lusiardi.de>
This commit is contained in:
Joachim Lusiardi 2017-02-26 10:15:23 +01:00
parent 09e67ccc69
commit 2cdbe73447
2 changed files with 6 additions and 0 deletions

View File

@ -28,4 +28,10 @@ transfer as information for colors.
The host software uses libusb (http://libusb.info/) and the pyusb (https://walac.github.io/pyusb/) module to send the neccessary control transfers. The host software uses libusb (http://libusb.info/) and the pyusb (https://walac.github.io/pyusb/) module to send the neccessary control transfers.
## allow users access to device
You can add the following line to **/lib/udev/rules.d/991-local.rules** and reload with
**udevadm control --reload-rules** to grant everyone write access to all devices from 16c0:05dc:
```
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0666"
```