Can't unlock LUKS with USB-C hub connected

Hello!

I cannot unlock my QubesOS (latest) laptop when I have my USB-C Hub connected to it, when I see the screen to type my luks password either I don’t see anything being typed into the box, or the system crashes immediately, or if I connect my hub during the unlock screen, but once I entered my password.

It’s quite annoying that I can only connect my hub, once I have unlocked my disks, and I’m at the linux user login screen already.

What can cause this issue, and do you know a fix for this, or some steps to debug this issue further?

1 Like

Do you have anything connected to the hub?
If yes then disconnect everything from it and try again.

Yes I have an ethernet cable (which I don’t use) 2 display port and 1 hdmi monitor connected to it, also a keyboard and a mouse. Now I will try with plugging them all of and see what happens, and get back to you soon.

@apparatus so after plugging out everything and just leaving the power supply cable of the hub, and the usb-c cable connecting it to my machine, it’s still happening. I can type in my password, see all the dots, but when I press enter I get a crash, and my machine just reboots. The hub still works fine, after connecting it afterwards when I see the linux user login screen, or I’m logged in already. I use a ThinkPad hub btw.

Try to boot with disable qubes autostart:
Autostart troubleshooting | Qubes OS

@apparatus Now it seams to be working the only caveat is that I don’t see the dots when I type in my password to the gui, and also my left handed mouse’s keys are reversed like this, even after booting and logging in and starting to use some cubes.

Maybe the issue that you have is this one:
Wrong PCIe devices get passed through to wrong qubes after adding new PCIe cards · Issue #7792 · QubesOS/qubes-issues · GitHub
When the dock station is connected before Qubes OS boot, it’ll have additional PCI device exposed to dom0 that will cause the PCI devices to have different BDFs. This could cause, for example, the attachment your main GPU to the sys-net instead of a PCI network controller.
And since PCI hotplug is not working in dom0:
Enable PCIe hotplug in dom0 · Issue #6620 · QubesOS/qubes-issues · GitHub
Then when you connect the dock station after you boot dom0, it won’t expose the additional PCI device and won’t mess up the BDFs.

Try to press F2:


Also try to press Esc key to see if it’ll switch to the console to check if the screen is frozen of not.

No idea what could affect it.

Thanks, I will look through these!