From owner-freebsd-ports@freebsd.org Wed Jan 25 20:30:07 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 B35E6CC1AEC for ; Wed, 25 Jan 2017 20:30:07 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A2CE716F9; Wed, 25 Jan 2017 20:30:07 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from [IPv6:2600:1010:b013:cf20:1828:f27a:6888:32ea] (unknown [IPv6:2600:1010:b013:cf20:1828:f27a:6888:32ea]) by elvis.mu.org (Postfix) with ESMTPSA id 822ED346DFC8; Wed, 25 Jan 2017 12:30:01 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: VirtualBox port not working with USB From: Alfred Perlstein X-Mailer: iPhone Mail (14C92) In-Reply-To: <4c8e45f4-58d6-83a2-e6da-4b9ca2eb1316@menhennitt.com.au> Date: Wed, 25 Jan 2017 12:30:00 -0800 Cc: Hans Petter Selasky , vbox@FreeBSD.org, jkim@freebsd.org, freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9B5EBBB3-860B-42DE-9146-772BDCAFF1E2@freebsd.org> 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> <4c8e45f4-58d6-83a2-e6da-4b9ca2eb1316@menhennitt.com.au> To: Graham Menhennitt 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 20:30:07 -0000 Nice! Sent from my iPhone > On Jan 25, 2017, at 12:15 PM, Graham Menhennitt = wrote: >=20 >> On 26/01/2017 06:41, Hans Petter Selasky wrote: >>> 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? >>>>>>=20 >>>>>>=20 >>>>>>> On Jan 23, 2017, at 8:14 AM, Hans Petter Selasky >>>>>>> wrote: >>>>>>>=20 >>>>>>>=20 >>>>>>> There hasn't been any big changes in the FreeBSD userspace interface= s >>>>>>> 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. >>>>>>>=20 >>>>>=20 >>>>=20 >>>>=20 >>>> 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? >>>>=20 >>>> 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. >>>=20 >>> Hans, >>>=20 >>> 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. >>>=20 >>> Thanks, >>> Graham >>>=20 >>=20 >> Hi Graham, >>=20 >> 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 mak= e sure these patches gets pushed upstream? >>=20 >> --HPS >>=20 > Thank you very much, Hans. Working for me now. >=20 > Thanks, >=20 > Graham >=20