planetwilson Posted September 7, 2020 Share Posted September 7, 2020 I have a Windows 10 VM and a Gigabyte THunderbolt 3 AIC working fine with an LG 5K ultrafine monitor. When I start up I can pass all the USB devices it finds including those plugged into the LG monitor. Everything works swimmingly until I either reboot the VM or I unplug the TB3 cable. Plugging it back in or waiting for the VM to come up again leads to no USB devices being available. They don't show in the system devices list any more so I can't choose them in the hot plug/unplug plugin. My log looks like this when it happens:- Sep 7 19:46:37 PWNAS kernel: xhci_hcd 0000:40:00.0: xHCI host controller not responding, assume dead Sep 7 19:46:37 PWNAS kernel: xhci_hcd 0000:40:00.0: HC died; cleaning up Sep 7 19:46:37 PWNAS kernel: usb 7-1: USB disconnect, device number 2 Sep 7 19:46:37 PWNAS kernel: usb 7-1.3: USB disconnect, device number 3 Sep 7 19:46:37 PWNAS kernel: usb 7-1.3.1: USB disconnect, device number 7 Sep 7 19:46:37 PWNAS kernel: usb 8-1: USB disconnect, device number 2 Sep 7 19:46:37 PWNAS kernel: usb 8-1.3: USB disconnect, device number 5 Sep 7 19:46:37 PWNAS kernel: usb 8-1.3.2: USB disconnect, device number 7 Sep 7 19:46:37 PWNAS kernel: xhci_hcd 0000:40:00.0: Timeout while waiting for configure endpoint command Sep 7 19:46:37 PWNAS kernel: usb 7-1.4.1: Not enough bandwidth for altsetting 1 Sep 7 19:46:37 PWNAS kernel: usb 7-1.3.3: USB disconnect, device number 8 Sep 7 19:46:37 PWNAS kernel: usb 7-1.3.3.1: USB disconnect, device number 9 Sep 7 19:46:37 PWNAS kernel: usb 8-1.3.4: USB disconnect, device number 6 Sep 7 19:46:37 PWNAS kernel: usb 8-1.4: USB disconnect, device number 3 Sep 7 19:46:37 PWNAS kernel: usb 8-1.4.3: USB disconnect, device number 4 Sep 7 19:46:37 PWNAS kernel: usb 7-1.3.3.3: USB disconnect, device number 11 Sep 7 19:46:37 PWNAS kernel: usb 7-1.4: USB disconnect, device number 4 Sep 7 19:46:37 PWNAS kernel: usb 7-1.4.1: USB disconnect, device number 5 Sep 7 19:46:37 PWNAS kernel: usb 7-1.4.2: USB disconnect, device number 6 Sep 7 19:47:53 PWNAS kernel: usb 1-11: new low-speed USB device number 8 using xhci_hcd Sep 7 19:47:53 PWNAS kernel: usb 1-11: device descriptor read/64, error -71 Sep 7 19:47:54 PWNAS kernel: usb 1-11: device descriptor read/64, error -71 Sep 7 19:47:54 PWNAS kernel: usb 1-11: new low-speed USB device number 9 using xhci_hcd Sep 7 19:47:54 PWNAS kernel: usb 1-11: device descriptor read/64, error -71 Sep 7 19:47:54 PWNAS kernel: usb 1-11: device descriptor read/64, error -71 Sep 7 19:47:54 PWNAS kernel: usb usb1-port11: attempt power cycle Sep 7 19:47:55 PWNAS kernel: usb 1-11: new low-speed USB device number 10 using xhci_hcd Sep 7 19:47:55 PWNAS kernel: usb 1-11: Device not responding to setup address. Sep 7 19:47:55 PWNAS kernel: usb 1-11: Device not responding to setup address. Sep 7 19:47:55 PWNAS kernel: usb 1-11: device not accepting address 10, error -71 Sep 7 19:47:55 PWNAS kernel: usb 1-11: new low-speed USB device number 11 using xhci_hcd Sep 7 19:47:55 PWNAS kernel: usb 1-11: Device not responding to setup address. Sep 7 19:47:56 PWNAS kernel: usb 1-11: Device not responding to setup address. Sep 7 19:47:56 PWNAS kernel: usb 1-11: device not accepting address 11, error -71 Sep 7 19:47:56 PWNAS kernel: usb usb1-port11: unable to enumerate USB device Sep 7 19:48:59 PWNAS avahi-daemon[8269]: Interface vnet1.IPv6 no longer relevant for mDNS. Sep 7 19:48:59 PWNAS avahi-daemon[8269]: Leaving mDNS multicast group on interface vnet1.IPv6 with address fe80::fc54:ff:fe85:3e36. Sep 7 19:48:59 PWNAS kernel: br0: port 3(vnet1) entered disabled state Sep 7 19:48:59 PWNAS kernel: device vnet1 left promiscuous mode Sep 7 19:48:59 PWNAS kernel: br0: port 3(vnet1) entered disabled state Sep 7 19:48:59 PWNAS avahi-daemon[8269]: Withdrawing address record for fe80::fc54:ff:fe85:3e36 on vnet1. Sep 7 19:49:00 PWNAS kernel: vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem Is there any way to make the server attempt to re-scan or discover devices? Quote Link to comment
planetwilson Posted September 7, 2020 Author Share Posted September 7, 2020 Okay found the solution - I was being daft mixing up passing individual USB devices and controllers. Once I isolated the USB controller that is on the LG 5K monitor (which has the same chipset name as a separate card I use for a hackintosh hence much confusion) - I can pass that alone using VIFO-PCI config and everythings works just great. 1 Quote Link to comment
T0a Posted September 8, 2020 Share Posted September 8, 2020 Glad you got it working. Out of interest, what thunderbold aic and display are you exactly using? Can you reference them? I wasn‘t aware that passing through a thunderbold card controller works that smooth with UnRaid. Quote Link to comment
planetwilson Posted September 8, 2020 Author Share Posted September 8, 2020 I have a Gigabyte Titan Ridge AIC. It takes 2 DisplayPort cables from my Radeon 570 as inputs and outputs on a thunderbolt 3 cable to my LG 5K Ultrafine monitor - the one LG made in partnership with Apple. I love this monitor and didn't want to only be able to use it with my Macbook but also my gaming VM and this works perfectly for that. The card itself appears as several different devices under System devices and passing those through never really worked correctly. The card mixing the DisplayPort inputs and outputting via TB3 only requires power so doesn't need to be passed to the VM. However I wanted to be able to use the USB ports on the back of the monitor so I had a single mouse and keyboard whether using Mac or PC. Once the monitor is hooked up to the AIC card it exposes a USB controller device which I can then passthrough as a PCI device to the VM. This works best. Passing individual USB devices was very flaky and they would often disappear. Quote Link to comment
planetwilson Posted October 28, 2020 Author Share Posted October 28, 2020 As an update to this - I actualy stopped doing this and just passed through a separate USB 3 card instead because the unplugging of the TB3 cable from the AIC card to my MBP and back again causes weirdness with the VM. The USB controller which is part of the monitor gets in a stuck state and can't be used without a reboot. Passing through individual USB devices or a 3rd card is a better solution Quote Link to comment
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.