Maddeen Posted July 11, 2020 Posted July 11, 2020 (edited) Hi there, I need your help for my Win10 Gaming VM. The set up works fine including passthroughing the RTX2060 Super. But now I struggle to get my keyboard/mouse up and running. Maybe the solution is quiet simple - but I seem to be thick. First I need to describe my environment, so that you can understand my goal / challenge unRaid server is located in the basement. Running a Windows10 gaming VM with passthrough GPU (RTX 2060 Super) and passthrough NVME drive. MacMini with my LG display (UWQHD) is located in the living room. LG display got two inputs - so my MacMini and the WindowsVM (or the RTX2060s) are always connected and I just need to change the input channel. 15m HDMI cable connection form unRaid to my LG display Note: Parsec or any other gaming stream solution is prohibited due to a max. resolution of 1080p based on my current hardware. Anything above (and I need a 3440x1440) can't be handled without spending amounts of money for new hardware --> nope! 15m USB 3.0 cable connection from unRaid to my little side table (place of my MacMini and all peripherals like keyboard, mouse, headphones) At the end of the 15m USB is an active USB3.0 Hub, to make sure, that all attached peripherals got enough power Goal to achieve: Only using one keyboard, one mouse and one headset for controlling/sound the MacMini and the Windows10 VM Previous knowledge: First try: If I connect the USB3 Hub to the 15m cable - and then go to the vm-configuration - I'm possible to set the checkboxes to my keyboard, mouse and headphones. BUT - as soon as i shut down my vm and reconnect them to my MacMini, I'm not able to start the vm again, with the activated checkboxes/devices. A PCI-Error PopUp appears immediately - maybe because the pci address changing due to the disconnect and reconnect. Second try: My next idea was, that i passthrough the ASMedia USB controller from my mainboard. Luckily I got two internal usb controllers. The one from my Intel Z170 chipset (with the unraid usb dongle) and another from ASMedia - so that seems to be a solution. But when I connect the USB-Hub to the USB cable (connected to the ASMedia USB-Port) my Win10 VM wont show any new devices. No keyboard, no mouse - nothing. And thats it -- I dont have a clue how I can solve that problem. I dont want to buy a second keyboard, mouse and headset to be able to game with my vm - and I dont want to repair the vm-xml everytime (if this maybe a solution for my first try described above) Hopefully there is any comfortable solution for this. Thanks for any hints and tricks. Have a nice weekend. Edited July 12, 2020 by Maddeen Quote
Vr2Io Posted July 11, 2020 Posted July 11, 2020 Are you sure 15m USB, this distance really work well. Quote
Maddeen Posted July 11, 2020 Author Posted July 11, 2020 I was wondering before buying it, but yes - it works stable. But you must use an active USB3 Hub at the end, to make sure that there is another power. I used it for hours playing via my VM (as described above) no problems. Just looking for the best/comfortable way for dis/re-connecting my three devices. For now I delete my VM and build a new one everytime - that's not smart Quote
Vr2Io Posted July 11, 2020 Posted July 11, 2020 (edited) 22 minutes ago, Maddeen said: I was wondering before buying it, but yes - it works stable. But you must use an active USB3 Hub at the end, to make sure that there is another power. I used it for hours playing via my VM (as described above) no problems. Just looking for the best/comfortable way for dis/re-connecting my three devices. For now I delete my VM and build a new one everytime - that's not smart Note that. Does you passthrough USB controller thr vfio-pci method ? 2 hours ago, Maddeen said: But when I connect the USB-Hub to the USB cable (connected to the ASMedia USB-Port) my Win10 VM wont show any new devices. No keyboard, no mouse - nothing. Then what means of "I used it for hours playing via my VM (as described above) no problems." but now not work Win10 VM. Seems problem are when VM restart or device were hotplug. BTW could you try does same problem happen without long-distance cable first. Edited July 11, 2020 by Benson 1 Quote
Maddeen Posted July 12, 2020 Author Posted July 12, 2020 Ok - i think i found the problem. The USB3 ports (HS05-06/SS05-06 - see image below) seems not to passthrough correctly. First I attached a usb thumb drive at the USB3 port directly - nothing Next I attached the same usb drive at the USB2 port - immediately recognized by the VM Next I attached the same usb drive at the end of my 15m cable - immediately recognized by the VM So my main problem is solved - everything works now exactly as I want. Thanks for this tip. But now I have another challenge because I don't understand, why the USB2 port is working but the USB3 is not. The USB3 port is definitely working - as you can see the connected USB thumb drive (Alcor Micro Corp. Flash Drive (058f:6387)) Do you have any idea? Please find attached the vfio bindings, the vm-configuration and a screenshot from the manual ASMedia USB Controller ports are: HSxx (USB Type B) --> This port working fine for passthrough HSxx (USB Type C) --> cant be checked because I got no Type-C device HS05 / SS05 --> This port not working - whether directly (USB drive direct connected to port) nor via the long usb cable and active USB-hub HS06 / SS06 --> This port not working - whether directly (USB drive direct connected to port) nor via the long usb cable and active USB-hub Quote
Vr2Io Posted July 12, 2020 Posted July 12, 2020 (edited) You have two USB controller, only ASMEDIA was passthrough by VFIO-PCI That means only typc-c and the upper port ( RED one ) are come from ASMEDIA. Other 14 ports are come from Chipset. As you haven't passthrough Chipset USB controller, in fact you can't because Unraid boot USB also attach. So, below is normal HS05 / SS05 --> This port not working - whether directly (USB drive direct connected to port) nor via the long usb cable and active USB-hub HS06 / SS06 --> This port not working - whether directly (USB drive direct connected to port) nor via the long usb cable and active USB-hub And that's why HSxx (USB Type B) --> This port working fine for passthrough HSxx (USB Type C) --> cant be checked because I got no Type-C device Edited July 12, 2020 by Benson Quote
Maddeen Posted July 12, 2020 Author Posted July 12, 2020 Where do you got those information? Sure that you got the ASUS HERO VIII ? My manual got a complete different information. As you can see below in the screenshot it says Quote ASMedia® USB 3.0 controller - supports ASUS USB 3.1 Boost: - 2 x USB 3.0 ports (at back panel [blue]) ASMedia® USB 3.1 controller - supports ASUS USB 3.1 Boost: - 2 x USB 3.0 ports (1 Type-A [red] and 1 Type-C at back panel [black]) And if you compare it to my back panel screen here - those four usb-ports should be ASMedia Quote
Vr2Io Posted July 12, 2020 Posted July 12, 2020 (edited) https://www.asus.com/Motherboards/MAXIMUS-VIII-HERO/specifications/ And ASM1142 are 2 ports only. Edited July 12, 2020 by Benson Quote
Maddeen Posted July 12, 2020 Author Posted July 12, 2020 ohhh man... i checked the german and french manuals as well. All saying, that ASMedia provides 4 ports. Only the specs you linked saying different things... Is there any chance to validate it?? Maybe through the connected usb thumb drive? Any cli-commands where i can see, over which controller the usb thumb drive is running? Quote
Vr2Io Posted July 12, 2020 Posted July 12, 2020 (edited) 3 minutes ago, Maddeen said: Maybe through the connected usb thumb drive? Yes, remove USB controller passthrough and verify again. Pls note, as mention ASM1142 are 2 ports only. Edited July 12, 2020 by Benson Quote
Maddeen Posted July 12, 2020 Author Posted July 12, 2020 ha.. found it -- right in front of my eyes 🙈 Thanks for your help @Benson - CLOSED 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.