From owner-freebsd-emulation@freebsd.org Mon Nov 20 09:42:35 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 507B1DE6CA0 for ; Mon, 20 Nov 2017 09:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4B577857 for ; Mon, 20 Nov 2017 09:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A1D8DE6C9D; Mon, 20 Nov 2017 09:42:35 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29C91DE6C9C for ; Mon, 20 Nov 2017 09:42:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E01B077855 for ; Mon, 20 Nov 2017 09:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 3E2631FB36; Mon, 20 Nov 2017 09:42:34 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 12D381FB35 for ; Mon, 20 Nov 2017 09:42:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3592877852 for ; Mon, 20 Nov 2017 09:42:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAK9gX4o087606 for ; Mon, 20 Nov 2017 09:42:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: maintainer-feedback requested: [Bug 223763] emulators/virtualbox-ose: USB Support Date: Mon, 20 Nov 2017 09:42:32 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 20 Nov 2017 11:41:19 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 09:42:35 -0000 vermaden@interia.pl has reassigned Bugzilla Automation '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: at usbus2 umass0 on uhub4 umass0: 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 And its available on usbconfig(8) as: ugen2.4: 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