RGB Keyboard Lighting Stops Working in Linux (Toggle Key Not Functioning)

I’m having an issue with the RGB lighting on my keyboard: it works perfectly in the BIOS setup screen and in the GRUB bootloader, but as soon as Linux starts booting, the RGB controls stop working entirely.

The keyboard itself works fine as an input device, but the RGB lighting turns off as soon as Linux loads. The dedicated RGB toggle key on the keyboard (the key that normally turns the RGB on/off) stops working as well. This only happens on Linux—when I boot into Windows, the RGB effects and the toggle key both work normally.

I’m looking for advice on how to enable or restore RGB functionality under Linux. Are there drivers, kernel modules, udev rules, or user-space tools that might fix this? And why does the lighting work before the Linux kernel loads but not afterward?

Any help would be appreciated!

What model is your keyboard?

It’s not a known brand… just a random Chinese keyboard with its own RGB toggle key. Nothing fancy, no software for it or anything.

i posted this else where but i would try it and see if it works not sure if it will or not because it was for a laptop but i believe it does regardless of hardware

ls /sys/class/leds/

# run this and see if this is the file structure

cat /sys/class/leds/"WhateverValueITShows"/brightness

# then change it with it will make it 50% or you could change it to echo 100 for 100% brightness

echo 50 | sudo tee /sys/class/leds/"WhateverValueITShows"/brightness
1 Like

thanks!