From owner-freebsd-emulation@freebsd.org Sun Jan 29 21:55:45 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4B02CC7C0C for ; Sun, 29 Jan 2017 21:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 85053C38 for ; Sun, 29 Jan 2017 21:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 81272CC7C0B; Sun, 29 Jan 2017 21:55:45 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80CDBCC7C0A for ; Sun, 29 Jan 2017 21:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55203C36 for ; Sun, 29 Jan 2017 21:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id A2F9468E6; Sun, 29 Jan 2017 21:55:44 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 8E5E468E5 for ; Sun, 29 Jan 2017 21:55:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E273C31 for ; Sun, 29 Jan 2017 21:55:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0TLthX7013473 for ; Sun, 29 Jan 2017 21:55:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 216564] emulators/virtualbox-ose: 5.1.14_2 USB passthrough does not work Date: Sun, 29 Jan 2017 21:55:43 +0000 X-Bugzilla-Reason: AssignedTo 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 Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 30 Jan 2017 01:51:01 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 21:55:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216564 --- Comment #2 from vermaden@interia.pl --- This is that return value in source. /usr/ports/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/sr= c % grep -r VERR_PDM_NO_USB_PORTS . ./VBox/VMM/VMMR3/PDMUsb.cpp: * VERR_PDM_NO_USB_HUBS or VERR_PDM_NO_USB_PORTS on failure. ./VBox/VMM/VMMR3/PDMUsb.cpp: return VERR_PDM_NO_USB_PORTS; /usr/ports/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/sr= c % grep -B 30 'return VERR_PDM_NO_USB_PORTS' ./VBox/VMM/VMMR3/PDMUsb.cpp /** * Locates a suitable hub for the specified kind of device. * * @returns VINF_SUCCESS and *ppHub on success. * VERR_PDM_NO_USB_HUBS or VERR_PDM_NO_USB_PORTS on failure. * @param pVM The cross context VM structure. * @param iUsbVersion The USB device version. * @param ppHub Where to store the pointer to the USB hub. */ static int pdmR3UsbFindHub(PVM pVM, uint32_t iUsbVersion, PPDMUSBHUB *ppHub) { *ppHub =3D NULL; if (!pVM->pdm.s.pUsbHubs) return VERR_PDM_NO_USB_HUBS; for (PPDMUSBHUB pCur =3D pVM->pdm.s.pUsbHubs; pCur; pCur =3D pCur->pNex= t) if (pCur->cAvailablePorts > 0) { /* First check for an exact match. */ if (pCur->fVersions & iUsbVersion) { *ppHub =3D pCur; break; } /* For high-speed USB 2.0 devices only, allow USB 1.1 fallback.= */ if ((iUsbVersion & VUSB_STDVER_20) && (pCur->fVersions =3D=3D VUSB_STDVER_11)) *ppHub =3D pCur; } if (*ppHub) return VINF_SUCCESS; return VERR_PDM_NO_USB_PORTS; --=20 You are receiving this mail because: You are the assignee for the bug.=