I have a 2 large USB hubs containing 20 or 100 devices of all the same make and model. I have created a filter to pass them through to a Linux VM. I can successfully pass 15 devices, but on 16 or more I get the following error:
VERR_PDM_NO_USB_PORTS
It always caps out at 15 devices. Is this a legitimate limit? How can I override it?
Not sure if it's relevant, but this is a Debian 6 Linux guest on Mac OSX 10.8.
Cheers
USB Device Limit?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: USB Device Limit?
Good question! I have been working on the VirtualBox code for years and I have never tried to extend beyond 5 or 6 devices because I never had the need. I suspect that there is a ceiling though as the error states. You might want to ask the DEVs for a concrete answer though. Better to ask on the DEV mailing list or via IRC if you want a fast answer.
https://www.virtualbox.org/wiki/Community
https://www.virtualbox.org/wiki/Community
-
frank
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: USB Device Limit?
The current limit is 8 devices for the OHCI controller and 8 devices for the EHCI controller. Increasing that limit to 15 for each of the two controllers should be possible. Just have a look at OHCI_NDP and EHCI_NDP in DevOHCI.cpp and DevEHCI.cpp.