mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
commit
d65e76e84c
16
README.md
16
README.md
|
@ -53,18 +53,20 @@ make clean && make
|
||||||
At first point add the Module
|
At first point add the Module
|
||||||
```sh
|
```sh
|
||||||
make clean
|
make clean
|
||||||
sudo cp -R . /usr/src/tuxedo_keyboard-1
|
|
||||||
sudo dkms add -m tuxedo_keyboard -v 1
|
sudo cp -R . /usr/src/tuxedo_keyboard-2
|
||||||
|
|
||||||
|
sudo dkms add -m tuxedo_keyboard -v 2
|
||||||
```
|
```
|
||||||
|
|
||||||
The secound step is compile the module
|
The secound step is compile the module
|
||||||
```sh
|
```sh
|
||||||
sudo dkms build -m tuxedo_keyboard -v 1
|
sudo dkms build -m tuxedo_keyboard -v 2
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the DKMS module
|
Install the DKMS module
|
||||||
```sh
|
```sh
|
||||||
sudo dkms install -m tuxedo_keyboard -v 1
|
sudo dkms install -m tuxedo_keyboard -v 2
|
||||||
```
|
```
|
||||||
|
|
||||||
Load the module with modprobe
|
Load the module with modprobe
|
||||||
|
@ -76,12 +78,12 @@ modprobe tuxedo_keyboard
|
||||||
|
|
||||||
Remove the dkms module
|
Remove the dkms module
|
||||||
```sh
|
```sh
|
||||||
sudo dkms remove -m tuxedo_keyboard -v 1 --all
|
sudo dkms remove -m tuxedo_keyboard -v 2 --all
|
||||||
```
|
```
|
||||||
|
|
||||||
Remove the source
|
Remove the source
|
||||||
```sh
|
```sh
|
||||||
sudo rm -rf /usr/src/tuxedo_keyboard-1
|
sudo rm -rf /usr/src/tuxedo_keyboard-2
|
||||||
```
|
```
|
||||||
|
|
||||||
# Using <a name="using"></a>
|
# Using <a name="using"></a>
|
||||||
|
@ -97,6 +99,7 @@ modprobe tuxedo_keyboard
|
||||||
Add Module to /etc/modules
|
Add Module to /etc/modules
|
||||||
```sh
|
```sh
|
||||||
sudo su
|
sudo su
|
||||||
|
|
||||||
echo tuxedo_keyboard >> /etc/modules
|
echo tuxedo_keyboard >> /etc/modules
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -114,6 +117,7 @@ Note that we write its' settings to a `.conf` file under `/etc/modprobe.d` named
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo su
|
sudo su
|
||||||
|
|
||||||
echo "options tuxedo_keyboard mode=0 color_left=0xFF0000 color_center=0x00FF00 color_right=0x0000FF" > /etc/modprobe.d/tuxedo_keyboard.conf
|
echo "options tuxedo_keyboard mode=0 color_left=0xFF0000 color_center=0x00FF00 color_right=0x0000FF" > /etc/modprobe.d/tuxedo_keyboard.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue