Solved virtualbox + usb neverending story

Hello!

I have constant problems with virtualbox and usb. There is this bug report for actual VirtualBox 5.1.x:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212845

So I downgraded (compiled from ports) VirtualBox 5.0.26, which is latest working VirtualBox with USB 1.1 passthrough. On my home server, it's working, but it's slow "passive cooled" computer.

Then, VirtualBox 5.0.26 on my Core-i5 laptop, there is another USB problem:
Code:
Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR).
Screenshot: https://www.dropbox.com/s/a4feke6x82fthel/virtualbox-usb-error.png?dl=0

USB tested with Blackberry OS 10 phone and Lego Mindstorms USB Tower - both with this error (but only on laptop).

My kernel modules loaded - :
Code:
Id Refs Address            Size     Name
 1  113 0xffffffff80200000 1fa7c38  kernel
 2    1 0xffffffff821a9000 85e0     fdescfs.ko
 3    1 0xffffffff821b2000 30aec0   zfs.ko
 4    2 0xffffffff824bd000 adc0     opensolaris.ko
 5    1 0xffffffff824c8000 21bd0    geom_eli.ko
 6    1 0xffffffff824ea000 4c60     coretemp.ko
 7    1 0xffffffff824ef000 100ae8   i915kms.ko
 8    2 0xffffffff825f0000 55b0     iicbb.ko
 9    5 0xffffffff825f6000 6ec0     iicbus.ko
10    2 0xffffffff825fd000 4480     iic.ko
11    2 0xffffffff82602000 881c0    drm2.ko
13    1 0xffffffff82696000 1a7c8    fuse.ko
14    1 0xffffffff826b1000 12a38    tmpfs.ko
15    1 0xffffffff826c4000 b3e8     aesni.ko
16    1 0xffffffff826d0000 5408     acpi_toshiba.ko
17    1 0xffffffff826d7000 29c38    pefs.ko
18    1 0xffffffff82701000 37518    smbfs.ko
19    3 0xffffffff82739000 37e0     libmchain.ko
20    3 0xffffffff8273d000 9e88     libiconv.ko
22    1 0xffffffff82a21000 3710     ums.ko
24    1 0xffffffff82a28000 2847     pflog.ko
25    1 0xffffffff82a2b000 33bec    pf.ko
27    2 0xffffffff82a62000 befc     netgraph.ko
28    1 0xffffffff82a6e000 423b     ng_ether.ko
30    1 0xffffffff82a77000 3de40    linux.ko
31    3 0xffffffff82ab5000 7b08     linux_common.ko
32    1 0xffffffff82abd000 389f4    linux64.ko
33    1 0xffffffff82af6000 325d     cpuctl.ko
34    1 0xffffffff82afa000 665d     nullfs.ko
35    1 0xffffffff82b01000 8365     autofs.ko
36    1 0xffffffff82b0a000 a9f1     linprocfs.ko
37    3 0xffffffff82b15000 4e22a    vboxdrv.ko
38    1 0xffffffff82a73000 3f86     vboxnetadp.ko
39    1 0xffffffff82a5f000 2a1f     vboxnetflt.ko
40    1 0xffffffff82a25000 2a05     uhid.ko
41    1 0xffffffff82ca5000 5769     if_cdce.ko
42    1 0xffffffff82cab000 2bf2     uether.ko

Can be a problem with "uhid" module?
Nothing interesting in /var/log/messages.
 
My wild guess would be the fact that your laptop probably has USB3 ports, which in most cases work very differently from USB2. I didn't use USB1.1 devices for long time, but has a good (actually bad) experience with USB3 in USB2 mode, especially with Virtualbox (in Linux host too).
Some laptops have different USB controllers (e.g. ThinkPad), so you may have both USB2 and USB3 ports.
 
I see...

Yes, all USB ports on Toshiba Z30 laptop are blue (USB 3.1).
I am using USB1 in VirtualBox, because for USB2 and better, some VirtualBox Extension pack from Oracle is needed. Not available for FreeBSD. If I remember correctly, I can switch off USB3 in BIOS - will that help?
 
Well, if you have such an option in BIOS, it's worth to try. In my ThinkPad I just used USB2 ports with VirtualBox.
However, nowadays I switched to bhyve(8) and am passing through the entire USB3 controller (as a PCI device) to my Windows guest, leaving USB2 ports for FreeBSD.
 
Back
Top