Ubuntu Linux enters in never ending boot loop when USB devices are plugged in.
Whenever I have a USB Type A device (keyboard - in my case DasKeyboard) or a mouse (Corsair Dark Core RGB Pro) plugged in *before* the machine boots up, Ubuntu never reaches the login screen - it just enters a never ending boot loop. If I unplug both type A devices, it boots fine. This does not happen with the USB-C / Thunderbolt port. I can boot just fine whenever it is connected.
I went ahead and entered the bios and changed the boot order, so it boots: Ubuntu, then Linux update Firmware then NVM. I disabled any other options (including all the USB ones). Still did not work.
If I unplug the USB Type A devices, let it boot, and the connect them back, everything works fine. I have tried with a different USB keyboard and mouse, same problem. Those devices do work fine with other OSes.
System: X1 Carbon 10th Gen (Type 21CB, 21CC) Laptop (ThinkPad) - Type 21CB
❯ cat /etc/lsb-release ─╯
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
❯ uname -a ─╯
Linux perunix 5.14.0-1059-oem #67-Ubuntu SMP Mon Mar 13 14:22:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux