I have HP Pavilion Ryzen 5 Hexa Core 5600H 15-ec2004AX
I am using ubuntu and I want to control the Keyboard Backlight from terminal.
I know that in my laptop I cannot control its color but I would like to just be able to turn the keyboard backlight on or off from terminal.
I have already tried everything on the internet about backlights.
What I have tried so far:
1.) xset led on / xset led 3 / .... (all possibilities available on internet)
2.) xmodmap -e 'add mod3 = Scroll_Lock'
3.) xdotool key XF86KbdBrightnessUp(/Down) (I even tried every possible combination of scan codes, 1-256 after which they reapeat, with xdotool, XD obviously using script [and manually too.. ´༎ຶ ͜ʖ ༎ຶ `, I was desperate :') ] )
4.) Changing /sys/class/leds/input3::scrolllock/brightness (and in my system no folder related like kbd_backlight/brightness, searched my entire laptop)
5.) Every other software that people claimed can control backlight (brightnessctl, xrandr, ...)
6.) Tried to change it through xinput but there is just no class/device related to my keyboard backlight
7.) I also Tried using dbus method but I was getting this error: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight
And I have added myself as a member of the video group. so that is no issue.
I can toggle between 0, half, full brightness using fn+f5 that is no issue
and that is why it is interesting that even though I can control it from the keyboard but there is just no scan code for this key. I got scan codes for controlling brightness, volume, everything but not for this :/
When I use xdotool key XF86KbdBrightnessUp(/Down) I get that ubuntu logo on screen with that backlit logo with rays popping out of it but no effect on the keyboard light condition.
I just want to control it using terminal (so that I can use it as a gesture using touchpad XD)
Seems like ubuntu has no control whatsoever on my keyboard backlight :' )
Any further ideas are welcome.
Just Pls help me get this working ´༎ຶ ͜ʖ ༎ຶ `