Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Feb 2024 21:53:00 +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-DgnLyp2GF8@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

Igor Malyshev <bsd@itglob.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsd@itglob.ru

--- Comment #11 from Igor Malyshev <bsd@itglob.ru> ---
Created attachment 248190
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248190&action=
=3Dedit
USB passthrough fix after 9b077d72bcc313baea2b9283afc7f568739eaadc

after 9b077d72bcc313baea2b9283afc7f568739eaadc this was changed
-       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)
where USB_FS_XFER_MAX defined as 126 but in
src/VBox/Devices/USB/freebsd/USBProxyDevice-freebsd.cpp USBFBSD_MAXENDPOINTS
defined as 127 so change it to 126.
patch attached.

--=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-DgnLyp2GF8>