I’m currently on Qubes R4.3. I disabled the autostart for sys-usb. After rebooting, I found that all USB devices are directly attached to dom0. Even after I manually start sys-usb later, the built-in SD card reader on my laptop is still attached to dom0 from the beginning, which allows me to access the SD card directly in dom0.
I checked the GRUB boot parameters and confirmed that usbcore.authorized_default=0 is indeed present. Rebuilding grub config didn’t solve the problem either. I haven’t made any special changes or custom configurations at all.
I’m not sure what else I should check. Could other R4.3 users please test whether seeing the same behavior?
Thanks for the infos. I’m not sure when this issue started occurring. I mainly want to know how Qubes OS prevents USB devices from being attached to dom0. I’d like to check where things might have gone wrong.
Did you physically move or add any PCI cards, or make major changes to the kernel command line or BIOS (enabling/disabling ACS, or an onboard Sound/BlueTooth/WiFi controller)? These are a few things that can cause PCI BDF to change for some devices.
What you’re describing sounds similar to what can happen if you’re assigning via qubes.rd.hide_pci the wrong PCI BDF.
I would double-check lspci/qvm-pci and /proc/cmdline and make sure everything looks correct.
Maybe wrong rabbit hole, but easy enough to check.
This is the output after running some diagnostic commands. Although I’ve heavily customized my i3 desktop, I don’t think I’ve touched any low-level configurations, the only exceptions are enabling smt=on and sched-gran=thread. I don’t see qubes.rd.hide_pci anywhere. Well, in the worst case, maybe I’ve been hacked.