Hello guys, I am relatively new to debian and the linux world. I installed debian on my new Lenovo IdeaPad Slim 3 laptop about 1 month ago.
![Image]()
I have been ejoying it so far, except this small issue. As you saw in the title I have a problem with my built-in keyboard, whenever I press the CapsLock or the NumLock button the action is completed, the button itself works, but the led indicator does not light up. I tried to plug in an external USB keyboard and it works as it should. The laptop has a led indicator on the Escape button as well which serves as a FunctionLock indicator and it works. I also know that it not a hardware issue as all 3 led indicators (CapsLock, NumLock and FunctionLock) light up for half a second when I turn on the laptop. I have installed 3 desktop environments (KDE, Gnome and XFCE) because I wanted to try them all out and this issue is present on all of them and even on my login screen(SDMM). I like Gnome on Wayland the most and that is why i am trying to solve this issue on this environment. I have tried a lot of things and none of them have resolved the problem.
Firstly I tried checking the status of the keys with:
the results on Wayland were a bit laggy, it needed a few seconds to change the status, but on Xorg the change of the status was instant. Next I tried:
and later:
which both register the clicks of the buttons perfectly, here are some pictures:
![Image]()
![Image]()
I went to gnome-tweaks and checked this box:
![Image]()
I also tried with and this was the result I got:
![Image]()
Then I tried to change the values in and this was the response:
![Image]()
but still nothing happened.
but still nothing happened.
The commands: and return nothing. And the command returns the following error:
![Image]()
but the command, returned this:
![Image]()
If any additional information is needed please let me know. This issue is really bothering me and I could not find a working solution anywhere else.

I have been ejoying it so far, except this small issue. As you saw in the title I have a problem with my built-in keyboard, whenever I press the CapsLock or the NumLock button the action is completed, the button itself works, but the led indicator does not light up. I tried to plug in an external USB keyboard and it works as it should. The laptop has a led indicator on the Escape button as well which serves as a FunctionLock indicator and it works. I also know that it not a hardware issue as all 3 led indicators (CapsLock, NumLock and FunctionLock) light up for half a second when I turn on the laptop. I have installed 3 desktop environments (KDE, Gnome and XFCE) because I wanted to try them all out and this issue is present on all of them and even on my login screen(SDMM). I like Gnome on Wayland the most and that is why i am trying to solve this issue on this environment. I have tried a lot of things and none of them have resolved the problem.
Firstly I tried checking the status of the keys with:
Code:
xset q
Code:
sudo evtest
Code:
sudo libinput debug-events


I went to gnome-tweaks and checked this box:

I also tried with
Code:
setleds

Then I tried to change the values in
Code:
/sys/class/leds

but still nothing happened.
but still nothing happened.
The commands:
Code:
lsmod | grep keyboard
Code:
lsmod | grep atkbd
Code:
sudo modprobe "AT Raw Set 2 keyboard"

but the command
Code:
sudo dmesg | grep -i "AT Raw Set 2 keyboard"

If any additional information is needed please let me know. This issue is really bothering me and I could not find a working solution anywhere else.
Statistics: Posted by pepe_torvalds — 2024-12-20 22:13 — Replies 2 — Views 71