mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Add files via upload
This commit is contained in:
parent
213ac1d095
commit
06f321e988
25
kb.sh
Normal file
25
kb.sh
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/bash
|
||||||
|
apt install -y git dkms build-essential linux-headers-$(uname -r)
|
||||||
|
rm -rf ~/tuxedo-keyboard
|
||||||
|
rmmod clevo_acpi
|
||||||
|
rmmod clevo_wmi
|
||||||
|
rmmod tuxedo_io
|
||||||
|
rmmod tuxedo_keyboard
|
||||||
|
sudo pacman -S base-devel
|
||||||
|
sudo pacman -S dkms
|
||||||
|
pamac install $(pamac list --quiet --installed | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')
|
||||||
|
dnf -y group install "C Development Tools and Libraries"
|
||||||
|
dnf -y group install "Development Tools"
|
||||||
|
dnf -y install git
|
||||||
|
dnf -y install dkms
|
||||||
|
dnf -y install kernel-headers
|
||||||
|
dnf -y install kernel-devel
|
||||||
|
git clone https://github.com/wessel-novacustom/clevo-keyboard
|
||||||
|
cd tuxedo-keyboard/
|
||||||
|
make clean
|
||||||
|
sudo make dkmsinstall
|
||||||
|
echo tuxedo_keyboard >> /etc/modules
|
||||||
|
modprobe tuxedo_keyboard
|
||||||
|
echo "options tuxedo_keyboard color=WHITE" > /etc/modprobe.d/tuxedo_keyboard.conf
|
||||||
|
rm -rf ~/tuxedo-keyboard
|
||||||
|
exit 0
|
Loading…
Reference in a new issue