mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +00:00
Add INSTALL.md
This commit is contained in:
parent
3a19ba6163
commit
17c2064227
38
INSTALL.md
Normal file
38
INSTALL.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Installation :</br>
|
||||||
|
|
||||||
|
## Build dependencies :</br>
|
||||||
|
* git
|
||||||
|
* g++
|
||||||
|
* make
|
||||||
|
|
||||||
|
## Dependencies :</br>
|
||||||
|
* libusb
|
||||||
|
|
||||||
|
## Installation of dependencies :</br>
|
||||||
|
ArchLinux :</br>
|
||||||
|
`sudo pacman -S git gcc make libusb`</br>
|
||||||
|
Debian :</br>
|
||||||
|
`sudo apt-get install git g++ make libusb-1.0-0-dev`</br>
|
||||||
|
OpenSUSE :</br>
|
||||||
|
`zypper in git make gcc-c++ libstdc++-devel libusb-1_0-devel`</br>
|
||||||
|
CentOS :</br>
|
||||||
|
`sudo yum install git make gcc-c++ libstdc++-devel libusb-devel`</br>
|
||||||
|
|
||||||
|
## Installation :</br>
|
||||||
|
`git clone https://github.com/MatMoul/g810-led.git`</br>
|
||||||
|
`cd g810-led`</br>
|
||||||
|
`make`</br>
|
||||||
|
`sudo make install`</br>
|
||||||
|
|
||||||
|
## Update :</br>
|
||||||
|
Same as install, but your profile and reboot files are preserved.</br>
|
||||||
|
|
||||||
|
## Uninstall :</br>
|
||||||
|
`sudo make uninstall`</br>
|
||||||
|
|
||||||
|
## Boot profile :</br>
|
||||||
|
g810-led has 2 systemd units (g810-led and g810-led-reboot).</br>
|
||||||
|
These 2 units set the keyboard profile on boot and reboot.</br>
|
||||||
|
Profiles are stored in /etc/g810 :</br>
|
||||||
|
* /etc/g810/profile
|
||||||
|
* /etc/g810/reboot
|
@ -11,7 +11,10 @@ Linux LED controller for Logitech Led Keyboards.</br>
|
|||||||
- **G910 Orion Spectrum**</br>
|
- **G910 Orion Spectrum**</br>
|
||||||
|
|
||||||
##Install and use :</br>
|
##Install and use :</br>
|
||||||
- look at the wiki : https://github.com/MatMoul/g810-led/wiki</br>
|
* INSTALL.md</br>
|
||||||
|
|
||||||
|
##Help :</br>
|
||||||
|
`g810-led --help`</br>
|
||||||
|
|
||||||
##Samples :</br>
|
##Samples :</br>
|
||||||
`g810-led -p /etc/g810/profile # Load a profile`</br>
|
`g810-led -p /etc/g810/profile # Load a profile`</br>
|
||||||
|
Loading…
Reference in New Issue
Block a user