Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] USB devices disappear after unplugging thunderbolt cable

Featured Replies

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?

 

  • Author

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.

 

  • JorgeB changed the title to [SOLVED] USB devices disappear after unplugging thunderbolt cable

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.

  • Author

 

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.

 

  • 1 month later...
  • Author

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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.