From owner-freebsd-x11@freebsd.org Tue May 7 15:03:17 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BA4E1589EAB; Tue, 7 May 2019 15:03:17 +0000 (UTC) (envelope-from meka@tilda.center) Received: from mail.tilda.center (srv02.tilda.center [199.247.21.11]) by mx1.freebsd.org (Postfix) with ESMTP id AD4318C9EC; Tue, 7 May 2019 15:03:15 +0000 (UTC) (envelope-from meka@tilda.center) Received: from [192.168.1.145] (unknown [109.92.19.191]) by mail.tilda.center (Postfix) with ESMTPSA id C0B3F1D3EC; Tue, 7 May 2019 17:03:08 +0200 (CEST) Date: Tue, 07 May 2019 17:03:05 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: <85e11f37-c111-0052-bdcd-d87386a2c49b@gmail.com> <96026bdc-5c60-6724-b96f-5da8aa17d55c@gmail.com> MIME-Version: 1.0 Subject: Re: VirtualBox Extensions Pack (for USB and Video) To: freebsd-usb@freebsd.org, Tomasz CEDRO , Johannes Lundberg CC: "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List , Jung-uk Kim From: =?UTF-8?Q?Goran_Meki=C4=87?= Message-ID: <3F6B7381-976C-416F-8D28-4C669A9AA003@tilda.center> X-Rspamd-Queue-Id: AD4318C9EC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of meka@tilda.center designates 199.247.21.11 as permitted sender) smtp.mailfrom=meka@tilda.center X-Spamd-Result: default: False [-4.40 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[tilda.center]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.tilda.center]; NEURAL_HAM_SHORT(-0.85)[-0.853,0]; RCPT_COUNT_SEVEN(0.00)[7]; IP_SCORE(-2.84)[ip: (-9.61), ipnet: 199.247.16.0/21(-4.72), asn: 20473(0.19), country: US(-0.06)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:20473, ipnet:199.247.16.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2019 15:03:17 -0000 As far as I know bhyve doesn't have USB passthroug which I understand you'r= e after=2E It might be false as I didn't check since last year On 7 May 2019 16:44:45 CEST, Tomasz CEDRO wrote: >On Tue, May 7, 2019 at 4:40 PM Johannes Lundberg >wrote: >> On 5/7/19 7:26 AM, Tomasz CEDRO wrote: >> > On Tue, May 7, 2019 at 4:11 PM Johannes Lundberg > wrote: >> >> On 5/6/19 12:42 PM, Hans Petter Selasky wrote: >> >>> On 2019-05-06 20:49, Tomasz CEDRO wrote: >> >>>> @HPS have you ever considered such operation? If the FreeBSD's >USB can >> >>>> be shared to the userland, maybe that could be also shared to >the >> >>>> Virtual Machine? >> >>> Hi, >> >>> The problem is inside VBOX, that the USB APIs only support USB >1=2Ex and >> >>> not in FreeBSD from what I understand last time I checked=2E >> >>> --HPS >> >> Maybe bhyve is an option? I have completely replaced virtualbox >with >> >> bhyve for my vms and loving it but I haven't tested it with usb >yet=2E >> > Hmm, thanks Johannes for that hint=2E=2E can you run Windoze (yuck), >Linux >> > and other stuff as full hypervisor or does this work more like >> > separated dedicated FreeBSD Jail? >> >> I haven't tried Windows but it's supposed to work=2E I'm running Ubuntu >> successfully with graphical desktop in bhyve=2E It uses VNC for the >> graphical interface so it's not the best experience but it's usable >if >> you don't have too high requirements=2E Mostly my VMs are headless=2E >> >> Check >https://www=2Efreebsd=2Eorg/doc/handbook/virtualization-host-bhyve=2Ehtml >> >> For managing my VMs I like this one >https://github=2Ecom/churchers/vm-bhyve > >Sounds really nice and what I need! More than that we would develop >true Open-Source solution :-) > >Thank you Johannes !! :-) > >Best regards :-) >Tomek > >--=20 >CeDeROM, SQ7MHZ, http://www=2Etomek=2Ecedro=2Einfo >_______________________________________________ >freebsd-usb@freebsd=2Eorg mailing list >https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-usb >To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd=2Eorg" --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E From owner-freebsd-x11@freebsd.org Tue May 7 15:19:19 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B35CE158A62B; Tue, 7 May 2019 15:19:18 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 739CF8D4F3; Tue, 7 May 2019 15:19:17 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-ot1-x329.google.com with SMTP id v17so7193572otp.13; Tue, 07 May 2019 08:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=rCm3FR1HZlqrhAcxH8qw8bqHIwfKi1Zc1C9MbtBc5fs=; b=IMXEZwiscx7yirMtrLGh1DTRUmWXRf+nm6AnZRIOaiujtFwxJPgo6iSmf1fN6t/+Ns EJTaOg1eAD0sLFZpBL+/qa1WyO7N0LJPfY6wbJQTgssWzrAuotSucHkQwCxQfbbccAWD 6okUxa6GayiMB6lOaOKFPjWsejGrX3aTVC3uJ7TPOqs3JLQGX26YYiArS0XT0cZe/nn1 XqORhXR7iT5HETAoi1U3eONmLh9Vf3kzZsi6QOj+fVYjq7onAIx9DEc8KpDI/39ZWHCG P7oTivA+6F40udNWL+o1/gLMaQRykpwOIzjYiT1L0tMkCUFqHZntLg8I9tF21Eqpcon3 FP0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language; bh=rCm3FR1HZlqrhAcxH8qw8bqHIwfKi1Zc1C9MbtBc5fs=; b=U2wtMNkEh8D1SArhqaZtm8YkNUQ45OW4EtpSve+uO6ADIajaEpwQJL5DjSUOcGL3II j6jKYMjQ4bW3Ul+SkeYQQZGJH8Q+hqJPIwgfYFLrZdTjypawbA0AkCkEtHwtOCQL8THt Ie0Ee3CUWv1SUlA0dnUrRbbPX+Jg3bZMzaTaQOUFWxUjmQBABcI4ZeXjY18bvgRRZ2sr tRINp0LI59TVWieQX4EX2iS2FAs0Ugj6QCtl8mE3XtPuU957xktrsJw5IAmisKwk9Kws nq6gTACa9rr5yu3ZnyVL5cX+AhYRKr+PZpDLa2R4yvIdbIGZkli/pc4Tf16nMSPhXrYn 3tig== X-Gm-Message-State: APjAAAUyatK1ZTZW7g7DX5qPirbxAg81KxcpBTGF4bpUoCwWVgFdisXj WcKBaxf8fONtRZeADJkvuCQCoU2maR8= X-Google-Smtp-Source: APXvYqyssHNTkuCmPc8bGy3aW0rhbqK67ZQKpK++W3TTIW7G+I5RBiQ2zEr5VFXhSFW5ewvo9ktQ3w== X-Received: by 2002:a9d:23:: with SMTP id 32mr20985064ota.89.1557242355863; Tue, 07 May 2019 08:19:15 -0700 (PDT) Received: from ?IPv6:2600:8800:6900:7ab:1265:30ff:fe82:52ff? ([2600:8800:6900:7ab:1265:30ff:fe82:52ff]) by smtp.gmail.com with ESMTPSA id 88sm6573990otv.46.2019.05.07.08.19.14 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 08:19:14 -0700 (PDT) Subject: Re: VirtualBox Extensions Pack (for USB and Video) To: freebsd-usb@freebsd.org Cc: freebsd-x11@freebsd.org, FreeBSD Questions Mailing List References: <85e11f37-c111-0052-bdcd-d87386a2c49b@gmail.com> <96026bdc-5c60-6724-b96f-5da8aa17d55c@gmail.com> <3F6B7381-976C-416F-8D28-4C669A9AA003@tilda.center> From: Johannes Lundberg Openpgp: preference=signencrypt Autocrypt: addr=johalun0@gmail.com; keydata= mQINBFxFmoIBEADoFO5jY+Fmsg44KiZjufEmpEf4kt7nCOfxNG9SruWpoXUaq0B296F+fIZC hNZqv1v7lGTsfoWRusxJmLd5CQgHHxEyruZbbPpNsQ/JKoDY3GGmrmWfN/SX3y0t0kdB9HsW mJcvZhK7we52f4gxddIVBS9nQoVoONX+hzXf8zwOAa0ik0EPgEwpIKS4j9lLq4bU+mqVKdRR bPeDujEA/qbsCKhaFJkPzXZtzEe6srq4RK1doEztwnKz02b+8gs642TRkWDQeTRZputrAaoN Un4R76A1QpXWyrFG1dQu48IGHi3KbkrvNyq6R1aUBIA0+CG1npI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On4Qb4iM7h6rcDb76mfwooNYzB3 8PPcLvyOWb/9iCXAb5N7doo5zmOl15DVwvIF04eXU0q1FFj/iS1zNmtZ5Got82O1TQFV+de4 Rb3YA80IZhhhCiHHJqkMKeKQogRqU+UNDBARUBxfUtKsJtQzTQ2JUGwkb6X6bx53FTLP6O9q hDoODVweE1LdB1k1H5Nn+gawPdRMBqj43Y2amK7KEgoTBrwU04CLpKiaAC0S+EcJFfJcwtpK k3F+uTtP/hnhFnWbn8SgRkHKXKWqSCt63NstXhMzAJut1gEzV+CcPNKqa/sFgQaYEvzCS5Kl F/PXj0++f3TIFqT+2ZNNp8Bz8dT7gh8RPPg5oYQiCHH8K1RAmq7gKqmwyg0qgOazHnped+od X4f3qx320JAP6NP9wglDm6eht48NJzb0sffN8z34wrP66oz8oPKtS5CFV0m/384hEg0lmi3W wo2Hno7rA1etTPJX0dI6/GLlQDtNTHvKQ077HQdWVOMQVWC9j7YH7Zr9NjtOvxcNVRX3fxpJ 6CE= X-Tagtoolbar-Keys: D20190507081913637 Message-ID: <0135d85a-396e-faf6-bd40-4cd42a4373d0@gmail.com> Date: Tue, 7 May 2019 08:19:13 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <3F6B7381-976C-416F-8D28-4C669A9AA003@tilda.center> Content-Language: en-US X-Rspamd-Queue-Id: 739CF8D4F3 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IMXEZwis; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johalun0@gmail.com designates 2607:f8b0:4864:20::329 as permitted sender) smtp.mailfrom=johalun0@gmail.com X-Spamd-Result: default: False [-6.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[9.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-3.01)[ip: (-9.51), ipnet: 2607:f8b0::/32(-3.22), asn: 15169(-2.26), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.92)[-0.920,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2019 15:19:19 -0000 Out of curiosity I googled and it seems you might be able to pass-through the entire USB controller using PCI pass-through. Not sure it's so practical=C2=A0 if you end up loosing input capability on the hos= t (and also the guest since it's VNC)... Would be nice though if bhyve had all the required functionality so we'd have a more "native" and open source solution for all VM needs. On 5/7/19 8:03 AM, Goran Meki=C4=87 wrote: > As far as I know bhyve doesn't have USB passthroug which I understand > you're after. It might be false as I didn't check since last year > > On 7 May 2019 16:44:45 CEST, Tomasz CEDRO wrote: > > On Tue, May 7, 2019 at 4:40 PM Johannes Lundberg wrote: > > On 5/7/19 7:26 AM, Tomasz CEDRO wrote: > > On Tue, May 7, 2019 at 4:11 PM Johannes Lundberg > wrote: > > On 5/6/19 12:42 PM, Hans Petter Selasky wrote: > > On 2019-05-06 20:49, Tomasz CEDRO wrote: > > @HPS have you ever considered such operation? > If the FreeBSD's USB can be shared to the > userland, maybe that could be also shared to > the Virtual Machine?=20 > > Hi, The problem is inside VBOX, that the USB APIs > only support USB 1.x and not in FreeBSD from what > I understand last time I checked. --HPS=20 > > Maybe bhyve is an option? I have completely replaced > virtualbox with bhyve for my vms and loving it but I > haven't tested it with usb yet.=20 > > Hmm, thanks Johannes for that hint.. can you run Windoze > (yuck), Linux and other stuff as full hypervisor or does > this work more like separated dedicated FreeBSD Jail?=20 > > I haven't tried Windows but it's supposed to work. I'm running > Ubuntu successfully with graphical desktop in bhyve. It uses > VNC for the graphical interface so it's not the best > experience but it's usable if you don't have too high > requirements. Mostly my VMs are headless. Check > https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.= html > For managing my VMs I like this one > https://github.com/churchers/vm-bhyve=20 > > > Sounds really nice and what I need! More than that we would develop= > true Open-Source solution :-) > > Thank you Johannes !! :-) > > Best regards :-) > Tomek > > > --=20 > Sent from my Android device with K-9 Mail. Please excuse my brevity.=20