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

Linux

47923 readers
1429 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
[–] NeoNachtwaechter@lemmy.world 9 points 4 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.

[–] Lojcs@lemm.ee 7 points 4 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

[–] devtoi@feddit.nu 5 points 4 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?

[–] Lojcs@lemm.ee 2 points 4 months ago

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

[–] punkwalrus@lemmy.world 4 points 4 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.

[–] SnotFlickerman@lemmy.blahaj.zone 2 points 4 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.

[–] cmhe@lemmy.world 2 points 4 months ago

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

[–] belated_frog_pants@beehaw.org 2 points 4 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

[–] tutus@sh.itjust.works 1 points 4 months ago (1 children)

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

[–] Lojcs@lemm.ee 1 points 4 months ago (1 children)

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

[–] tutus@sh.itjust.works 1 points 4 months ago

Your title indicates otherwise so might be worth amending it.

[–] 0x0@programming.dev 1 points 4 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.

[–] eugenia@lemmy.ml 1 points 4 months ago (1 children)

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

[–] Lojcs@lemm.ee 2 points 4 months ago (2 children)

How would bios change how linux loads usb devices?

[–] eugenia@lemmy.ml 2 points 4 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.

[–] just_another_person@lemmy.world 2 points 4 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.

[–] drwho@beehaw.org 1 points 4 months ago

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