maintainer-feedback requested: [Bug 223763] emulators/virtualbox-ose: USB Support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 20 09:42:35 UTC 2017


vermaden at interia.pl has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to vbox at FreeBSD.org:
Bug 223763: emulators/virtualbox-ose: USB Support
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223763



--- Description ---
Created attachment 188136
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188136&action=edit
filter

According to the FreeBSD Handbook Virtualbox USB Support should work:

> 21.6.2. VirtualBox™ USB Support
> 
> VirtualBox™ can be configured to pass USB devices through
> to the guest operating system. The host controller of the
> OSE version is limited to emulating USB 1.1 devices until
> the extension pack supporting USB 2.0 and 3.0 devices
> becomes available on FreeBSD.
> 
> For VirtualBox™ to be aware of USB devices attached to the
> machine, the user needs to be a member of the operator group.
> 
> # pw groupmod operator -m yourusername
> 
> Restart the login session and VirtualBox™ for these changes
> to take effect, and create USB filters as necessary.

My user is in 'operator' group:

% id vermaden
uid=1000(vermaden) gid=1000(vermaden)
groups=1000(vermaden),0(wheel),5(operator),44(video),920(vboxusers)

Here are versions of kernel, userspace and packages:

% pkg info -a|grep virtu
virtualbox-ose-5.2.0_1	       General-purpose full virtualizer for x86
hardware
virtualbox-ose-kmod-5.2.0_1    VirtualBox kernel module for FreeBSD

% uname -a
FreeBSD t420s.local 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0: Wed Aug  9
11:55:48 UTC 2017    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

% freebsd-version -k
11.1-RELEASE-p1

% freebsd-version -u
11.1-RELEASE-p3


The problem is I am not able to pass an USB device from Host to Guest.

An USB device that is attached to Host generated this messages in dmesg(8):

ugen2.4: <vendor 0x13fe USB DISK 3.0> at usbus2
umass0 on uhub4
umass0: <vendor 0x13fe USB DISK 3.0, class 0/0, rev 2.10/1.10, addr 4> on
usbus2
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:4:0: Attached to scbus4
da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
da0: < USB DISK 3.0 PMAP> Removable Direct Access SPC-4 SCSI device
da0: Serial Number EC0068F1F89A7D02
da0: 40.000MB/s transfers
da0: 14786MB (30283008 512 byte sectors)
da0: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>


And its available on usbconfig(8) as:

ugen2.4: <vendor 0x13fe USB DISK 3.0> at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (498mA)

Its not possible to select that device in Devices > USB.

I have even created a 'filter' with vendor = '13fe' for this device but that
does not help.

Either I am creating this filter wrong or this does not work because of some
other reason.

Regards,
vermaden


More information about the freebsd-emulation mailing list