[Bug 270900] emulators/virtualbox-ose USB passthrough fails with Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Feb 2024 23:49:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270900

--- Comment #12 from groenveld@acm.org ---
(In reply to Igor Malyshev from comment #11)

Thank you.
Tested on 14.0-RELEASE-p4

John
groenveld@acm.org

$ cat files/patch-src_VBox_Devices_USB_freebsd_USBProxyDevice-freebsd.cpp
--- src/VBox/Devices/USB/freebsd/USBProxyDevice-freebsd.cpp.orig       
2024-01-11 12:23:15 UTC
+++ src/VBox/Devices/USB/freebsd/USBProxyDevice-freebsd.cpp
@@ -57,7 +57,7 @@
 #include "../USBProxyDevice.h"

 /** Maximum endpoints supported. */
-#define USBFBSD_MAXENDPOINTS 127
+#define USBFBSD_MAXENDPOINTS 126
 #define USBFBSD_MAXFRAMES 56

 /** This really needs to be defined in vusb.h! */

-- 
You are receiving this mail because:
You are on the CC list for the bug.