Keyboard rgb light on off

I was meaning to reply but somehow forgot, sorry. What’s the output of ls -l /sys/devices/platform/alienware-wmi/?

Thanks for replying, Output:
(base) [rajsahu@shenron ~]$ ls -l /sys/devices/platform/alienware-wmi/
total 0
lrwxrwxrwx 1 root root 0 Jan 7 16:48 driver -> …/…/…/bus/platform/drivers/alienware-wmi
-rw-r–r-- 1 root root 4096 Jan 7 19:38 driver_override
drwxr-xr-x 3 root root 0 Jan 7 16:48 leds
-r–r--r-- 1 root root 4096 Jan 7 19:38 modalias
drwxr-xr-x 2 root root 0 Jan 7 19:38 power
drwxr-xr-x 2 root root 0 Jan 7 19:38 rgb_zones
lrwxrwxrwx 1 root root 0 Jan 7 16:48 subsystem -> …/…/…/bus/platform
-rw-r–r-- 1 root root 4096 Jan 7 16:48 uevent

What about ls -l /sys/devices/platform/alienware-wmi/rgb_zones/?

(base) [rajsahu@shenron ~]$ ls -l /sys/devices/platform/alienware-wmi/rgb_zones/
total 0
-rw-r–r-- 1 root root 4096 Jan 7 20:42 lighting_control_state
-rw-r–r-- 1 root root 4096 Jan 7 20:42 zone00
-rw-r–r-- 1 root root 4096 Jan 7 20:42 zone01

So I believe that’s how you can control the LEDs.

echo 0 | sudo tee "/sys/class/leds/alienware::global_brightness/brightness"

probably turns off everything.

echo 1 | sudo tee "/sys/class/leds/alienware::global_brightness/brightness"

probably turns on everything.

echo ff00aa | sudo tee "/sys/devices/platform/alienware-wmi/rgb_zones/zone00"

probably changes the color of the first zone (whatever that may be) to purple-ish (RGB 255, 0, 170).

sorry ,none of the commands are working

What do you mean? They have no effect or they print an error?

no effect AND PRINT 0,1,ff00aa RESPECTIVELY

What’s the output of

head /sys/class/leds/alienware::global_brightness/{max_,}brightness
head /sys/devices/platform/alienware-wmi/rgb_zones/*

?

And if you run echo 0 | sudo tee "/sys/class/leds/alienware::global_brightness/brightness" nothing changes? What’s the output of cat "/sys/class/leds/alienware::global_brightness/brightness" after you run the previous command?

And nothing changes? No lights turn off or something?

Nothing changes

In that case I’m unfortunately out of ideas.

Its Okay, Thanks for trying

Are the light on or off at the moment?

currently its on, but ican toggle it i have a dual boot system manjaro + windows i have to boot to windows everytime i need to toggle .

Do someone has any solutions as of now