Keyboard key not working

For some reason one of the keys on my keyboard stoped working. At first I thought it was a hardware issue but after switching keyboards it was still happening. I tried swiching keyboard layouts, seeing if it was a driver issue and even running an anti virus out of desperation, but nothing would work. Even if there isn’t a solution to this problem I still would like to know why this is happening.(The key that stoped working was the right arrow key)

What did you do just before this happened ?
:footprints:

Not much to work with, but does the right arrow key work outside the OS (BIOS, a live OS)?

I was in the settings menu trying to figure out what layout my keyboard was. but apart from that I didn’t change any settings related to the keyboard.

It doesn’t work at all. Like as if Manjaro hated my keyboard

Try to debug it.

List all devices:

sudo libinput list-devices    

Search for the correct Device: and use the path at Kernel: like in this example:

sudo libinput debug-events /dev/input/event3 

Now press the button and see if anything is output.

1 Like

The other arrow keys worked and were outputting a signal but the right arrow key was not outputing anything. The thing is, I have a full size keyboard layout and the num pad has arrow keys on it(they’re hard to reach tho) and the right arrow key on the num pad was outputing a signal when I tested it.

The thing is: If libinput does not output anything, i.e. does not give any feedback, then external hardware damage is likely. A driver problem would really be very unlikely.

1 Like

Thats what I thought which is why I switched keyboards to see if that was the problem but that did nothing the same key on the keyboard was not working.

Yes, I have already understood that. You have 2 keyboards that share a problem. If the keyboard does not have any special functions that would deactivate this key, I assume that both have hardware damage. libinput is virtually at driver level. It cannot be due to Linux. The assumption is that you have mishandled your right arrow key on both keyboards. :innocent: :thinking:

I just found it weird that on both keyboards the same key stopped working

Life always presents you with the most exciting challenges. Try them on another computer/laptop/smartphone to test them.

1 Like

thanks for your help.

Welcome!

Is your keyboard connected to a USB hub, USB extension cable, or is it plugged directly into the computer’s USB port?

This is likely a hardware issue

is a navigational key - moving the focus point left and right.

I has a lot of use - e.g. editing text…

A keyboard is a switch which upon activation is ending an electrical pulse which is interpreted as a number.

The number is then translated into a specific character based on the keyboard map configured for the operating system.

Since you switched keyboard and the issue apparently persists - somewhere along the transmission line the number is reset to :man_shrugging: perhaps 0 (zero) or null and in the end discarded by the OS?

Most keyboards is connected using USB - if that is the case - so one could experiment by using a different USB port - but it is really not easy to suggest a solution.

Does the key work inside the UEFI/BIOS firmware environment before booting?

1 Like

My keyboard is directly connected to my computer

1 Like

I Just tested it and the key does regester in the BIOS

Now I’m confused why does the key regester in the BIOS but not the OS?

That would confuse me too. Can you tell us what kind of keyboard it is? Are they both the same model? I wonder if a quirk rule on the keyboard might be necessary.

lsusb -vt

In any case, this is very strange and very unusual.