From owner-freebsd-questions@freebsd.org Tue Jul 5 07:56:36 2016 Return-Path: Delivered-To: freebsd-questions@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 4FB8999AA43 for ; Tue, 5 Jul 2016 07:56:36 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (perso.pw [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC7B81DA0 for ; Tue, 5 Jul 2016 07:56:34 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (localhost [127.0.0.1]) by bsd.zplay.eu (OpenSMTPD) with ESMTP id 42edcc53; Tue, 5 Jul 2016 09:56:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :cc:in-reply-to:references:message-id; s=selector1; bh=cV9Ub8ev9 h7lQeyOZkbIaZwXuyo=; b=w3VDF5u8k6x36NNhHKgFx3bF+6dRHe7lESzwmuF2t rtogAs6u4xP4Qw6AEPW7YTH1yTKMdIvDZeu9YB7P4mJichXmsbTvpPbHbqubQhZG Teodb5EfC8C3f1TCIGb5/CTKmVnTUo1SYhXmUJJz4Cejq0UtJuqdDsQ9C0l2NJW4 RY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :cc:in-reply-to:references:message-id; q=dns; s=selector1; b=Ckz /0hMsPKTEoqIXPUay4J+QeNM/9t+ZsO0j1cSlgo7/1HOsujIUZKvhc+i/4bjt950 b8DXZ4RMBCJxC0YxoZtItURoOjHpeoAk532keAsnq+CW4EZXFv1QeNkWQIsmbcsM a4tt+0YePi35IENbYSf9YVeBFFXVSIbnG0NI0d1M= Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id edfc4135; Tue, 5 Jul 2016 09:56:25 +0200 (CEST) To: Manish Jain Subject: Re: How to make smooth USB access available to Virtualbox vm X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 05 Jul 2016 09:56:25 +0200 From: =?UTF-8?Q?Sol=C3=A8ne?= Cc: freebsd-questions@freebsd.org In-Reply-To: References: Message-ID: X-Sender: solene@perso.pw User-Agent: Roundcube Webmail/1.2.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 07:56:36 -0000 Le 2016-07-05 01:35, Manish Jain a écrit : > Hi, > > I am running VirtualBox under FreeBSD 10.2 amd64. I created a Windows > XP > vm for some work I need to do. The vm needs data which I placed on a > USB > pen drive. I added a filter under VirtualBox to pass the pen drive to > the vm and then started the vm. The pen drive for some reason is not > smoothly visible to the vm - the icon for removable drive in the vm > keeps coming and going every 1-2 seconds. I think the problem is the > Gnome3 desktop environment and VirtualBox are competing for the USB pen > drive. On the host FreeBSD system, I repeatedly get error messages > "Unable to mount volume" - some error related to HALD. I tried setting > hald_enable="NO" in /etc/rc.conf and then rebooted FreeBSD. Upon > restart, the situation remains the same - the vm does not see the pen > drive long enough for the data to be copied out. > > Can someone please help me ? What I want is that the pen drive is under > the control of VirtualBox, with no interference from the desktop > environment. > > > Thanks for any help. Hello, I am not sure this is possible, the handbook contains contradiction about usb support : https://www.freebsd.org/doc/handbook/virtualization-host-virtualbox.html On the top it's said that you need to install extension pack to get USB but that this pack isn't available on FreeBSD > but with closed-source components available in a separate extension > pack. These components include support for USB 2.0 devices. > More information may be found on the “Downloads” page of the > VirtualBox™ wiki. Currently, these extensions are not available for > FreeBSD. And in the middle of the page, there is a section about "21.6.2. VirtualBox™ USB Support" The official wiki confirms that USB2/USB3 supports is given by installing extensions https://www.virtualbox.org/manual/ch03.html#settings-usb