dhorf-hfref.4a288...@hashmail.org wrote 05.05.2020 00:16: ... > https://www.qubes-os.org/doc/usb-devices/ ... > there are some _really_ weird USB setups where it looks like different > controllers, but it is really just multiple pci devices on the same > physical controller. and usb devices plugged into the same usb port end > up on one or the other "controller" depending on speed negotiated. > my check would be to configure different usbvms for each controller, > then plug around some devices between physical ports and see in > which vm they end up, and keep notes on that.
I always thought that the column "Bus 00X" in the output of the command ``lsusb`` shows me which controller chip a certain device is connected to. For example I have an old external CHERRY keyboard which I must connect using a PS/2 to USB adaptor to my laptop because this machine from 2013 is lacking a PS/2 jack socket (which is probably even more true for more recent laptops):: Bus 001 Device 015: ID 0a81:0205 Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter A sys-usb VM which was not created by default during the install of Qubes OS 4.0.1 at that time. I added one after my initial install. I decided to put only the controllers of Bus 002 to Bus 004 into the sys-usb VM. My only reason for the decision to leave Bus 001 out was that I wanted to be able to enter the LUKS passphrase from the external keyboard during boot. This might have been a somewhat risky decision due to my lack of knowledge at that time though. After reading the document you pointed out in my citiation of your post above I used these commands:: readlink /sys/bus/usb/devices/usb1 readlink /sys/bus/usb/devices/usb2 readlink /sys/bus/usb/devices/usb3 readlink /sys/bus/usb/devices/usb4 and discovered that both Bus 003 and Bus 004 are indeed connected to the same controller which is on PCI 0000:00:14.0 in my case! Luckily the ``Bus 001`` is exclusively used for the external keyboard. Best Regards, Peter Funk -- Peter Funk ✉:Oldenburger Str.86, 27777 Ganderkesee, Germany; 📱:+49-179-640-8878 -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20200507125339.GF12647%40pfmaster-P170EM.