From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 25 21:52:41 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 364A2735 for ; Tue, 25 Dec 2012 21:52:41 +0000 (UTC) (envelope-from pz-freebsd-emulation@ziemba.us) Received: from ziemba.us (osmtp.ziemba.us [208.106.105.149]) by mx1.freebsd.org (Postfix) with ESMTP id EDA718FC0C for ; Tue, 25 Dec 2012 21:52:40 +0000 (UTC) Received: from hairball.ziemba.us (localhost.ziemba.us [127.0.0.1]) by hairball.ziemba.us (8.14.5/8.14.5) with ESMTP id qBPLMbEi053683 for ; Tue, 25 Dec 2012 13:22:37 -0800 (PST) (envelope-from pz-freebsd-emulation@ziemba.us) Received: (from mailnull@localhost) by hairball.ziemba.us (8.14.5/8.14.5/Submit) id qBPLMbrR053682 for freebsd-emulation@freebsd.org; Tue, 25 Dec 2012 13:22:37 -0800 (PST) (envelope-from pz-freebsd-emulation@ziemba.us) X-Authentication-Warning: hairball.ziemba.us: mailnull set sender to pz-freebsd-emulation@ziemba.us using -f Received: (from news@localhost) by usenet.ziemba.us (8.14.5/8.14.5/Submit) id qBPLMX8Z058135 for treehouse-mail-freebsd-emulation@hairball.ziemba.us; Tue, 25 Dec 2012 13:22:33 -0800 (PST) (envelope-from news) From: "G. Paul Ziemba" To: freebsd-emulation@freebsd.org Subject: How do I prevent host usb wifi driver from attaching? Date: Tue, 25 Dec 2012 21:22:33 +0000 (UTC) Message-id: Errors-to: "G. Paul Ziemba" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: paul+usenet@w6yx.stanford.edu List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 21:52:41 -0000 I'm running FreeBSD 8.2-STABLE (host) and VirtualBox 4.2.0. I have followed the steps in http://wiki.freebsd.org/VirtualBox to make USB devices available to VirtualBox guests, and that works (e.g., a Win2K guest can use a USB scanner I have attached to the host's USB interface). I'm planning another guest running FreeBSD (probably 9.X) and I'd like to have a USB wifi dongle (probably a run(4) device) that is visible to the guest as a network interface, but that is not visible to the host. I think this can be accomplished by preventing the run(4) driver on the host from seizing the usb device, and then configuring VirtualBox to let that USB device be visible to the guest. I think I can prevent the host's usb driver from loading by editing (or overriding?) the matching entry in /etc/devd/usb.conf which would prevent the run(4) module from loading, but that's kind of a big hammer. Has anyone else solved a similar problem? Is there a finer-grained approach? thanks, ~!paul -- G. Paul Ziemba FreeBSD unix: 1:21PM up 22 days, 18:59, 19 users, load averages: 0.41, 0.37, 0.30