this post was submitted on 28 Jun 2024
30 points (96.9% liked)

Linux

47283 readers
751 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
 

Without other usb devices the keyboard works immediately. With them it takes 5 ish seconds for it to start responding. This is regardless of which device is discovered first (which I can manipulate), it seems to just wait for all of them. Is there a way to make it not do that?

Edit: This is specifically about linux boot. It otherwise works fine in bios / bootloader

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 2 months ago (1 children)

Hint: try another USB port.

USB is like a network, and it could be a jungle of cables and ports and switches and bridges and whatnot. But the closer you get to the mainboard, the better are your chances to escape such a problem.

[–] [email protected] 7 points 2 months ago

This worked. Apparently I had all the usb devices connected to the same controller and it seems linux initialises them controller by controller. Thanks

[–] [email protected] 5 points 2 months ago (1 children)

I had an issue where one keyboard (worked with another one) worked in bootloader, but not when entering the encryption password after that. I believe I solved that by moving keyboard earlier in the module list in mkinitcpio.conf. Maybe something similar would solve your issue?

[–] [email protected] 2 points 2 months ago

I did try messing with the hook order but it's already as early as it can be.

[–] [email protected] 4 points 2 months ago (1 children)

I had a motherboard like this: the USB ports didn't work until it booted into an OS. You had to connect a PS2 to make changes in the BIOS, and could only boot from IDE. It was super-annoying.

[–] [email protected] 2 points 2 months ago

Yep if the MB has a PS/2 slot this is the solution.

You can also get a usb to PS/2 converter so you don't need an extra keyboard.

[–] [email protected] 2 points 2 months ago

Check if you find anything about this in the kernel log (dmesg).

[–] [email protected] 2 points 2 months ago

Are you using the usb ports on the motherboard itself? Because you need to with a lot of MBs depending on when they initialize other USB

[–] [email protected] 1 points 2 months ago (1 children)

I believe this is a hardware issue. Have you checked the USB options in the BIOS?

[–] [email protected] 1 points 2 months ago (1 children)

It works fine in bios and bootloader. This only happens during boot

[–] [email protected] 1 points 2 months ago

Your title indicates otherwise so might be worth amending it.

[–] [email protected] 1 points 2 months ago

I've had this happen before on some weird systems. Unplugging and replugging the keyboard woke the keyboard back up.

[–] [email protected] 1 points 2 months ago (1 children)

Was there no option about it on the BIOS/UEFI about something like that?

[–] [email protected] 2 points 2 months ago (2 children)

How would bios change how linux loads usb devices?

[–] [email protected] 2 points 2 months ago

You never know how the kernel would behave compared to how the BIOS is setup. There might be some bios settings that force the kernel to behave a specific way.

[–] [email protected] 2 points 2 months ago

There are lots of BIOS options that impact USB devices, and especially input devices. I'd start digging. If anything, I'd try plugging into the USB ports that are connected to the main bridge at the top of the board, and not any that are extended via passthrough cable. On some boards, those USB ports are set to emulate PS2 serial.

[–] 0x0 1 points 2 months ago

...on which hardware?

Last i encountered this issue i had to connect it directly to an USB port, instead of through an USB hub.