From owner-freebsd-usb@freebsd.org Wed Aug 22 00:42:56 2018 Return-Path: Delivered-To: freebsd-usb@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 B9C4B108513B for ; Wed, 22 Aug 2018 00:42:56 +0000 (UTC) (envelope-from gurenchan@gmail.com) 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 53C00770B6 for ; Wed, 22 Aug 2018 00:42:56 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 18970108513A; Wed, 22 Aug 2018 00:42:56 +0000 (UTC) Delivered-To: usb@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 E90331085139 for ; Wed, 22 Aug 2018 00:42:55 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70B33770B5 for ; Wed, 22 Aug 2018 00:42:55 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id c22-v6so196774iob.1 for ; Tue, 21 Aug 2018 17:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vu3V5ky8uDMrNgHG1UrMFqLZbX3xMv9LNczINN8oZwI=; b=d5o82rNfwfg+DMA4M5odMvZkadjT8p8PgpLiBM11LgjpHaxj5r7HL5SWJmzWwh0R2s 2JsuWkZSZ4/rA+lgGR746aawFjDcWxg2rc32vs9cZz0Orlqn1bjvKgW0vgbBegVRzYA9 NRAimOpXcT1UWo0wDvGqjsPiozqDvo3cyNDP4Jh3xYbDV+LHDlg7uHnVQsPwoh/6yoVS DvuZlxwLeFr1/2ht+dHPw4sjRlHzJXKOPmCxd73SFPRccAnn49jYmC6kKs0QoqnEwkON hIbFV3gjaiZbHNR6Jq9s06EQANFs1T5geofIvImgiNARYwJsMWZYs/Qd61gmbYk0BokH mKKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vu3V5ky8uDMrNgHG1UrMFqLZbX3xMv9LNczINN8oZwI=; b=XI1Dveoun+qPCpNhujYYE4wnmu09pDNh91ici5saxUMUykvq5GK2IrJ0kGS/TG1XAf KQx8Ek2W3xcJ++mXhCjUyA0ttevgFCv2WMdke0KZwXZ54deAuzfpIbQOOyZSz1AoFe6P 8taCsKZppHhYGiS2VBD0K5p8LqJaG8zpEGLwoB/aCHrYPc/ahagW7pDmEEcg89XlCEyS /ULrMkebT1ZovuXM1alWdNTL+69v/FLgH9U2fiNFsRijLzKGVp/IFNTBah0gKRIx77hS CaJt4H3mgx6ikpLlMIqMygkkxIf4+dB687bOySHehsN3OjU4X/MNBsgXi17T3THVxY9/ 595A== X-Gm-Message-State: AOUpUlHMTOX5Jkq67VTeroTdIzs3w8VxsiJIZQkXVhn0uhkuofr1vf9V GopdZM4f46FleD7ooazp0cBNeCc8fZrXeglM1z4= X-Google-Smtp-Source: AA+uWPxyXvYYkJLoyETWsB3vj+otB2DdU+//1od4egN9jcrlZ4xPNhw1p9MrQyJ/09RutyhQPcshzq06tzRV/oGfS4E= X-Received: by 2002:a6b:b546:: with SMTP id e67-v6mr21907884iof.179.1534898574876; Tue, 21 Aug 2018 17:42:54 -0700 (PDT) MIME-Version: 1.0 References: <1634-1534897546-921625@sneakemail.com> In-Reply-To: <1634-1534897546-921625@sneakemail.com> From: blubee blubeeme Date: Wed, 22 Aug 2018 08:42:43 +0800 Message-ID: Subject: Re: access usb device from bhyve vm To: jh-fbml@snkmail.com Cc: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 00:42:57 -0000 On Wed, Aug 22, 2018 at 8:26 AM John Hein wrote: > Does anyone have thought about what it would take to support access to > individual usb devices "natively" from a bhyve vm? > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > I had this idea maybe a year or two years ago, there was also another guy [he worked on the fbuffer for bhyve] who wanted to get it done but they were waiting on the main guy behind the USB stack on freebsd: hselasky He was too busy to actually do any work so the project stalled. My use case for having direct access to usb devices in a bhyve vm could allow rapid development of USB drivers for FreeBSD by sniffing the packets being sent over USB to the bhyve guest and reverse engineer drivers so that we can write native drivers for common devices that aren't supported on FreeBSD yet. I had to put that on the back burner for a bit since there's a lot more pressing FreeBSD issues that I am working on. What's your use case? Best, Owen