From owner-freebsd-usb@FreeBSD.ORG Wed Dec 26 17:02:53 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 348211D5; Wed, 26 Dec 2012 17:02:53 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id 3C6E28FC0A; Wed, 26 Dec 2012 17:02:52 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward19.mail.yandex.net (Yandex) with ESMTP id 55BF21120EA7; Wed, 26 Dec 2012 21:02:50 +0400 (MSK) Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id 074FD6A02D5; Wed, 26 Dec 2012 21:02:49 +0400 (MSK) Received: from v10-167-115.yandex.net (v10-167-115.yandex.net [84.201.167.115]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 2nkGP0hr-2nkeVUm3; Wed, 26 Dec 2012 21:02:49 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1356541369; bh=7hf+EOzqdlG8q24oDpuLqiMli/VNaF+FsW0WRsSMR6g=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type; b=CUUx1PyPM8uWe/g/Ca9Oc9viHIv1xXG9qNKxYKD/wDOhjGN4H3p+1eX03QYfrmh4I piSVTQ6C7CVIMo4p4IgIb8vAPV0LpoxsZtpNZd568L1UT39SV8SZ3qMg/ShKW3Ryil Fzj27OE97E/smKDbiJP1Ixw02vNpEM5NNRQtDtRU= Message-ID: <50DB2D80.3020304@yandex.ru> Date: Wed, 26 Dec 2012 21:01:52 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: paul+usenet@w6yx.stanford.edu Subject: Re: How do I prevent host usb wifi driver from attaching? References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig723535F8E96578B49E852817" Cc: "G. Paul Ziemba" , hselasky@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2012 17:02:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig723535F8E96578B49E852817 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26.12.2012 01:22, G. Paul Ziemba wrote: > I'm running FreeBSD 8.2-STABLE (host) and VirtualBox 4.2.0. >=20 > 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). >=20 > 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. >=20 > 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. >=20 > 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. >=20 > Has anyone else solved a similar problem? Is there a finer-grained appr= oach?=20 +freebsd-usb@, +hselasky@ Hi, I also find it uncomfortable. In general, automatic kldload of needed kernel module when new device plugged in is useful feature for desktop. But it will be more useful if we could disable it without hacking configs in the /etc/devd/ every time when we updating the system. --=20 WBR, Andrey V. Elsukov --------------enig723535F8E96578B49E852817 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQ2y2FAAoJEAHF6gQQyKF6n0gH/jIpUi+1SgOwQdp8CpgkKW26 9/sfBbZPQNTHk1+NwbjiHtZdMN8Rsfrdhv3bSMSsOYOY65yz90wHlQr8YSqz+skF S/cPI3uLoIwXqrSdlZA+QN9LTGyFOAsVNGXe/HJeWuxRVfolSopTzgv8TgNb9Fv+ sMkDaN383ClFSfrYJ/k7/qtxAzW4ijIQe+8z+xdrbdAvFrgZoRZtQJ5EAuTrqSD9 oFmWCBK3M6oxAr/AYqMV7jurVTM8V3AnfuoXHYshnw28cf2eyWJDprb0tMxxMGnf I/r5YqVzxb6OQFtARTNxWAMWqRv+HfWqYOw9YbTjD4CT+Z9HVGxvjcQQbY/niPM= =ktal -----END PGP SIGNATURE----- --------------enig723535F8E96578B49E852817--