From owner-freebsd-questions@freebsd.org Thu Jul 27 22:04:20 2017 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 9B2FBDB1BA8 for ; Thu, 27 Jul 2017 22:04:20 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C4FC66E50 for ; Thu, 27 Jul 2017 22:04:19 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qt0-x242.google.com with SMTP id p3so11272877qtg.5 for ; Thu, 27 Jul 2017 15:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-transfer-encoding; bh=WezGOQNAue4ezPVkWLRjawyKSl4zUY/mPCwgVoUUm8M=; b=Fhga1jXS8a3dHe7SWIQVeDB3bV05PkuitkDGQ4cOUutbhSFcwtsDY3wzDI6upqBxdN I7wLcF91+NSJHJtp81VsGH6u+8NtgKZjWBrtPY3RuBb5uDz9dkfQ90G/iYc2Tu0tsspL Sk2RQJLnhFLhcjzbN1c/UJzlaQRTYOalmzLDA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=WezGOQNAue4ezPVkWLRjawyKSl4zUY/mPCwgVoUUm8M=; b=njjZMQppwugH+SWQxR+GNAYRZRb5MzyJ5Z+KjP+2wadK1RS6n5NOj1hCGkXKYsJs8a wtvd/+d0Ukp6iJG2GuufSINpuAhiRwar2ZK6BCIK+Ja/3RBYL6w+vBczBsxXiSafJmGI aqxcQ+tQj0tV6GHBy69s6ahNgs1lWPP5bRb/csR68mQtNSN9zMgb972APeKr1JnwD9dX mBgnAVnHd/IHpA2wHbF30+I2YjdFs2LKxrl26ZmsUiX8/K+nzDZ5AtCUHmAzzjEqeWzr mOKYw9HTMxNYdPIvRNS/BbxRO3/09neoKg/b/G6OZrqVgGOCLcAkyXB2ZDOFUDmDCUWn 85DA== X-Gm-Message-State: AIVw112Pl2SIBB2xpNUnNnuIz0PfqhDziVIm+ujIL4i8x5+uiGST9eGZ oy6uOPJ4PldSaAaBMc0= X-Received: by 10.200.37.5 with SMTP id 5mr8450069qtm.273.1501193058715; Thu, 27 Jul 2017 15:04:18 -0700 (PDT) Received: from Papi ([177.98.156.127]) by smtp.gmail.com with ESMTPSA id j95sm5772144qte.4.2017.07.27.15.04.17 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jul 2017 15:04:18 -0700 (PDT) Date: Thu, 27 Jul 2017 19:05:43 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: Has anyone had any success installing VirtualBox extension pack under FreeBSD ? Message-ID: <20170727190543.673eeff6@Papi> In-Reply-To: References: Organization: BSD X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2017 22:04:20 -0000 On Thu, 27 Jul 2017 22:59:56 +0200 Gr=C3=A9gory Reinbold wrote: > On 27/07/2017 05:17, Manish Jain wrote: > > > > On 07/26/17 15:13, Gr=C3=A9gory Reinbold wrote: =20 > >> Hi, > >> > >> Did you try it? > >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualizat= ion-guest-virtualbox.html > >> > >> > >> > >> On 26/07/2017 11:16, Manish Jain wrote: =20 > >>> Hi, > >>> > >>> I would, possibly like many others, like to install VirtualBox > >>> extension pack under FreeBSD. Currently, the VB::USB situation is > >>> so messy that no device other than keyboard/mouse work, not even > >>> as OHCI. > >>> > >>> I tried to open a discussion for this at VB forums : > >>> > >>> https://forums.virtualbox.org/viewtopic.php?f=3D9&t=3D83928 > >>> > >>> There response is so pathetic that it essentially leaves no hope. > >>> > >>> The only hope seems to be hacking the extension packing with the > >>> Linuxulator, getting the extension pack to think that the OS > >>> actually is Linux. Has anyone had any success with such an > >>> approach / something else ? > >>> > >>> Thanks for any pointers. > >>> Manish Jain =20 > > Hi Gregory, > > > > Thanks for replying. > > > > I think the URL you referred to caters essentially to Guest > > utilities. Not to FreeBSD host in general, and in particular USB > > functionality under the host in particular. > > > > While my VB post got a lot of evasive/contradictory statements from > > the VB developers (stuff like initial assertion - later corrected - > > that VB extension pack is not platform specific), one interesting > > statement of the folks there is that OHCI functionality is provided > > out-of-the box and not platform-specific implementation. > > > > Since OHCI only works for keyboard/mouse under FreeBSD, is it > > possible that FreeBSD porters actually disable OHCI at our end (in > > the process of porting the VB sources for FreeBSD) ? > > > > Thanks for any information. > > Manish Jain > > =20 > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization= -host-virtualbox.html#virtualization-virtualbox-usb-support >=20 > TheVirtualBox=E2=84=A2extension pack is not available for FreeBSD hosts. > Without the extension pack, the FreeBSD host cannot passUSBports > through to guest operating systems. >=20 > So, on VB website we can see this:=20 > https://www.virtualbox.org/manual/ch01.html#intro-installing >=20 > And we can download the extension pack here:=20 > http://download.virtualbox.org/virtualbox/5.1.26/Oracle_VM_VirtualBox_Ext= ension_Pack-5.1.26-117224.vbox-extpack >=20 > So, how to install it? Maybe this can help you?=20 > https://www.virtualbox.org/manual/ch08.html#vboxmanage-extpack >=20 A while back, I wrote directly to Frank Mehnert - Oracle Software Development Director about this issue. He replied as follows: --------------------------------------------- Hi Mario, just saw your other mail and I just saw this mail again. Sorry for the late response! On Thursday 02 June 2016 16:06:01 you wrote: =20 > I've been using VB with my beloved FreeBSD since its early days, when > USB 1.0 used to be the standard. >=20 > Now a days, it is no longer viable, even if we downgrade the USB > connection through the OS to usb 1.0. The device shows up on the guest > but that is as far as it goes. It simply doesn't work. >=20 > I see that you have pre-compiled extension packs for Windows and Linux > hosts. VB compiles and works great through the ports in FreeBSD. The > highest available official version 4.3.38 but through the works of > Jung-uk Kim, I am running 5.0.20 right now! If it wasn't for this USB > issue, VB would be completely operational on FBSD! >=20 > You probably have been asked about this a lot, but do you see a > possibility anywhere in the future, of providing a pre-compiled > extension pack for FreeBSD? I never understood why Windows and Linux > have it and FreeBSD doesn't. Is there a particular reason for it? >=20 > Is there anyway I can help with this matter? Anybody in particular I > can plead for this? >=20 > Again, my apologies for barging in, and thank you for reading and for > your time. =20 hard to say. I guess if the USB devices worked in the past then this was probably because the due to the missing Extension Pack the devices were forced to use the USB 1 mode. Providing Extenicode for FreeBSD is not impossible but would require some effort. The most important part is probably to find a compatible build environment. I don't say "No" in general but we need to think about this in more detail. Kind regards, Frank --=20 Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany --------------------------------------------- Maybe a contact from a "high" FBS foundation member could help in moving this forward. I don't know. --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] =20 "UNIX was not designed to stop you from doing stupid things,=20 because that would also stop you from doing clever things."