Keyboard weird letters problem


New Member

Messages: 10


I am not new to the BSD world but i had a problem recently with my keyboard(Hyperx alloy fps pro cherry-mx blue mechanical).
The keys when pressed show weird characters until i have unplugged and replugged the keyboard.
This happens only on FreeBSD-Release-12.1 which i am currently using.
It doesn't happen on arch and solaris that i use.
If anyone has a possible fix for this please help me


Well-Known Member

Reaction score: 141
Messages: 348

Is it a usb keyboard? Does this happen in the console, or in X?


Well-Known Member

Reaction score: 141
Messages: 348

You could check your dmesg.
Do you have anything keyboard related in /boot/loader.conf or /etc/rc.conf?

Early at boot, in the beastie menu, when you chose "Escape to loader prompt", does the keyboard work there properly? Just trying to narrow down the problem. ;D


Staff member

Reaction score: 9,283
Messages: 33,826

this is how i fixed it

sleep 5 && dbus_enable
sleep 5 && hald_enable
That's a syntax error. And I'm not sure where you did this but it's wrong in any case. The contents of rc.conf are NOT commands, they are variables. Nothing more, nothing less.


Son of Beastie

Reaction score: 1,613
Messages: 2,537

A: Try it with a normal keyboard. This is a very complex gaming keyboard; it can be programmed, one can download macros to it (which make the OS believe that multiple keys have been pressed when you actually just press one), and it allows changing the LED colors on all keys. It is possible that the programmability feature doesn't work well with FreeBSD. It is also possible that it has been programmed earlier when connected to a different OS, and is doing exactly what it is supposed to.

B: Have you tried it with a different OS on the same hardware? I expect so, and I expect you'll say that it works perfectly.

C: Please show us the USB-related output from dmesg, and the output from usbconfig. We might need more information from some of the usbconfig details, but don't know that yet.

D: Putting sleep statements into rc.conf is, as SirDice says, silly and counter-productive. They just slow things down, but not where you expect it.



Reaction score: 6
Messages: 47

I used once a program alike to converters/showkey. I'm not sure it was this one, for showkey is the standard tool to check on Linuxes virtual consoles, and I'm pretty sure whatever was that tool I used its name wasn't the same. Nevertheless, I just found this on Ports. Could be worth a try.

Gaming keyboards are problematic indeed.
Never tried one before, good to know. I'll stay away from them as they seem to be expensive and I fail to spot a noticeable just by looking.