From nobody Sun Feb 04 21:53:00 2024 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TSjtP5Q99z58syd for ; Sun, 4 Feb 2024 21:53:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TSjtP2XNWz4Sfv for ; Sun, 4 Feb 2024 21:53:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707083581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NCzKmzW4bJR7uj+6LN3+j+J1lQAKmO+SMS91gEYMI3Q=; b=eCb2ulA9rStCmptJebnEPP3WU4QvZZCPOorPgyKLgs9Xvf6pyEQAIOBxK75EAQf6YQudHD 9I/FzS9Mif17focH+ttIJnjWrxOHcM0P3yKE/bN9s6cmojv6AJQuWPsrf8yT6tB2BZn4ol rWHJ2TeJc3nEhrgntk7cOvv9VmxwrjjuRa9/u0w+p+dsViGAst/Wb0a1KxMtPrAipVBGw4 akBN4aijvwJlAjjNq1kk6vVfQdWkjQu9ON6m72RvjxXoUWLJt6N0K/hGfvsUHFamZ9v6Ej lPQY2/epZAuiXxO7Hq6bIqTPxjxmBtK/aF20wVHYSPcS/BexSBjL3/sR7WhrDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707083581; a=rsa-sha256; cv=none; b=UjYgb0tyU6y7rncOzm22RPkwOhhUDCrwBuDVMPuh33La3gC3AkaAcSWZUkElASATZ5OguN Je+EKSbIVd2+ogUAJ/gpG8PPU0tcUVNH4/gupxC8Od53K0QSTpuPGdA/EZFRKrYjiYUGKU h011GDQi2tkF6jZsSZuwepE0PrtunS4BM1IQlNt8s8MGzVQzkn04YiNWDpqA5uLYXhHCP0 7ST2IEgZTstSsD0LiMd+1EeghmKY2gVhr+ir5SiX2zpoJpM7P6ZYzBR4s0a090YX5REP2D HSF9uFQ3zIQiSM8OZ0O3GQ4Si0G+91XQUnJxvPkmFoMoIJO/7jhLYgiPRxnyIg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TSjtP1cZyzF3S for ; Sun, 4 Feb 2024 21:53:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 414Lr1uk002068 for ; Sun, 4 Feb 2024 21:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 414Lr1Qm002057 for usb@FreeBSD.org; Sun, 4 Feb 2024 21:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@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) Date: Sun, 04 Feb 2024 21:53:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsd@itglob.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270900 Igor Malyshev changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bsd@itglob.ru --- Comment #11 from Igor Malyshev --- 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.=