May 14, 201412 yr How do you passthrough thumbsticks to a windows 8.1 VM? Currently I am passing devices directly to windows using: lsusb to find the bus address and specify them in windows.cfg Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0781:5581 SanDisk Corp. Bus 002 Device 003: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse Bus 002 Device 004: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard For example, here is my mouse and keyboard usb = '1' usbdevice = ['tablet','host:413c:3016','host:413c:2005'] Thanks!
May 14, 201412 yr Myself and others have been unsuccessful in passing USB devices to a VM. We've had to add a USB PCIe card and pass that to the VM to get USB devices connected.
May 14, 201412 yr Author Myself and others have been unsuccessful in passing USB devices to a VM. We've had to add a USB PCIe card and pass that to the VM to get USB devices connected. Do you have a recommendation for a card to use? The one I tried was a PCI card which failed utterly http://lime-technology.com/forum/index.php?topic=33392.0 I have 3 PCI slots open and would prefer to utilize one of these slots I also have 1 PCIe X1, and 1 PCIe X16 (4 mode) available should a PCI card be out of the equation. Would you (and others) be so kinds as to answer in http://lime-technology.com/forum/index.php?topic=33392.0 for USB Passthrough cards that you know work. Thanks!
May 14, 201412 yr I've got one (pcie) USB 3.0 card passed through to my WHS2011 VM that appears to mostly work (ETRON based chip set but would have preferred NEC that I use on my ESXi servers). I say mostly because when backing up the System Drive it works fine and has never had a problem. But using an RSYNC like program to sync the backup directory on WHS2011 for the other Windows boxes on my network it errors out. The errors could be because it takes much longer to sync 600+GBs then it does the ~40GB on the system drive. It could be the ETRON chip set of the passed through controller card or it could be the chip set of the external enclosure or finally a problem with unRAID/Xen (least likely however). I believe I have this card http://www.newegg.com/Product/Product.aspx?Item=N82E16815124118 passed through to my WHS2011 VM on my X7SBE SuperMicro MB but will have to confirm when I get home. To trouble shoot my problems at home I already have on order two new external HDD enclosures to try out instead of the current two drive MediaSonic I've got - Thought maybe a dual drive setup might be causing problems for the etron controller and one port on card so am splitting up the drives into two enclosures first before I go and try an ASMEDIA USB 3.0 based card I've got (it only has 2 USB ports and the Etron had 4). OK I have this passed through in unRAID/Xen (like I said above): http://www.newegg.com/Product/Product.aspx?Item=N82E16815124118 I have the following 2 cards on Pass Through on 2 ESXi servers that I hope will work in unRAID/Xen for when I convert them to unRAID/Xen servers: 1) http://www.newegg.com/Product/Product.aspx?Item=N82E16815201055 2) http://www.newegg.com/Product/Product.aspx?Item=N82E16815283031
May 16, 201412 yr Author Thanks Bob! FYI - Using USB 2.0 and USB 3.0 to SATA adapters does NOT work for Optical drives in USB passthrough
May 16, 201412 yr ALL! SET USB=0! USB=1 is for EMULATING a USB device (e.g. through a VNC connection). USB=0 is what we have used in testing and had success with passing through individual devices without having to pass through the entire PCI bus. Sent from my LG-V500 using Tapatalk
May 16, 201412 yr ALL! SET USB=0! USB=1 is for EMULATING a USB device (e.g. through a VNC connection). USB=0 is what we have used in testing and had success with passing through individual devices without having to pass through the entire PCI bus. Sent from my LG-V500 using Tapatalk That's directly at odds with my experience. I need usb=1 to allow my discrete usb devices to successfully pass through to windows 8.1 vm. Setting to false means specified devices don't get passed. Peter
May 16, 201412 yr ALL! SET USB=0! USB=1 is for EMULATING a USB device (e.g. through a VNC connection). USB=0 is what we have used in testing and had success with passing through individual devices without having to pass through the entire PCI bus. Sent from my LG-V500 using Tapatalk That's directly at odds with my experience. I need usb=1 to allow my discrete usb devices to successfully pass through to windows 8.1 vm. Setting to false means specified devices don't get passed. Peter Pure luck. If you read the Xen documentation, the USB flag is actually for creating emulated USB devices, not attaching real devices. It isnt to say that you couldnt do both (pass through with usb=1), but every test we have performed on our hardware has required this to be set to 0. Setting to false just means you dont want to EMULATE a USB device, but rather, allow native pass through. This isnt opinion, it is in the documentation. Sent from my LG-V500 using Tapatalk
May 17, 201412 yr I'd also be curious to see your entire Xen config file. There may be other parameters in there like your device_model or device_model_version that are causing you to have a different experience. Sent from my LG-V500 using Tapatalk
May 17, 201412 yr I'd also be curious to see your entire Xen config file. There may be other parameters in there like your device_model or device_model_version that are causing you to have a different experience. Sent from my LG-V500 using Tapatalk Here it is. If I change to USB=0, usb passthrough fails. This has wired keyboard, wired mouse and IR receiver passed through on USB, GPU on PCIe. Windows 8.1. name = 'TV1' builder = 'hvm' vcpus = '2' memory = '3072' device_model_version="qemu-xen-traditional" disk = [ 'file:/mnt/user/domains/TV1/TV1.img,hda,w' ] vif = [ 'mac=00:16:3E:51:20:4D,bridge=xenbr0,model=e1000' ] on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' boot = 'c' acpi = '1' apic = '1' viridian = '1' xen_platform_pci='1' sdl = '0' vnc = '0' vnclisten = '0.0.0.0' vncpasswd = '' vncdisplay = 1 stdvga = '0' usb = '1' usbdevice=['host:147a:e03e','host:2222:2051','host:0603:00f2'] pci = ['05:00.0','05:00.1']
May 20, 201412 yr Author I'd also be curious to see your entire Xen config file. There may be other parameters in there like your device_model or device_model_version that are causing you to have a different experience. Sent from my LG-V500 using Tapatalk Here it is. If I change to USB=0, usb passthrough fails. I am experiencing the same issue. FYI: This works Great in 8.1 passthrough PCI * 4 USB 2.0 + 1 Internal *** Rosewill NEC 4+1 Port USB 2.0 PCI Card, Black/Silver RC-101 NEC 720101 chipset http://www.amazon.com/gp/product/B00BAU2QZQ/ref=oh_details_o00_s00_i01?ie=UTF8&psc=1
Archived
This topic is now archived and is closed to further replies.