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 may be NSFW.
Clik here to view.
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 may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
I went to gnome-tweaks and checked this box:
Image may be NSFW.
Clik here to view.
I also tried with and this was the result I got:
Image may be NSFW.
Clik here to view.
Then I tried to change the values in and this was the response:
Image may be NSFW.
Clik here to view.
but still nothing happened.
but still nothing happened.
The commands: and return nothing. And the command returns the following error:
Image may be NSFW.
Clik here to view.![Image]()
but the command, returned this:
Image may be NSFW.
Clik here to view.![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.
Image may be NSFW.
Clik here to view.

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
Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

I went to gnome-tweaks and checked this box:
Image may be NSFW.
Clik here to view.

I also tried with
Code:
setleds
Image may be NSFW.
Clik here to view.

Then I tried to change the values in
Code:
/sys/class/leds
Image may be NSFW.
Clik here to view.

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"
Image may be NSFW.
Clik here to view.

but the command
Code:
sudo dmesg | grep -i "AT Raw Set 2 keyboard"
Image may be NSFW.
Clik here to view.

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