Clevo Keyboard Backlight Control for Linux


Guide to enable and set RGB keyboard colour for any Clevo laptop with any GNU/Linux distro! Finally.

There is no doubt, that not having control over your keyboard backlight is quite frustrating. The blue keyboard light is simply quite annoying. Even if you did not purchase your laptop at NovaCustom, you can still use this guide to get your backlight working, in contrast to other vendors, such as System76. By the way, this guide should work for any new Clevo based brand, such as Sager, Schenker, XMG, Bestware, BTO, XNB and so on.

But I have already tried tuxedo’s clevo-xsm-wmi application and it didn’t work.

– If you follow this guide exactly, the keyboard illumination software will work. Read it with attention! 😉

Awesome! Tell me what to do 🙂

Okay, here we go. I found this link after hours of searching, and it did almost work for me. I have changed the instructions a bit so that anyone should be able to install this software.


Please be sure that you have updated your system entirely.


Changing the identity might be required in order to use the clevo-xsm-wmi application.

Set default colour

Set default brightness

Download the clevo-xsm-wmi repository from TUXEDO Computers (thank you guys).

To the repository

Once the repository finished downloading, extract the package, rename the package to ‘rgbcontrol‘ (without quotes) and go into the folder rgbcontrol/module. There is a file listed here, it’s called ‘clevo-xsm-wmi.c‘. Open it with a text editor and find;

– Your laptop model. If you don’t know your laptop model, open a Terminal window (CTRL+ALT+T) and execute:

sudo dmidecode | grep "Product Name"

Scroll all the way up and your laptop model (product name) is mentioned there.

Is your laptop model not in the list? Then replace one by your laptop model! Replace:

– ‘Clevo P95_HP’, if you have RGB keyboard only without bar light at the front of the laptop.
– ‘Clevo P870DM’, if you have RGB keyboard with bar light at the front of the laptop.

, by your laptop model product name.

Open a Terminal window again (CTRL+ALT+T), execute the following code.

cd Downloads
cd rgbcontrol
cd module
sudo apt install gcc make
make && sudo make install

Ignore the errors

sudo insmod clevo-xsm-wmi.ko 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 update-initramfs -uk all

The clevo-xsm-wmi application is installed now. Let's set a default colour! This default color is set on startup. You can choose 'white white white', for example. Other colors you can set: green, red, blue, yellow, magenta, cyan. You can also set the keyboard brightness. Just select your preference on the left side of this page and copy-paste the code below!

sudo tee /etc/modprobe.d/clevo-xsm-wmi.conf <<< 'options clevo-xsm-wmi kb_color=white,white,white, kb_brightness=1'

That’s it!

Are you tired of your old laptop?