Jump to content

USB PCI card passthrough stops working


Recommended Posts

Hi I have been using a pci usb card on a linux vm. I connect a monitor's usb hub through the usb card and when I turn off my monitor and walk away, then come back the usb ports in the pci card stop working. After rebooting the vm it starts working again.

 

I noticed that this seems to reset it without rebooting:

 

```

echo "1" > /sys/bus/pci/devices/0000:08:00.0/remove

sleep 1

echo "1" > /sys/bus/pci/rescan

```

 

So I find myself passing through another usb keyboard to run this script to get things going again without a reboot.

 

This is the usb card info in unraid under Other PCI Devices:

 

```

Renesas Technology Corp. uPD720201 USB 3.0 Host Controller | USB controller (09:00.0)
```

 

And what shoes in linux guest lspci:

```

08:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI])
        Physical Slot: 0-7
        Flags: bus master, fast devsel, latency 0, IRQ 21
        Memory at 91200000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
        Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [150] Latency Tolerance Reporting
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

```

 

Anyone else run into this?

Edited by impaler
Link to comment

Thanks unAdvanced Member, havent tried that one before. Although I am not sure why a usb management solution would help in my case. I have an actual pci usb card that is passed through to the linux vm which stops working. My intension is to use this pci card's usb ports in the guest vm,  so I don't have to manage the usb devices in a tool like this ;). I guess it could just be a faulty pci card.

Link to comment
  • 1 year later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...