From owner-freebsd-ports@freebsd.org Wed Jan 25 19:42:33 2017 Return-Path: Delivered-To: freebsd-ports@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 D0A9ECC0DD6 for ; Wed, 25 Jan 2017 19:42:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 9D51C1AAC; Wed, 25 Jan 2017 19:42:32 +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 649711FE022; Wed, 25 Jan 2017 20:41:53 +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> <29d063b6-1f47-8540-36a9-44508ad7a0e1@menhennitt.com.au> Cc: vbox@FreeBSD.org, jkim@freebsd.org, freebsd-ports@freebsd.org From: Hans Petter Selasky Message-ID: Date: Wed, 25 Jan 2017 20:41:45 +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: <29d063b6-1f47-8540-36a9-44508ad7a0e1@menhennitt.com.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 19:42:33 -0000 On 01/25/17 10:00, Graham Menhennitt wrote: > On 25/01/2017 00:43, Hans Petter Selasky wrote: >> 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. >>>>> >>> >> >> >> 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. > > Hans, > > I think that this is what you're after. If not, I can have another go. > But it dies pretty quickly so I'm not sure what more I can do. > > Thanks, > Graham > Hi Graham, Can you try to replace the two attached files in /usr/ports/...virtualbox-ose/files and re-build. Can someone here interacting with the VBOX team make sure these patches gets pushed upstream? --HPS