My laptop has three USB ports, and I’m thinking that for low-level access (ie. flashing Android device with fastboot, or Umbrel with Balena Etcher on SD card connected through USB adapter), I would like to connect one of the USB devices to development qube (rather than standard “sys-usb”), because I don’t wanna do this development directly on “sys-usb” (need more disk space, network access, etc – just doesn’t seem like the right approach, although it works).
However, when I connect one of the USB devices in qube/VM setting to “development” qube and remove that USB device from “sys-usb”, even after reboot, connecting anything to any of the USB ports still shows is in the GUI menu as “sys-usb:…”, and disappears when I shutdown “sys-usb”.
Is this possible? Or because maybe it’s all connected through the same PCI bus all USB ports/devices need to be attached to the same VM/qube?
You haven’t said how many controllers appear in the settings window,
but I am assuming that there is more than one.
You could spend some time (not much) mapping controllers to USB ports.
remove all controllers (what you call “devices”) from sys-usb
add one controller
insert usb device in to each port in turn and see if it appears in sys-usb.
repeat steps 3-7 for all the USB devices you see in the settings
I actually recommend that everyone do this, as it will help them to
understand their machine and perhaps be able to use Qubes a little
The results may surprise you:
Sometimes there are USB devices/controllers that do not appear to map to
any USB ports.
Sometimes there are USB devices/controllers that appear to map to
the same USB ports.
The first option happens when the USB controller is used for some
internal device - perhaps a camera.
The second usually happens when a USB port supports more than one mode
of USB operation.
I don’t know if this will apply to you.
From what you say, I would guess that you have found the second option -
that you have two controllers mapping to the same ports.
This can happen if the ports support both USB2 and USB3.
In answer to your question: what you describe is possible.
Also, you can attach USB devices to different qubes.
What effect this will have will depend on what USB controllers you have
and how they are mapped to USB ports. Find this out and then you will be
able to do what you want - or perhaps not be able to do what you want,
but at least you will understand why.
I never presume to speak for the Qubes team.
When I comment in the Forum or in the mailing lists I speak for myself.