VirtualBox port not working with USB

Hans Petter Selasky hps at selasky.org
Tue Jan 24 13:44:35 UTC 2017


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 at 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


More information about the freebsd-ports mailing list