How to change keyboard backlight color

Though I did get the keyboard backlights to work by ACPI kernel parameters as Harenbrs suggested, I was no longer able to “resume from suspend” without a hard reboot.

I compiled and installed the “tuxedo-keyboard” kernel module:

git clone https://github.com/tuxedocomputers/tuxedo-keyboard
cd tuxedo-keyboard
make && sudo make dkmsinstall
sudo modprobe tuxedo_keyboard

I was then able to control the keyboard LEDs via the Fn key combos,
and was also able to control it with plain text!

while true; do for c in 0x{FF0000,FFFFFF,0000FF}; do
	echo $c | sudo tee /sys/devices/platform/tuxedo_keyboard/color* >/dev/null; sleep 0.2;
done; done
1 Like