diff --git a/README.md b/README.md index c581606..1ce3c90 100644 --- a/README.md +++ b/README.md @@ -53,18 +53,20 @@ 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 + +sudo cp -R . /usr/src/tuxedo_keyboard-2 + +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 @@ -76,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 @@ -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 ```