Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 09:42:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 223763] emulators/virtualbox-ose: USB Support
Message-ID:  <bug-223763-26505-QCAWi7QKvt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223763-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223763-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
vermaden@interia.pl has reassigned Bugzilla Automation <bugzilla@FreeBSD.or=
g>'s
request for maintainer-feedback to vbox@FreeBSD.org:
Bug 223763: emulators/virtualbox-ose: USB Support
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223763



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

According to the FreeBSD Handbook Virtualbox USB Support should work:

> 21.6.2. VirtualBox=E2=84=A2 USB Support
>=20
> VirtualBox=E2=84=A2 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.
>=20
> For VirtualBox=E2=84=A2 to be aware of USB devices attached to the
> machine, the user needs to be a member of the operator group.
>=20
> # pw groupmod operator -m yourusername
>=20
> Restart the login session and VirtualBox=E2=84=A2 for these changes
> to take effect, and create USB filters as necessary.

My user is in 'operator' group:

% id vermaden
uid=3D1000(vermaden) gid=3D1000(vermaden)
groups=3D1000(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=20=20=20=20
root@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 =3D 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=3D0x3<NO_SYNC_CACHE,NO_6_BYTE>


And its available on usbconfig(8) as:

ugen2.4: <vendor 0x13fe USB DISK 3.0> at usbus2, cfg=3D0 md=3DHOST spd=3DHI=
GH
(480Mbps) pwr=3DON (498mA)

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

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

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

Regards,
vermaden



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223763-26505-QCAWi7QKvt>