USB Device Limit?

Discussions related to using the OSE version of VirtualBox.
Post Reply
kaota
Posts: 1
Joined: 8. Aug 2012, 02:45

USB Device Limit?

Post by kaota »

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
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?

Post by Perryg »

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
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?

Post by frank »

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.
Post Reply