README, add udev rule
This commit is contained in:
parent
322e569711
commit
2dfbf3500d
16
README.md
16
README.md
|
@ -10,6 +10,22 @@ cd pyluxafor
|
|||
python3 setup.py install
|
||||
```
|
||||
|
||||
## Ensure that USB device gets proper permissions
|
||||
|
||||
Create UDEV rule in /etc/udev/rules.d/60-luxafor.rules with the following content
|
||||
```
|
||||
# add Luxafor LED flag
|
||||
SUBSYSTEMS=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="f372", MODE:="0666"
|
||||
```
|
||||
|
||||
Reload udev configuration files
|
||||
|
||||
```shell
|
||||
sudo udevadm control --reload && sudo udevadm trigger
|
||||
```
|
||||
|
||||
Reinsert the Luxafor LED light.
|
||||
|
||||
## Using the CLI
|
||||
|
||||
Pyluxafor provides the `luxa` command to interact with the USB led in the same way as the library
|
||||
|
|
Loading…
Reference in New Issue