Hello friends! I wanted to tell these for a contribute but there’s a lack of something that I dont know, here is how I install and what did I do:
I convert this guide for arch based and all I need to do change sudo update-initramfs -uk all
*** code with sudo mkinitcpio -P
and it worked perfectly. But still I wanted to write everything
First I download this after that I write 'sudo dmidecode` and output is
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: MONSTER
Product Name: ABRA A5 V12.1
Version: Not Applicable
Serial Number: Not Applicable
UUID: 535bfa80-9df5-0000-0000-000000000000
Wake-up Type: Power Switch
SKU Number: Not Applicable
Family: Not Applicable
after that I configure module/clevo-xsm-wmi.c
Line 1414 as
static struct dmi_system_id clevo_xsm_dmi_table[] __initdata = {
{
.ident = "MONSTER ABRA A5 V12.1",
.matches = {
DMI_MATCH(DMI_PRODUCT_NAME, "ABRA A5 V12.1"),
},
.callback = clevo_xsm_dmi_matched,
.driver_data = &kb_full_color_with_extra_ops,
}
after that steps are:
cd module
make
sudo insmod clevo-xsm-wmi.ko
then Fn shortcuts worked
(I wanted to try sudo nano /sys/devices/platform/clevo_xsm_wmi/kb_color
with hex codes for custom keybord color but my keyboard’s blue color is broken so I couldn’t feedback you friends about it)
After steps are:
make && sudo make install
sudo install -m644 clevo-xsm-wmi.ko /lib/modules/$(uname -r)/extra
sudo depmod
sudo tee /etc/modules-load.d/clevo-xsm-wmi.conf <<< clevo-xsm-wmi
sudo mkinitcpio -P
***
sudo tee /etc/modprobe.d/clevo-xsm-wmi.conf <<< 'options clevo-xsm-wmi kb_color=red,red,red kb_brightness=4'
and everything working after reboot too. BUT after some updates when I do sudo pacman -Syu
my keyboard returning back default and Fn shortcuts doesn’t working and I must to reinstall clevo module again and again. How can I do this permanent for my computer?