From owner-freebsd-usb@FreeBSD.ORG Sat Mar 3 12:48:12 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 B2F8A106564A; Sat, 3 Mar 2012 12:48:12 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id D17548FC17; Sat, 3 Mar 2012 12:48:11 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so1448630wib.13 for ; Sat, 03 Mar 2012 04:48:11 -0800 (PST) Received-SPF: pass (google.com: domain of rmh.aybabtu@gmail.com designates 10.180.99.100 as permitted sender) client-ip=10.180.99.100; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rmh.aybabtu@gmail.com designates 10.180.99.100 as permitted sender) smtp.mail=rmh.aybabtu@gmail.com; dkim=pass header.i=rmh.aybabtu@gmail.com Received: from mr.google.com ([10.180.99.100]) by 10.180.99.100 with SMTP id ep4mr3839297wib.7.1330778891004 (num_hops = 1); Sat, 03 Mar 2012 04:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=hah0jQlc7/2D5VHQmuISp5eIqbGpXACkxnud/Wcy1u4=; b=F4Z6R2hIvCENnlUaKswTirjNOyUXjJmITpooBMt3xUNAJUdtaExLkpOYfTsee0a08E ZxoWD7E/hS75fmiESEe7p4Z5mNQFo2a8w+AiYXMRLjx2L/IDlOLIYHA+5UZV487scE4y MgekF9x4ED15Z8Xm54la/KXC9zFIidfOS6JvEy6k+/8bf73Ll+c/LbJ8iKhhLfdS2w51 p+qTXtqhOo08UNBZ5OndBL6hATIeloc4R87rGUqlFwMVHc++PSBXRhsAO0Qx1aQJWe8p u1Z7E3s53JsxZUz2D6xH723xRT431V5Y5fIQGl2kaRrod38tXRQicWvd/QZ/RhDaNsdN zO+A== Received: by 10.180.99.100 with SMTP id ep4mr3026961wib.7.1330778890878; Sat, 03 Mar 2012 04:48:10 -0800 (PST) Received: from thorin (7.Red-81-38-33.dynamicIP.rima-tde.net. [81.38.33.7]) by mx.google.com with ESMTPS id gp8sm9306580wib.5.2012.03.03.04.48.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 04:48:09 -0800 (PST) Sender: Robert Millan Received: from rmh by thorin with local (Exim 4.72) (envelope-from ) id 1S3oNZ-0001IX-WC; Sat, 03 Mar 2012 13:48:06 +0100 Date: Sat, 3 Mar 2012 13:48:05 +0100 From: Robert Millan To: Hans Petter Selasky Message-ID: <20120303124805.GA4725@thorin> References: <201202181720.27135.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZfOjI3PrQbgiZnxM" Content-Disposition: inline In-Reply-To: <201202181720.27135.hselasky@c2i.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Kostik Belousov , Adrian Chadd , freebsd-usb@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Exclude USB drivers from main kernel image? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 12:48:12 -0000 --ZfOjI3PrQbgiZnxM Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 18, 2012 at 05:20:27PM +0100, Hans Petter Selasky wrote: > The /etc/devd/usb.conf is regularly updated, though not automatically. It= =20 > should auto-load most kind of devices. Only additional case that comes to= mind=20 > is that USB serial console will not be active until devd has executed, if= that=20 > is enabled. If early USB serial output is desired, it can be enabled by enabling the module in bootloader. Is that an acceptable trade-off? > Your patch looks OK. Adding ARCH @ >=20 > Instead of commenting out, I would just remove those lines. Here's a new patch that removes the lines instead of commenting them out. Consistently with that, it also removes a few lines which were already commented out, using the same criteria. Also, it disables a few more USB drivers. Due to an oversight my previous patch didn't disable all drivers that devd can handle. Patch is tested with "make universe" on HEAD. --=20 Robert Millan --EeQfGwPcQSOJBaQU-- --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/kFreeBSD) iQIcBAEBCAAGBQJPUhMEAAoJELd1onhloKnORW0P/RLDg4ie4j4H0zdSTVSp2VdZ 0rKiqr4Umme0zP4weE7who3d+TN96VSpb0PVLHapr/7/24PspdBZL5fpKRe6ewe1 036TXs5E6LzxBJEUDDoY6Jh1hQaDwvftLi1LTSXF4FIluzs01ySXeoFx7eDHKtyg zpevczl5D5Bi97lpBdLQWHgKk0S+0afcw4CA1CfFGSuTkslioMw+HSwC1pp8fGKY vzINI8PWGjEN5z8oGjT+6RktTot8TpRVb2Yhe8V0T5N4AJHMTg0kKEya+wWNiLd/ f8Ur4r8mQPCXma4Etb0NNpMXzCWXaHmI6V9HT60TCuF+PN8pyYakaesJI1k5hYW0 tJf9h32QAtfl2CTtMRJ4/ZfSFBOtJCVpMd3okwm0b4nKLmNsmZ8KpvowtN+7lfQe +DxPQalBBwSEAbbAF1aSdvLQ7GfnUTxlWCZZgDVlVnOBUXmb2ar04BiW+8ZiXHui 7TcbaQK9wC293U6hePhCUlkW+OzgtKVz39J+DCH3DBQSqGyG9I6NIAiwG9xIunwV 941M521a/8SLZvK1+d4vKxwsb9j14z8Vpd3XyYPDg/8fCsGISiPqRGeMqVUu47VC N4eMO2Qanv1rYE5l0ChC/kcnB/rRbitM/+CG2d9+XA0M3gIf8zRCGdIwPpuvBvuk FHJ8GL02AfLYso/rsX9F =Ek1B -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM--