From 73f5a5930db7f8a3ce0f4271c52d894dfcb34665 Mon Sep 17 00:00:00 2001 From: Steven Seifried Date: Sun, 18 Aug 2019 21:18:54 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c581606..d0c4f63 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,9 @@ make clean && make At first point add the Module ```sh make clean + sudo cp -R . /usr/src/tuxedo_keyboard-1 + sudo dkms add -m tuxedo_keyboard -v 1 ``` @@ -97,6 +99,7 @@ modprobe tuxedo_keyboard Add Module to /etc/modules ```sh sudo su + 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 sudo su + echo "options tuxedo_keyboard mode=0 color_left=0xFF0000 color_center=0x00FF00 color_right=0x0000FF" > /etc/modprobe.d/tuxedo_keyboard.conf ``` From 7258427badef22798441352da8e03448d328ea3f Mon Sep 17 00:00:00 2001 From: Steven Seifried Date: Mon, 26 Aug 2019 22:03:29 +0200 Subject: [PATCH 2/2] Update README.md to Module Version 2.0.0 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d0c4f63..1ce3c90 100644 --- a/README.md +++ b/README.md @@ -54,19 +54,19 @@ At first point add the Module ```sh make clean -sudo cp -R . /usr/src/tuxedo_keyboard-1 +sudo cp -R . /usr/src/tuxedo_keyboard-2 -sudo dkms add -m tuxedo_keyboard -v 1 +sudo dkms add -m tuxedo_keyboard -v 2 ``` The secound step is compile the module ```sh -sudo dkms build -m tuxedo_keyboard -v 1 +sudo dkms build -m tuxedo_keyboard -v 2 ``` Install the DKMS module ```sh -sudo dkms install -m tuxedo_keyboard -v 1 +sudo dkms install -m tuxedo_keyboard -v 2 ``` Load the module with modprobe @@ -78,12 +78,12 @@ modprobe tuxedo_keyboard Remove the dkms module ```sh -sudo dkms remove -m tuxedo_keyboard -v 1 --all +sudo dkms remove -m tuxedo_keyboard -v 2 --all ``` Remove the source ```sh -sudo rm -rf /usr/src/tuxedo_keyboard-1 +sudo rm -rf /usr/src/tuxedo_keyboard-2 ``` # Using