Date: Sat, 20 Jul 2024 09:39:22 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 270900] emulators/virtualbox-ose USB passthrough fails with Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER) Message-ID: <bug-270900-4077-qXwCTulw7n@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270900-4077@https.bugs.freebsd.org/bugzilla/> References: <bug-270900-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270900 --- Comment #19 from commit-hook@FreeBSD.org --- A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D1a6d06fb4120fc253a48b3b95342748= ddd2a651f commit 1a6d06fb4120fc253a48b3b95342748ddd2a651f Author: Igor Malyshev <bsd@itglob.ru> AuthorDate: 2024-07-20 09:19:29 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-20 09:38:25 +0000 emulators/virtualbox-ose{,-nox11}: fix USB passthrough fails with: Fail= ed 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=3DVERR_INVALID_PARAMETER 00:00:24.961881 ERROR [COM]: aRC=3DNS_ERROR_FAILURE (0x80004005) aIID=3D{872da645-4a9b-1727-bee2-5585105b9eed} aComponent=3D{ConsoleWrap} aText=3D{Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER)}, preserve=3Dfalse aResultDetail=3D-2 In commit https://cgit.freebsd.org/src/commit/?id=3D9b077d72bcc313baea2b9283afc7f5687= 39eaadc +#define USB_FS_XFER_MAX 126 - if (fs_ep_ptr =3D=3D NULL || ep_index_max > 127) + if (fs_ep_ptr =3D=3D 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 fb231153bf5b66737effcc6b2ca22296893d7510) emulators/virtualbox-ose-nox11/Makefile | 2 +- emulators/virtualbox-ose/Makefile | 2 +- ...atch-src_VBox_Devices_USB_USBProxyDevice-freebsd.cpp (new) | 11 +++++++= ++++ 3 files changed, 13 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270900-4077-qXwCTulw7n>