I have been trying for the better part of a month to be able to use a Yubikey and other USB devices. I use an Nvidia GPU and USB kb + mouse. There seems to be some issue I have no idea how to troubleshoot:
Sys-USB cannot be created at installation time, I lose display capability at end of install.
After installation creating Sys-USB and starting it results again in display not functioning.
My GPU light on Nvidia goes from solid to flashing, it is either not in use or just crashed.
Please let me know how can we use sys-usb on systems with a gpu ?
I see two controllers, I suppose motherboard has two controllers for its usb ports.
Usb 3.1 controller and USB 3.0 controller.
I have tried attaching each of them to sys-net individually and together. the result is the same. As soon as sys-net is started I lose my display entirely.
Strange thing is on a fresh qubes install I was able to attach usb device to sys-net and used the USB devices. After rebooting the same issue occurred again, monitor death on sys-net start.
I did the installation 5 times, as selecting the separate USB qube options caused a loss of display at end of installation. The only option that worked for this test install was everything on sys-net, no usb qube.
So, please if there is something I have not yet tried tell me so I may test it. Thanks.
You can check the logs in dom0 terminal with sudo journalctl and in these files: /var/log/libvirt/libxl/libxl-driver.log /var/log/xen/console/hypervisor.log*
There are multiple hypervisor.log files, find the one for the boot where you’ve tried to attach USB controller to qube.
Maybe there will be a clue of what’s happening there.
Okay this is very strange.
did fresh install with sys-net only for usb mouse/kb no sys-usb created.
Connected USB devices before booting + attached the two visible USB controller devices to sys-net in its settings.
->black screens at user login prompt.
Unplugged all USB except kb + mouse, kept sys-net setting to have two USB detected controllers/devices attached (both from motherboard)
→ Booted fine
→ Plugged in a USB devices all work fine
→ Plugged in a USB hub with several devices attached, they also all worked fine.
So it blackscreens only if USB devices OTHER THAN kb + mouse are plugged in at boot time.
I guess my questions now are:
how to I get it to boot without blackscreen
Is this way of connecting USB devices safe, are random usb connections being made to Dom0?
If purchasing a PCI card USB controller/expander, would there be a more secure way to use USB devices on this qubes system?
If you only have this hub connected to your PC without any devices connected to it then will it cause the black screen?
If you have only a single USB device (specifically USB flash drive for a test, not some power-hungry device like external HDD) connected to this hub will it cause the black screen?