31
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

I recently upgraded my PC to a AM5 motherboard. My system runs KDE neon with full disk encryption.

I'm now facing the issue that when I want to enter my password in GRUB, each normal key press on my keyboard prints at least 5-10 letters on the screen. So if my password were "password", it would look like "ppppppaaaaaasssssssssssswwwww..." and so on. I need at least 5 attempts with very quick reflexes to only press each key only once for a split second. It's very annoying but once I make it past GRUB, everything works normally.

From what I've read so far the issue seems to have something to do with the USB port that the keyboard is plugged into and people seem to have fixed it by switching to a 2.0 port instead of a 3.0 port. My motherboard only has 3.0 and 3.2 ports though, so I was wondering if there is any way to change the "refresh rate" in GRUB, so to speak. Any help or advice would be greatly appreciated!

top 7 comments
sorted by: hot top controversial new old
[-] [email protected] 7 points 1 month ago* (last edited 1 month ago)

If your faster computer now requires you, yourself, to move faster, then relative to you, the new computer might run at the old speed, or slower. Hmm.

[-] [email protected] 6 points 1 month ago

That explains a lot of what I've been experiencing for quite some time now. Laptop's internal keyboard types fine in grub, but usb keyboards the password is wrong more often than not.

[-] [email protected] 5 points 1 month ago

Someone else said to get a usb2.0 hub. This fixes the problem.

USB is a bad standard for a lot of reasons. The hid specification across versions is one of em.

[-] [email protected] 4 points 1 month ago* (last edited 1 month ago)

I am pulling this totally out of my ass, and I might be making assumptions to aren't necessarily true or accurate. But, maybe you can run a powered USB 2.0 hub on one of those 3.0 ports. My assumption would be the chain would only be as strong as the weakest link (2.0 hub) that you might be able to get 2.0 performance on those 3.0 ports.

This would at least possibly eliminate or confirm down stepping to 2.0 as a solution

But I have not had this issue and could not tell you if it would work or not.

[-] [email protected] 4 points 1 month ago

It's definitely worth a try at least, thanks!

[-] [email protected] 3 points 1 month ago

Get a cheap USB hub? Other than fixing grub, that is.

[-] [email protected] 3 points 1 month ago

I don't think the problem is with GRUB.

There are various different ways in which USB keyboards can encode keypresses. I've seen some BIOSes that just cannot deal with some keyboards due to this. The USB keyboard driver that will be in use during GRUB should be the BIOS/UEFI driver. So I would try updating the mainboard firmware/EFI or try a different keyboard maybe? Or disable the GRUB password if that's an option.

this post was submitted on 15 May 2024
31 points (97.0% liked)

Linux

45352 readers
994 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS