From owner-freebsd-ports@freebsd.org Wed Jan 25 20:15:28 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 F2110CC16AA for ; Wed, 25 Jan 2017 20:15:28 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from homiemail-a69.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61747E5D; Wed, 25 Jan 2017 20:15:28 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from homiemail-a69.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a69.g.dreamhost.com (Postfix) with ESMTP id 7B69848000B3B; Wed, 25 Jan 2017 12:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=menhennitt.com.au; h= subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s= menhennitt.com.au; bh=XJIakCnACALkdV1+wILqXPfkUUQ=; b=MKdptd8bNv iNoVBfi+oIINf3WJLe/f2Hp1GXyY4mt0hj/m3obJHZi6TyyqdkfpN7RX2TaRcKpS r+GSvGHGhtd6iQN8Lge2ddj/gDA0nOQRJneV6unOxK83nqMKedvg18eIWNyfEa6k jqSw8CMnfXBsDJyd8pb44jZU2bpte6jSA= Received: from [203.2.73.68] (c122-107-214-88.mckinn3.vic.optusnet.com.au [122.107.214.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by homiemail-a69.g.dreamhost.com (Postfix) with ESMTPSA id 5A26C48000B33; Wed, 25 Jan 2017 12:15:26 -0800 (PST) Subject: Re: VirtualBox port not working with USB To: Hans Petter Selasky , 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: Graham Menhennitt Message-ID: <4c8e45f4-58d6-83a2-e6da-4b9ca2eb1316@menhennitt.com.au> Date: Thu, 26 Jan 2017 07:15:25 +1100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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:15:29 -0000 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? >>>>> >>>>> >>>>>> 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 > Thank you very much, Hans. Working for me now. Thanks, Graham