[Bug 270900] emulators/virtualbox-ose USB passthrough fails with Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jul 2024 09:39:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270900
--- Comment #18 from commit-hook@FreeBSD.org ---
A commit in branch 2024Q3 references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=873b08a9cff17f72029df8a6464855b631f16316
commit 873b08a9cff17f72029df8a6464855b631f16316
Author: Igor Malyshev <bsd@itglob.ru>
AuthorDate: 2024-07-20 09:31:14 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-20 09:38:47 +0000
emulators/virtualbox-ose{,-nox11}-legacy: fix USB passthrough fails with:
Failed to create a proxy device for the USB device
Failed to create a proxy device for the USB device. (Error:
VERR_INVALID_PARAMETER)
00:00:24.961804 usbProxyConstruct: Failed to open '/dev/ugen0.6',
rc=VERR_INVALID_PARAMETER
00:00:24.961881 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005)
aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap}
aText={Failed to create a proxy device for the USB device. (Error:
VERR_INVALID_PARAMETER)}, preserve=false aResultDetail=-2
In commit
https://cgit.freebsd.org/src/commit/?id=9b077d72bcc313baea2b9283afc7f568739eaadc
+#define USB_FS_XFER_MAX 126
- if (fs_ep_ptr == NULL || ep_index_max > 127)
+ if (fs_ep_ptr == NULL || ep_index_max > USB_FS_XFER_MAX)
To fix VirtualBox decrease USBFBSD_MAXENDPOINTS from 127 to 126:
-#define USBFBSD_MAXENDPOINTS 127
+#define USBFBSD_MAXENDPOINTS 126
PR: 270900
Tested by: groenveld@acm.org, russo@bogodyn.org
Approved by: with hat of vbox (maintainer)
MFH: 2024Q3
(cherry picked from commit 4b9b21dfcdc6a213b8b9842dbc7ea8dd8fcd48e3)
emulators/virtualbox-ose-legacy/Makefile | 2 +-
...atch-src_VBox_Devices_USB_USBProxyDevice-freebsd.cpp (new) | 11 +++++++++++
emulators/virtualbox-ose-nox11-legacy/Makefile | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.