Ibanez343 Posted June 14, 2020 Posted June 14, 2020 I've been trying to passthrough a USB controller to Windows XP for months and have yet to find a solution. I've tried a few PCI cards (using a PCI to PCIe adapter as seen in SpaceInvaderOne's Windows 98 VM Video) as well as a PCIe USB 2.0 card (not many on the market but they do exist). The problem I have is, every USB 2.0 controller I've tried shows up as 3 or 4 devices and gives various errors depending on how I pass them through. I will include a picture of the cards for reference. IOMMU group 19: [104c:8231] 07:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200A PCI Express-to-PCI Bridge (rev 03) [1033:0035] 08:01.0 USB controller: NEC Corporation OHCI USB Controller (rev 43) [1033:0035] 08:01.1 USB controller: NEC Corporation OHCI USB Controller (rev 43) [1033:00e0] 08:01.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04) The above example is the PCIe USB 2.0 card. It has an extra device for the PCIe to PCI conversion onboard. I don't like using the PCI adapter I have (Pictured below) because it makes the machine turn on the moment it is plugged in and starts it back up a few seconds after a shutdown. I would assume that I need to stub and passthrough the 3 bottom devices but this gives an error internal error: qemu unexpectedly closed the monitor: 2020-06-14T05:24:56.533104Z qemu-system-x86_64: -device vfio-pci,host=0000:08:01.0,id=hostdev2,bus=pci.0,addr=0x6: vfio 0000:08:01.0: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Device or resource busy I've also tried stubbing the PCIe to PCI bridge and passing it through but this gives a different error (I don't remember the exact error but I shouldn't need to do this). I've successfully used the PCIe to PCI adaptor to passthrough a dual serial port card as well as a few other PCI cards and didn't have any issues. I will continue to try different configurations to see if I can find a solution but I'm feeling pretty stuck at this point. Why do I need a dedicated USB controller for a windows XP VM? I want to use it to program old Lego Mindstorms microcontrollers using official software as well as playing old games. I want dedicated USB ports (for hot-swapping devices) as well as dedicated hardware serial ports (I had no issues passing through and installing drivers for the serial controller but haven't had a chance to test with serial devices) The PCIe to PCI adapter Some of the USB 2.0 controllers I've tried The result of watching too much Linus Tech Tips Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.