Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 14:43:55 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Graham Menhennitt <graham@menhennitt.com.au>, Alfred Perlstein <alfred@freebsd.org>
Cc:        freebsd-ports@freebsd.org, vbox@FreeBSD.org, jkim@freebsd.org
Subject:   Re: VirtualBox port not working with USB
Message-ID:  <acb9d1fd-810b-9dc3-bd83-167d9ccd0db9@selasky.org>
In-Reply-To: <e71e47e7-39dc-fff5-2626-bc87027955f3@menhennitt.com.au>
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> <e71e47e7-39dc-fff5-2626-bc87027955f3@menhennitt.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <hps@selasky.org>
>>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?acb9d1fd-810b-9dc3-bd83-167d9ccd0db9>