From owner-freebsd-emulation@freebsd.org Tue Jan 24 13:44:37 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 1ED89CC06AD for ; Tue, 24 Jan 2017 13:44:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 00BAF33C for ; Tue, 24 Jan 2017 13:44:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id F1523CC06AC; Tue, 24 Jan 2017 13:44:36 +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 F0FEDCC06AB for ; Tue, 24 Jan 2017 13:44:36 +0000 (UTC) (envelope-from hps@selasky.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 C6E1D339 for ; Tue, 24 Jan 2017 13:44:36 +0000 (UTC) (envelope-from hps@selasky.org) Received: by freefall.freebsd.org (Postfix) id 21B1A15DF; Tue, 24 Jan 2017 13:44:36 +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 069C515DE; Tue, 24 Jan 2017 13:44:36 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 0B39D337; Tue, 24 Jan 2017 13:44:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 133C01FE022; Tue, 24 Jan 2017 14:44:03 +0100 (CET) Subject: Re: VirtualBox port not working with USB To: Graham Menhennitt , Alfred Perlstein References: <49a336e6-3954-1536-6a59-150bb63e667a@menhennitt.com.au> <442573a6-27f9-2eb3-39ef-334a61dbce1b@freebsd.org> <8e7ce173-63d9-4466-6f33-d96d4f17f48e@selasky.org> <4688B879-09A3-40FC-8018-F25A41ECA426@freebsd.org> Cc: freebsd-ports@freebsd.org, vbox@FreeBSD.org, jkim@freebsd.org From: Hans Petter Selasky Message-ID: Date: Tue, 24 Jan 2017 14:43:55 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 24 Jan 2017 16:39:58 +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: Tue, 24 Jan 2017 13:44:37 -0000 On 01/24/17 12:03, Graham Menhennitt wrote: > On 24/01/2017 04:19, Alfred Perlstein wrote: >> Graham, can you follow what Hans is asking and report back please? >> >> >>> On Jan 23, 2017, at 8:14 AM, Hans Petter Selasky >>> wrote: >>> >>> >>> There hasn't been any big changes in the FreeBSD userspace interfaces >>> used by virtualbox for a while. Maybe you can try to collect output >>> from "usbdump -i usbusX -f Y -s 65536 > log.txt" where X and Y are >>> the numbers after ugenX.Y for the device in question. I'll give >>> virtualbox from FreeBSD ports a spin and see if there is something >>> obvious broken. >>> > Hi Graham, Looking at the differences between VirtualBOX 5.0.26 and 5.1.14, I see the USB proxy backend for FreeBSD was rewritten: Have a look here: VirtualBox-5.1.14/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp Which was previously: ./work/VirtualBox-5.0.26/src/VBox/Main/src-server/freebsd/USBProxyServiceFreeBSD.cpp Can you compile VirtualBox with full debugging enabled (make config and add all debug flags before building) and capture the resulting debug log(s) and send to me? There are some debug prints in "USBProxyBackendFreeBSD.cpp" and "USBProxyDevice-freebsd.cpp" which I need to see and you should see them too when you add/remove USB devices. --HPS